The spec does not mention that valid policies must be consistent with the ODRL Ontology. Should it? This is illustrated by observing http://odrlapi.appspot.com/samples/sample003, reproduced here for convenience:
<http://odrlapi.appspot.com/samples/sample003>
a odrl:Offer, odrl:Agreement;
dct:source "victor" ;
odrl:permission [
a odrl:Permission ;
odrl:assigner <http://example.com/user:711> ;
odrl:assignee <http://example.com/user:314> ;
odrl:target <http://example.com/asset:9898> ;
odrl:action odrl:reproduce
] .
Given that the ontology has declared some owl:disjointWith
axioms, the joint model policy+ODRLontology is inconsistent.
I have just implemented this validation in the ODRL Validator
However, the validation takes some 4-5 seconds extra and I will probably remove this validation in future versions. You can test it for the moment --but be patient, validations take long now.
This is the current error message:
OWL Inconsistent. - Error ("conflict"): "Individual a member of disjoint classes"
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3