Fixed reasoning, added conflict (not working)
This commit is contained in:
parent
d1c60e2cc3
commit
f48d219e6f
|
@ -14,6 +14,8 @@
|
|||
:Wii :madeBy :Nintendo .
|
||||
:Wii :predecessorOfConsole :Wii_u .
|
||||
|
||||
:Sony a foaf:Organization.
|
||||
|
||||
:Nintendo a foaf:Organization ;
|
||||
:ceo :Kimishima ;
|
||||
:foundingYear 1889 ;
|
||||
|
@ -33,7 +35,9 @@
|
|||
rev:hasReview :SwitchReviewByJPT;
|
||||
:hasPrice 329 .
|
||||
|
||||
:Playstation4 a :GameConsole .
|
||||
# Should create an conflict
|
||||
:Playstation4 a :NintendoConsole;
|
||||
:madeBy :Sony.
|
||||
|
||||
:JPT rdf:type foaf:Person ;
|
||||
foaf:name "Jan Philipp Timme"^^xsd:string .
|
||||
|
|
|
@ -53,7 +53,7 @@ public class App {
|
|||
|
||||
validate(infModel);
|
||||
reasoner = new GenericRuleReasoner(Rule.rulesFromURL("data/jenarules.txt"));
|
||||
infModel = ModelFactory.createInfModel(reasoner, aboxModel);
|
||||
infModel = ModelFactory.createInfModel(reasoner, infModel);
|
||||
|
||||
validate(infModel);
|
||||
|
||||
|
|
Loading…
Reference in New Issue