You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ss...@apache.org on 2013/03/07 17:01:59 UTC

svn commit: r1453933 - /incubator/marmotta/site/trunk/content/markdown/ldclient/modules.md.vm

Author: sschaffert
Date: Thu Mar  7 16:01:59 2013
New Revision: 1453933

URL: http://svn.apache.org/r1453933
Log:
added backend documentation for ldclient-provider-facebook

Modified:
    incubator/marmotta/site/trunk/content/markdown/ldclient/modules.md.vm

Modified: incubator/marmotta/site/trunk/content/markdown/ldclient/modules.md.vm
URL: http://svn.apache.org/viewvc/incubator/marmotta/site/trunk/content/markdown/ldclient/modules.md.vm?rev=1453933&r1=1453932&r2=1453933&view=diff
==============================================================================
--- incubator/marmotta/site/trunk/content/markdown/ldclient/modules.md.vm (original)
+++ incubator/marmotta/site/trunk/content/markdown/ldclient/modules.md.vm Thu Mar  7 16:01:59 2013
@@ -197,6 +197,29 @@ The MediaWiki provider creates triples f
 * `sioc:links_to` is references to all resource URIs of wiki pages the page links to
 
 
+Facebook Module
+---------------
+
+The facebook module wraps the Facebook Graph API as RDF triples using the Schema.org and DC-Terms vocabularies. The
+module registers an endpoint that handles all URIs starting with `http://graph.facebook.com` and `http://www.facebook.com`.
+To use it in your project build, add the following dependency:
+
+    <dependency>
+        <groupId>org.apache.marmotta</groupId>
+        <artifactId>ldclient-provider-facebook</artifactId>
+        <version>${projectVersion}</version>
+    </dependency>
+
+The facebook module tries hard to map Facebook categories to Schema.org types. Unfortunately, this is not always
+possible, because the categories used by Facebook are not completely documented. Facebook objects have at least the
+following properties:
+* `rdf:type` is a schema.org category according to the category project of the facebook object
+* `dcterms:id` is the internal facebook ID of the object
+* `schema:name` is the facebook name of the object
+* `schema:description` is the facebook description or about property of the object
+* `foaf:homepage` is the facebook website and link property of the object
+
+
 PHPBB Module (Experimental)
 ---------------------------