You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by fc...@apache.org on 2012/01/13 15:11:43 UTC

svn commit: r1231083 - /incubator/stanbol/site/trunk/content/stanbol/docs/trunk/factstore/specification.mdtext

Author: fchrist
Date: Fri Jan 13 14:11:43 2012
New Revision: 1231083

URL: http://svn.apache.org/viewvc?rev=1231083&view=rev
Log:
STANBOL-456 Started to move FactStore specification from IKS Wiki

Modified:
    incubator/stanbol/site/trunk/content/stanbol/docs/trunk/factstore/specification.mdtext

Modified: incubator/stanbol/site/trunk/content/stanbol/docs/trunk/factstore/specification.mdtext
URL: http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/content/stanbol/docs/trunk/factstore/specification.mdtext?rev=1231083&r1=1231082&r2=1231083&view=diff
==============================================================================
--- incubator/stanbol/site/trunk/content/stanbol/docs/trunk/factstore/specification.mdtext (original)
+++ incubator/stanbol/site/trunk/content/stanbol/docs/trunk/factstore/specification.mdtext Fri Jan 13 14:11:43 2012
@@ -178,20 +178,20 @@ _Note_: For the moment constraints only 
 
 Example 1: POST /factstore/query with the following data
 
-  {
-    "@context" : {
-      "iks" : "http://iks-project.eu/ont/"
-    },
-    "select" : [ "person" ],
-    "from"   : "iks:employeeOf",
-    "where"  : [
-      {
-        "="  : {
-          "organization" : { "@iri" : "http://uni-paderborn.de" }
+    {
+      "@context" : {
+        "iks" : "http://iks-project.eu/ont/"
+      },
+      "select" : [ "person" ],
+      "from"   : "iks:employeeOf",
+      "where"  : [
+        {
+          "="  : {
+            "organization" : { "@iri" : "http://uni-paderborn.de" }
+          }
         }
-      }
-    ]
-  }
+      ]
+    }
 
 returns the list of all persons participating in the fact of type http://iks-project.eu/ont/employeeOf where the organization is http://uni-paderborn.de. The result is sent back in JSON-LD format with the result set specified by the select clause.