-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema_perso.ttl
More file actions
151 lines (116 loc) · 3.48 KB
/
Copy pathschema_perso.ttl
File metadata and controls
151 lines (116 loc) · 3.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX film: <http://projet.fr/films_schema/>
PREFIX : <http://projet.fr/perso_schema/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX schema: <http://schema.org/>
:PersonShape
a sh:NodeShape ;
sh:ignoredProperties ( rdf:type ) ;
sh:property [ sh:path :name ;
sh:maxCount 1 ] ;
sh:targetClass schema:Person .
:HeroShape a sh:NodeShape;
sh:targetClass :Hero :Villain;
sh:property [sh:path :secretIdentity;
sh:minCount 1;
sh:maxCount 1];
:Race
a owl:Class ;
rdfs:label "race" .
:race
a owl:ObjectProperty ;
rdfs:label "race" ;
rdfs:domain schema:Person ;
rdfs:range :Race .
:Fictional
a owl:Class ;
rdfs:label "fictionnal" .
:Real
a owl:Class ;
rdfs:label "real" .
:Actor
a owl:Class ;
rdfs:label "an actor" ;
rdfs:subClassOf schema:Person, :Real .
:Appearance
a owl:Class ;
rdfs:label "Physic appearance" .
:hasAppearance
a owl:ObjectProperty ;
rdfs:label "Appearance" ;
rdfs:domain schema:Person ;
rdfs:range :Appearance .
:Character
a owl:Class ;
owl:disjointUnionOf ( :Villain :Hero :Neutral ) ;
rdfs:label "a character" ;
owl:intersectionOf ( schema:Person :Fictional ) .
:secretIdentity
a owl:ObjectProperty ;
owl:inverseOf :heroIdentity ;
rdfs:label "Secret identity" ;
rdfs:range :Character .
:alter
a owl:DatatypeProperty ;
rdfs:label "Alter-egos" .
:placeOfBirth
a owl:DatatypeProperty ;
rdfs:label "Place of birth" .
:heroIdentity
a owl:ObjectProperty ;
owl:inverseOf :secretIdentity ;
rdfs:label "Hero/Villain identity" ;
rdfs:range :Character .
:Color
a owl:Class ;
rdfs:label "color" .
:eyes
a owl:ObjectProperty ;
rdfs:label "Color eyes" ;
rdfs:range :Color .
:hair
a owl:ObjectProperty ;
rdfs:label "Color hair" ;
rdfs:range :Color .
:Villain
a owl:Class ;
rdfs:label "Villain" .
:Neutral
a owl:Class ;
rdfs:label "Neutral" .
:Hero
a owl:Class ;
rdfs:label "Hero" .
:heightF
a owl:DatatypeProperty ;
rdfs:label "height in feet" ;
owl:equivalentProperty schema:height .
:heightCm
a owl:DatatypeProperty ;
rdfs:label "height in cm" ;
owl:equivalentProperty schema:height .
:weightKg
a owl:DatatypeProperty ;
rdfs:label "weight in kg " ;
owl:equivalentProperty schema:weight .
:weightLb
a owl:DatatypeProperty ;
rdfs:label "weight in lb " ;
owl:equivalentProperty schema:weight .
:base
a owl:DatatypeProperty ;
rdfs:label "Base" .
:affiliation
a owl:DatatypeProperty ;
rdfs:label "group-affiliation" .
:hasOccupation
a owl:ObjectProperty ;
rdfs:label "Occupations" ;
rdfs:range :Occupation .
:Occupation
a owl:Class ;
rdfs:label "an occupation" .