File: timbl_shapes.ttl

package info (click to toggle)
rudof 0.1.146%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,048 kB
  • sloc: python: 1,288; makefile: 32; sh: 1
file content (22 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
prefix :       <http://example.org/> 
prefix sh:     <http://www.w3.org/ns/shacl#> 
prefix xsd:    <http://www.w3.org/2001/XMLSchema#>
prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#>
prefix schema: <http://schema.org/>

:Researcher a sh:NodeShape ; 
 sh:targetClass :Human ;
 sh:property [ sh:path rdfs:label ; 
               sh:datatype xsd:string; 
               sh:minCount 1 ; sh:maxCount 1 ] ;
 sh:property [ sh:path :birthDate ; sh:datatype xsd:date;
                                    sh:maxCount 1 ] ;
 sh:property [ sh:path :birthPlace ; 
               sh:node :Place; sh:maxCount 1 ] ;
 sh:property [ 
    sh:path :employer ; 
    sh:node :Organization 
] .

:Place a sh:NodeShape .
:Organization a sh:NodeShape .