summaryrefslogtreecommitdiffstats
path: root/tests/turtle/test-09.ttl
blob: 0afe1b0ae3bbf541708e595bf469cc88bd8bf952 (plain)
1
2
3
4
5
6
7
8
9
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 .