File: turtle-subm-10.ttl

package info (click to toggle)
librdf-trine-perl 1.011-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,160 kB
  • ctags: 1,053
  • sloc: perl: 17,247; makefile: 35; sql: 20
file content (10 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (90)
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 .