-
Notifications
You must be signed in to change notification settings - Fork 9
/
skos-history.ttl
140 lines (120 loc) · 5.58 KB
/
skos-history.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
@prefix sh: <http://purl.org/skos-history/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dsv: <http://purl.org/iso25964/DataSet/Versioning#> .
@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 sd: <http://www.w3.org/ns/sparql-service-description#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# Ontology
<http://purl.org/skos-history/>
a owl:Ontology ;
dc:creator "Joachim Neubert" ;
dc:title "skos-history - Ontology for expressing version deltas of SKOS files"@en ;
dcterms:created "2013-09-02"^^xsd:date ;
dcterms:modified "2015-03-13"^^xsd:date ;
dc:date "2015-03-13" ;
rdfs:comment """This ontology proposal is meant to support comparisons between versions of SKOS vocabularies, both on the level of single concepts and on the level of aggregations of certain types of changes. The version deltas are expressed as graphs of insertions and deletions.
The ontology may be used in conjunction with the proposed dataset versioning ontology (http://purl.org/iso25964/DataSet/Versioning#) for addressing the versions of a (SKOS) dataset via their related version history records."""@en .
# Classes
sh:SchemeDelta
a rdfs:Class ;
rdfs:isDefinedBy <http://purl.org/skos-history/> ;
rdfs:label "Scheme Delta"@en ;
rdfs:subClassOf skos:ConceptScheme ;
rdfs:comment "The delta of two versions of a SKOS concept scheme."@en .
sh:SchemeDeltaInsertions
a rdfs:Class ;
rdfs:comment """Should be related to the delta by dcterms:isPartOf."""@en ;
rdfs:isDefinedBy <http://purl.org/skos-history/> ;
rdfs:label "Scheme Delta Insertions"@en ;
rdfs:subClassOf skos:ConceptScheme ;
rdfs:comment "The statements to insert into one version of a SKOS concept scheme to create another version (in addition to deletions)."@en .
sh:SchemeDeltaDeletions
a rdfs:Class ;
rdfs:comment """Should be related to the delta by dcterms:isPartOf."""@en ;
rdfs:isDefinedBy <http://purl.org/skos-history/> ;
rdfs:label "Scheme Delta Deletions"@en ;
rdfs:subClassOf skos:ConceptScheme ;
rdfs:comment "The statements to delete from one version of a SKOS concept scheme to create another version (in addition to insertions)."@en .
# TODO are these needed??
sh:ConceptVersion
a rdfs:Class ;
rdfs:comment """Should be related to the concept by dcterms:isVersionOf."""@en ;
rdfs:isDefinedBy <http://purl.org/skos-history/> ;
rdfs:label "Concept Version"@en ;
rdfs:subClassOf skos:Concept ;
rdfs:comment "(???) A version of a SKOS concept."@en .
sh:ConceptDelta
a rdfs:Class ;
rdfs:isDefinedBy <http://purl.org/skos-history/> ;
rdfs:label "Concept Delta"@en ;
# TODO that's not true!
# rdfs:subClassOf skos:Concept ;
rdfs:comment "The delta of two versions of a SKOS concept."@en .
# Properties
sh:usingNamedGraph
a owl:ObjectProperty ;
rdfs:isDefinedBy <http://purl.org/skos-history/> ;
rdfs:label "using Named Graph"@en ;
# TODO
#rdfs:subPropertyOf <???> ;
rdfs:range sd:NamedGraph ;
rdfs:comment "The named graph where the data can be queried. (The endpoint should be given as void:sparqlEndpoint property of the version history set.)"@en .
sh:deltaFrom
a owl:ObjectProperty ;
rdfs:isDefinedBy <http://purl.org/skos-history/> ;
rdfs:label "delta From"@en ;
# TODO
#rdfs:subPropertyOf <???> ;
rdfs:domain sh:SchemeDelta ;
rdfs:comment "The version from which the delta is taken. The object of the triple may be a dsv:VersionHistoryRecord."@en .
sh:deltaTo
a owl:ObjectProperty ;
rdfs:isDefinedBy <http://purl.org/skos-history/> ;
rdfs:label "delta To"@en ;
# TODO
#rdfs:subPropertyOf <???> ;
rdfs:domain sh:SchemeDelta ;
rdfs:comment "The versions to which the delta is taken. The object of the triple may be a dsv:VersionHistoryRecord."@en .
sh:hasDelta
a owl:ObjectProperty ;
rdfs:isDefinedBy <http://purl.org/skos-history/> ;
rdfs:label "has Delta"@en ;
# TODO
#rdfs:subPropertyOf <???> ;
rdfs:range sh:SchemeDelta ;
rdfs:comment "A delta for this version. The subject of the triple may be a dsv:VersionHistoryRecord."@en .
sh:isVersionHistoryOf
a owl:ObjectProperty ;
rdfs:isDefinedBy <http://purl.org/skos-history/> ;
rdfs:label "is Version History Of"@en ;
# TODO
#rdfs:subPropertyOf <???> ;
#rdfs:range dsv:VersionHistorySet;
#rdfs:domain skos:ConceptScheme .
rdfs:comment "Links the version history set to the skos concept scheme it is about. (Preliminary, may be better located in dsv ontology.)"@en .
# TODO check the following properties as possibly obsolete when using delta ontology
sh:concepthistory
a owl:ObjectProperty ;
rdfs:isDefinedBy <http://purl.org/skos-history/> ;
rdfs:label "concept History"@en ;
# TODO
#rdfs:subPropertyOf <???> ;
rdfs:comment "Collects the concept deltas of a concept (given in the subject of the triple)."@en .
sh:prefLabelInsertion
a owl:ObjectProperty ;
rdfs:isDefinedBy <http://purl.org/skos-history/> ;
rdfs:label "prefLabel Insertion"@en ;
# TODO
#rdfs:subPropertyOf <???> ;
rdfs:comment "skos:prefLabel which is to be inserted."@en .
sh:prefLabelDeletion
a owl:ObjectProperty ;
rdfs:isDefinedBy <http://purl.org/skos-history/> ;
rdfs:label "prefLabel Deletion"@en ;
# TODO
#rdfs:subPropertyOf <???> ;
rdfs:comment "skos:prefLabel which is to be deleted."@en .