diff options
Diffstat (limited to 'test/w3c/trig/trig-subm-10.trig')
-rw-r--r-- | test/w3c/trig/trig-subm-10.trig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/w3c/trig/trig-subm-10.trig b/test/w3c/trig/trig-subm-10.trig new file mode 100644 index 00000000..23bd02de --- /dev/null +++ b/test/w3c/trig/trig-subm-10.trig @@ -0,0 +1,20 @@ +# Test integer datatyped literals using an OWL cardinality constraint +@prefix owl: <http://www.w3.org/2002/07/owl#> . + +# based on examples in the OWL Reference + +{ +_:hasParent a owl:ObjectProperty . + +[] a owl:Restriction ; + owl:onProperty _:hasParent ; + owl:maxCardinality 2 . +} + +<http://example/graph> { +_:hasParent a owl:ObjectProperty . + +[] a owl:Restriction ; + owl:onProperty _:hasParent ; + owl:maxCardinality 2 . +} |