Title: Stanbol Rule Language
## Example
The following is a rule, called uncleRule
, for inferring the relation hasUncle
between individuals x
and y
if z
is a parent of x
and z
is brother of y
.
In __Stanbol Rule__ syntax it is:
uncleRule[has(, ?x, ?z) .
has(, ?z, ?y)
->
has(, ?x, ?y)
]
The rule above becomes the following __SWRL__ rule:
or the following __SPARQL CONSTRUCT__ statement:
PREFIX myont:
CONSTRUCT { ?x myont:hasUncle ?y }
WHERE { ?x myont:hasParent ?z .
?z myont:hasSibling ?y}
____
_[Back to Rules](../rules.html)_