Difference between revisions of "Vulcan/JenaSnippets"

From Knowitall
Jump to: navigation, search
(Jena Rules format =)
(Jena Rules format =)
Line 1: Line 1:
 
== Jena Rules format ===
 
== Jena Rules format ===
> @prefix in:  <http://examples.org/ironnail#> .
+
@prefix in:  <http://examples.org/ironnail#> .
 +
<blockquote>
 +
[rule3: (?x in:conductorOf ?z) <- (?x in:conducts ?y)]
  
> [rule3: (?x in:conductorOf ?z) <- (?x in:conducts ?y)]
+
[rule1: (?a in:conductorOf in:electricity) <- (?a rdf:type in:Metal)]
  
> [rule1: (?a in:conductorOf in:electricity) <- (?a rdf:type in:Metal)]
+
[rule2: (?x in:conductorOf ?z) <- (?x in:composedOf ?y), (?y in:conductorOf ?z)]
  
> [rule2: (?x in:conductorOf ?z) <- (?x in:composedOf ?y), (?y in:conductorOf ?z)]
+
</blockquote>

Revision as of 22:43, 7 August 2013

Jena Rules format =

@prefix in: <http://examples.org/ironnail#> .

[rule3: (?x in:conductorOf ?z) <- (?x in:conducts ?y)]

[rule1: (?a in:conductorOf in:electricity) <- (?a rdf:type in:Metal)]

[rule2: (?x in:conductorOf ?z) <- (?x in:composedOf ?y), (?y in:conductorOf ?z)]