diff options
author | David Robillard <d@drobilla.net> | 2017-01-06 14:48:03 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-01-06 21:39:01 -0500 |
commit | 5475750ecf496c774a082464b3e60f5adce9cc8a (patch) | |
tree | 57e844edc09637096d1b5ea16dcc5ebb69f88345 /tests/TrigTests/trig-subm-10.trig | |
parent | 52590dbeb23100320417d6f72e20fadf215479e5 (diff) | |
download | serd-5475750ecf496c774a082464b3e60f5adce9cc8a.tar.gz serd-5475750ecf496c774a082464b3e60f5adce9cc8a.tar.bz2 serd-5475750ecf496c774a082464b3e60f5adce9cc8a.zip |
Add support for reading TriG
Diffstat (limited to 'tests/TrigTests/trig-subm-10.trig')
-rw-r--r-- | tests/TrigTests/trig-subm-10.trig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/TrigTests/trig-subm-10.trig b/tests/TrigTests/trig-subm-10.trig new file mode 100644 index 00000000..23bd02de --- /dev/null +++ b/tests/TrigTests/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 . +} |