Author: buildbot
Date: Fri Jan 20 15:42:20 2012
New Revision: 802965
Log:
Staging update by buildbot for stanbol
Modified:
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/rules/refactor.html
Modified:
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/rules/refactor.html
==============================================================================
---
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/rules/refactor.html
(original)
+++
websites/staging/stanbol/trunk/content/stanbol/docs/trunk/rules/refactor.html
Fri Jan 20 15:42:20 2012
@@ -100,13 +100,16 @@ translated into the construct template,
</pre></div>
-<p>The rule above is transformed into the following SPARQL CONSTRUCT query:
- PREFIX kn: <a href="http://foo.org/kinship#">http://foo.org/kinship#</a>
- CONSTRUCT { ?x kn:uncle ?z }
- WHERE {
- ?x kn:parent ?y .
- ?y kn:sibling ?z
- }</p>
+<p>The rule above is transformed into the following SPARQL CONSTRUCT query:</p>
+<div class="codehilite"><pre><span class="n">PREFIX</span> <span
class="n">kn:</span> <span class="sr"><http://foo.org/kinship#></span>
+<span class="n">CONSTRUCT</span> <span class="p">{</span> <span
class="p">?</span><span class="n">x</span> <span class="n">kn:uncle</span>
<span class="p">?</span><span class="n">z</span> <span class="p">}</span>
+<span class="n">WHERE</span> <span class="p">{</span>
+ <span class="p">?</span><span class="n">x</span> <span
class="n">kn:parent</span> <span class="p">?</span><span class="n">y</span>
<span class="o">.</span>
+ <span class="p">?</span><span class="n">y</span> <span
class="n">kn:sibling</span> <span class="p">?</span><span class="n">z</span>
+<span class="p">}</span>
+</pre></div>
+
+
<p>The SPARQL engines used internally by the Refactor for running rules is <a
href="http://incubator.apache.org/jena/documentation/query/">Apache Jena
ARQ</a></p>
<p>We remand any detail about the syntax and the expressivity of the Stanbole
Rule language to its <a href="./language.html">section</a>.<br />
</p>