-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodifications.ttl
120 lines (102 loc) · 4.74 KB
/
modifications.ttl
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
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix schema: <https://schema.org/> .
@prefix adms: <http://www.w3.org/ns/adms#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix org: <http://www.w3.org/ns/org#> .
@prefix rov: <http://www.w3.org/ns/regorg#> .
@prefix locn: <http://www.w3.org/ns/locn#> .
@prefix legal: <http://www.w3.org/ns/legal#> .
@prefix m8g: <http://data.europa.eu/m8g/> .
@prefix stirdata: <https://w3id.org/stirdata/vocabulary/> .
#Missing in RDF vocab definitions
legal:legalIdentifier a rdf:Property ;
rdfs:label "Identifier"@en ;
rdfs:domain legal:LegalEntity ;
rdfs:range adms:Identifier .
#This is in UML, but nowhere in data
legal:LegalEntity rdfs:subClassOf org:FormalOrganization.
#Necessary for schema.org properties to be usable
legal:LegalEntity rdfs:subClassOf schema:Organization .
#Missing in Core vocabularies definitions but dereferencable
m8g:registeredAddress a rdf:Property,
owl:ObjectProperty ;
rdfs:label "registered address"@en ;
rdfs:comment "The registered address relationship links a Resource with the legally registered Address."@en ;
rdfs:isDefinedBy <http://data.europa.eu/m8g> .
#Missing in Core vocabularies definitions
#m8g:identifies rdfs:label "identifies"@en .
#Wrongly defined with https instead of http in Core Business Vocabulary 2.00. Dereferencable ok.
m8g:identifies a rdf:Property,
owl:ObjectProperty ;
rdfs:label "identifies"@en ;
rdfs:comment "The entity that is referenced by the Identifier."@en ;
rdfs:isDefinedBy <http://data.europa.eu/m8g> .
# schema:foundingDate # a rdf:Property ;
# # :domainIncludes :Organization ;
# # :rangeIncludes :Date ;
# rdfs:domain schema:Organization ;
# rdfs:range xsd:date .
# schema:dissolutionDate # a rdf:Property ;
# # :domainIncludes :Organization ;
# # :rangeIncludes :Date ;
# rdfs:domain schema:Organization ;
# rdfs:range xsd:date .
# schema:email # a rdf:Property ;
# # :domainIncludes :ContactPoint,
# # :Organization,
# # :Person ;
# # :rangeIncludes :Text ;
# rdfs:domain schema:Organization ;
# rdfs:range xsd:string .
# schema:telephone # a rdf:Property ;
# # :domainIncludes :ContactPoint,
# # :Organization,
# # :Person,
# # :Place ;
# # :rangeIncludes :Text ;
# rdfs:domain schema:Organization ;
# rdfs:range xsd:string .
# schema:url # a rdf:Property ;
# # :domainIncludes :Thing ;
# # :rangeIncludes :URL ;
# rdfs:domain schema:Organization ;
# rdfs:range xsd:string .
# dcterms:creator # a rdf:Property ;
# # dcam:rangeIncludes dcterms:Agent ;
# rdfs:range dcterms:Agent .
# Workaround for https://github.com/mff-uk/dataspecer/issues/270
<http://data.europa.eu/m8g/adminUnit> a owl:DatatypeProperty.
<http://www.opengis.net/ont/geosparql#asGML> a owl:DatatypeProperty.
<http://www.opengis.net/ont/geosparql#asWKT> a owl:DatatypeProperty.
<http://www.w3.org/ns/locn#addressArea> a owl:DatatypeProperty.
<http://www.w3.org/ns/locn#addressID> a owl:DatatypeProperty.
<http://www.w3.org/ns/locn#adminUnitL1> a owl:DatatypeProperty.
<http://www.w3.org/ns/locn#adminUnitL2> a owl:DatatypeProperty.
<http://www.w3.org/ns/locn#fullAddress> a owl:DatatypeProperty.
<http://www.w3.org/ns/locn#locatorDesignator> a owl:DatatypeProperty.
<http://www.w3.org/ns/locn#locatorName> a owl:DatatypeProperty.
<http://www.w3.org/ns/locn#poBox> a owl:DatatypeProperty.
<http://www.w3.org/ns/locn#postCode> a owl:DatatypeProperty.
<http://www.w3.org/ns/locn#postName> a owl:DatatypeProperty.
<http://www.w3.org/ns/locn#thoroughfare> a owl:DatatypeProperty.
<http://www.w3.org/ns/legal#legalName> a owl:DatatypeProperty.
#Temporary workaround for insufficient rdfs:domain and rdfs:range definitions. To be investigated further, perhaps replaced by SHACL rules.
legal:legalName rdfs:domain legal:LegalEntity .
m8g:registeredAddress rdfs:domain legal:LegalEntity ;
rdfs:range locn:Address .
skos:notation rdfs:domain adms:Identifier .
locn:addressArea rdfs:domain locn:Address .
locn:postCode rdfs:domain locn:Address .
locn:postName rdfs:domain locn:Address .
locn:locatorDesignator rdfs:domain locn:Address .
locn:adminUnitL1 rdfs:domain locn:Address .
locn:adminUnitL2 rdfs:domain locn:Address .
locn:thoroughfare rdfs:domain locn:Address .
locn:addressID rdfs:domain locn:Address .
locn:fullAddress rdfs:domain locn:Address .
locn:locatorName rdfs:domain locn:Address .
locn:poBox rdfs:domain locn:Address .