
|
|
CONSTRUCT { http://www.fadyart.com/parties#_:b0 a spin:Constraint violation http://www.fadyart.com/parties#. http://www.fadyart.com/parties#_:b0 rdfs:label ?label http://www.fadyart.com/parties#. http://www.fadyart.com/parties#_:b0 spin:violation root ?this http://www.fadyart.com/parties#. http://www.fadyart.com/parties#_:b0 spin:violation path ?property http://www.fadyart.com/parties#. } WHERE { FILTER isURI(?this) http://www.fadyart.com/parties#. ?this a ?type http://www.fadyart.com/parties#. ?type rdfs:subClassOf* ?restriction http://www.fadyart.com/parties#. ?restriction owl:allValuesFrom ?range http://www.fadyart.com/parties#. ?restriction owl:onProperty ?property http://www.fadyart.com/parties#. ?restriction a owl:Restriction http://www.fadyart.com/parties#. ?p rdfs:subPropertyOf* ?property http://www.fadyart.com/parties#. ?this ?p ?value http://www.fadyart.com/parties#. FILTER isURI(?value) http://www.fadyart.com/parties#. FILTER (!spl:instanceOf(?value, ?range)) http://www.fadyart.com/parties#. LET (?label http://www.fadyart.com/parties#= smf:buildString("All values from {?property} must be {?range} violated by {?value}")) http://www.fadyart.com/parties#. } |
|
| AllValuesFrom constraint |
|
| Checks for any owl:allValuesFrom restrictions and makes sure that all values of that property (or its sub-properties) at ?this have matching range. |
|
| All values from constraint |
Generated with TopBraid Composer by TopQuadrant, Inc.