Author: buildbot
Date: Fri Jan 13 14:11:49 2012
New Revision: 802554

Log:
Staging update by buildbot for stanbol

Modified:
    
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/factstore/specification.html

Modified: 
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/factstore/specification.html
==============================================================================
--- 
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/factstore/specification.html
 (original)
+++ 
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/factstore/specification.html
 Fri Jan 13 14:11:49 2012
@@ -197,20 +197,23 @@
 <p>Data: The query is specified by a JSON-LD object in the payload of the 
request. The query defines a "select" to specify the desired type of result to 
be returned in the result set. The "from" part specifies the fact type to query 
and the "where" clause specifies constraints to be fulfilled.</p>
 <p><em>Note</em>: For the moment constraints only support the equals "=" 
relation. There may be more relations like "&gt;" in future versions of this 
specification. If there is more than one constraint all constraints are 
concatenated by "AND".</p>
 <p>Example 1: POST /factstore/query with the following data</p>
-<p>{
-    "@context" : {
-      "iks" : "http://iks-project.eu/ont/";
-    },
-    "select" : [ "person" ],
-    "from"   : "iks:employeeOf",
-    "where"  : [
-      {
-        "="  : {
-          "organization" : { "@iri" : "http://uni-paderborn.de"; }
-        }
-      }
-    ]
-  }</p>
+<div class="codehilite"><pre><span class="p">{</span>
+  <span class="s">&quot;@context&quot;</span> <span class="p">:</span> <span 
class="p">{</span>
+    <span class="s">&quot;iks&quot;</span> <span class="p">:</span> <span 
class="s">&quot;http://iks-project.eu/ont/&quot;</span>
+  <span class="p">},</span>
+  <span class="s">&quot;select&quot;</span> <span class="p">:</span> <span 
class="p">[</span> <span class="s">&quot;person&quot;</span> <span 
class="p">],</span>
+  <span class="s">&quot;from&quot;</span>   <span class="p">:</span> <span 
class="s">&quot;iks:employeeOf&quot;</span><span class="p">,</span>
+  <span class="s">&quot;where&quot;</span>  <span class="p">:</span> <span 
class="p">[</span>
+    <span class="p">{</span>
+      <span class="s">&quot;=&quot;</span>  <span class="p">:</span> <span 
class="p">{</span>
+        <span class="s">&quot;organization&quot;</span> <span 
class="p">:</span> <span class="p">{</span> <span 
class="s">&quot;@iri&quot;</span> <span class="p">:</span> <span 
class="s">&quot;http://uni-paderborn.de&quot;</span> <span class="p">}</span>
+      <span class="p">}</span>
+    <span class="p">}</span>
+  <span class="p">]</span>
+<span class="p">}</span>
+</pre></div>
+
+
 <p>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.</p>
 <div class="codehilite"><pre><span class="p">{</span>
   <span class="s">&quot;@subject&quot;</span> <span class="p">:</span> <span 
class="p">[</span>


Reply via email to