Created
December 30, 2013 16:32
-
-
Save AlBaker/8184354 to your computer and use it in GitHub Desktop.
Example of Stardog Rules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX swrlb: <http://www.w3.org/2003/11/swrlb#> | |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
IF { | |
?x a :Person; hasAge ?age. | |
FILTER (?age >= 13 && ?age <= 19) | |
} | |
THEN { | |
?x a :Teenager. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment