File: trig-subm-10.trig

package info (click to toggle)
librdf-trine-perl 1.019-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,200 kB
  • sloc: perl: 17,601; sql: 20; makefile: 10; sh: 4
file content (20 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (24)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 .
}