File: test-09.ttl

package info (click to toggle)
swi-prolog 5.10.4-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 76,596 kB
  • sloc: ansic: 289,765; perl: 215,094; sh: 5,473; java: 5,252; makefile: 4,526; cpp: 1,517; yacc: 843; xml: 77; sed: 12
file content (10 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (85)
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 .