aboutsummaryrefslogtreecommitdiffstats
path: root/tests/TrigTests/trig-subm-10.trig
diff options
context:
space:
mode:
Diffstat (limited to 'tests/TrigTests/trig-subm-10.trig')
-rw-r--r--tests/TrigTests/trig-subm-10.trig20
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 .
+}