File: test-09.ttl

package info (click to toggle)
sord 0.16.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,792 kB
  • sloc: ansic: 3,038; cpp: 586; xml: 176; makefile: 5
file content (10 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (91)
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 .