summaryrefslogtreecommitdiffstats
path: root/tests/test-09.ttl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-09.ttl')
-rw-r--r--tests/test-09.ttl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test-09.ttl b/tests/test-09.ttl
new file mode 100644
index 0000000..0afe1b0
--- /dev/null
+++ b/tests/test-09.ttl
@@ -0,0 +1,10 @@
+# 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 .