t/data/trig-2013/trig-subm-10.trig
raw| 1 | # Test integer datatyped literals using an OWL cardinality constraint |
| 2 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 3 | |
| 4 | # based on examples in the OWL Reference |
| 5 | |
| 6 | { |
| 7 | _:hasParent a owl:ObjectProperty . |
| 8 | |
| 9 | [] a owl:Restriction ; |
| 10 | owl:onProperty _:hasParent ; |
| 11 | owl:maxCardinality 2 . |
| 12 | } |
| 13 | |
| 14 | <http://example/graph> { |
| 15 | _:hasParent a owl:ObjectProperty . |
| 16 | |
| 17 | [] a owl:Restriction ; |
| 18 | owl:onProperty _:hasParent ; |
| 19 | owl:maxCardinality 2 . |
| 20 | } |