forked from mkroetzsch/wda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wikidata-ontology.owl
149 lines (119 loc) · 5.68 KB
/
wikidata-ontology.owl
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF [
<!ENTITY xsd "http:https://www.w3.org/2001/XMLSchema#">
<!ENTITY rdf "http:https://www.w3.org/1999/02/22-rdf-syntax-ns#">
<!ENTITY rdfs "http:https://www.w3.org/2000/01/rdf-schema#">
<!ENTITY owl "http:https://www.w3.org/2002/07/owl#">
<!ENTITY wikibase "http:https://www.wikidata.org/ontology#">
]>
<rdf:RDF
xmlns:xsd="&xsd;"
xmlns:rdf="&rdf;"
xmlns:rdfs="&rdfs;"
xmlns:owl="&owl;"
xmlns:wb="&wikibase;"
>
<owl:Ontology rdf:about="&wikibase;">
<rdfs:label>Wikibase system ontology</rdfs:label>
<rdfs:comment>The system ontology of Wikibase, used to export user-created content.</rdfs:comment>
</owl:Ontology>
<!-- Basic classes -->
<owl:Class rdf:about="&wikibase;Entity">
<rdfs:label>item</rdfs:label>
<rdfs:comment>The class of Wikibase entities.</rdfs:comment>
</owl:Class>
<owl:Class rdf:about="&wikibase;Item">
<rdfs:label>item</rdfs:label>
<rdfs:comment>The class of Wikibase items.</rdfs:comment>
<rdfs:subClassOf rdf:about="&wikibase;Entity"/>
</owl:Class>
<owl:Class rdf:about="&wikibase;Property">
<rdfs:label>item</rdfs:label>
<rdfs:comment>The class of Wikibase properties.</rdfs:comment>
<rdfs:subClassOf rdf:about="&wikibase;Entity"/>
<!-- Note that Wikibase properties in this sense are treated as OWL individuals (punning). Hence this is not a subclass of rdfs:Property! -->
</owl:Class>
<owl:Class rdf:about="&wikibase;Statement">
<rdfs:label>statement</rdfs:label>
<rdfs:comment>The class of (reified) statements.</rdfs:comment>
</owl:Class>
<owl:Class rdf:about="&wikibase;Reference">
<rdfs:label>reference</rdfs:label>
<rdfs:comment>The class of (reified) references.</rdfs:comment>
</owl:Class>
<!-- Specifying information about Wikibase properties -->
<owl:Class rdf:about="&wikibase;Datatype">
<rdfs:label>datatype</rdfs:label>
<rdfs:comment>The class of Wikibase datatypes.</rdfs:comment>
</owl:Class>
<owl:ObjectProperty rdf:about="&wikibase;propertyType">
<rdfs:label>property type</rdfs:label>
<rdfs:comment>This property specifies the Wikibase Datatype of a Wikibase Property.</rdfs:comment>
</owl:ObjectProperty>
<wb:Datatype rdf:about="&wikibase;propertyTypeItem">
<rdfs:label>item</rdfs:label>
<rdfs:comment>The "item" datatype of Wikibase properties.</rdfs:comment>
</wb:Datatype>
<wb:Datatype rdf:about="&wikibase;propertyTypeString">
<rdfs:label>string</rdfs:label>
<rdfs:comment>The "string" datatype of Wikibase properties.</rdfs:comment>
</wb:Datatype>
<wb:Datatype rdf:about="&wikibase;propertyTypeCommonsMedia">
<rdfs:label>Commons media file</rdfs:label>
<rdfs:comment>The "Commons media file" datatype of Wikibase properties.</rdfs:comment>
</wb:Datatype>
<wb:Datatype rdf:about="&wikibase;propertyTypeTime">
<rdfs:label>time</rdfs:label>
<rdfs:comment>The "time" datatype of Wikibase properties.</rdfs:comment>
</wb:Datatype>
<wb:Datatype rdf:about="&wikibase;propertyTypeGlobeCoordinates">
<rdfs:label>geographic coordinates</rdfs:label>
<rdfs:comment>The "geographic coordinates" datatype of Wikibase properties.</rdfs:comment>
</wb:Datatype>
<wb:Datatype rdf:about="&wikibase;propertyTypeUrl">
<rdfs:label>URL</rdfs:label>
<rdfs:comment>The "URL" datatype of Wikibase properties.</rdfs:comment>
</wb:Datatype>
<!-- Encoding coordinates datavalues -->
<owl:Class rdf:about="&wikibase;GlobeCoordinatesValue">
<rdfs:label>coordinates datavalue</rdfs:label>
<rdfs:comment>The class of (reified) coordinates datavalues.</rdfs:comment>
</owl:Class>
<owl:ObjectProperty rdf:about="&wikibase;globe">
<rdfs:label>globe</rdfs:label>
<rdfs:comment>This property specifies the globe (e.g., Q20/Earth) of a coordinates datavalue.</rdfs:comment>
</owl:ObjectProperty>
<owl:DatatypeProperty rdf:about="&wikibase;latitude">
<rdfs:label>latitude</rdfs:label>
<rdfs:comment>This property specifies the latitude of a coordinates datavalue.</rdfs:comment>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="&wikibase;longitude">
<rdfs:label>longitude</rdfs:label>
<rdfs:comment>This property specifies the longitude of a coordinates datavalue.</rdfs:comment>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="&wikibase;altitude">
<rdfs:label>altitude</rdfs:label>
<rdfs:comment>This property specifies the optional altitude of a coordinates datavalue.</rdfs:comment>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="&wikibase;gcPrecision">
<rdfs:label>precision</rdfs:label>
<rdfs:comment>This property specifies the precision of a coordinates datavalue as a maximal distance from the given location.</rdfs:comment>
</owl:DatatypeProperty>
<!-- Encoding time datavalues -->
<owl:Class rdf:about="&wikibase;TimeValue">
<rdfs:label>time datavalue</rdfs:label>
<rdfs:comment>The class of (reified) time datavalues.</rdfs:comment>
</owl:Class>
<owl:DatatypeProperty rdf:about="&wikibase;time">
<rdfs:label>time</rdfs:label>
<rdfs:comment>This property specifies the time point (in the Gregorian calendar) of a time datavalue. It can use values of type XML Schema dateTime, date, gYearMonth, or gYear depending on precision.</rdfs:comment>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="&wikibase;timePrecision">
<rdfs:label>precision</rdfs:label>
<rdfs:comment>This property specifies the precision of a time datavalue as an integer. The meaning of values is: 11 (day), 10 (month), 9 (year), 8 (decade), ..., 1 (10^8 years), 0 (10^9 years)</rdfs:comment>
</owl:DatatypeProperty>
<owl:ObjectProperty rdf:about="&wikibase;preferredCalendar">
<rdfs:label>preferred calendar model</rdfs:label>
<rdfs:comment>This property specifies the preferred calendar to be used for displaying a time datavalue.</rdfs:comment>
</owl:ObjectProperty>
</rdf:RDF>