Fixed reasoning, added conflict (not working)

This commit is contained in:
Maschell committed 2018-01-02 14:46:03 +01:00
1 parent d1c60e2cc3
commit f48d219e6f
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -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 .
+1 -1
View File
@@ -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);