-
Notifications
You must be signed in to change notification settings - Fork 0
/
object-mapping.owl
89 lines (75 loc) · 4.36 KB
/
object-mapping.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
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix hydra: <https://www.w3.org/ns/hydra/core#>.
@prefix void: <http://rdfs.org/ns/void#>.
@prefix vann: <http://purl.org/vocab/vann/>.
@prefix dct: <http://purl.org/dc/terms/>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix sd: <http://www.w3.org/TR/sparql11-service-description/#>.
@prefix om: <https://w3id.org/lsd/vocabularies/object-mapping#>.
# ---------------------------------------- Metadata ----------------------------------------------
<https://w3id.org/lsd/vocabularies/object-mapping#>
a owl:Ontology;
vann:preferredNamespacePrefix "om";
vann:preferredNamespaceUri "https://w3id.org/lsd/vocabularies/object-mapping#";
rdfs:label "Object Mapping."@en;
rdfs:comment "RDF vocabulary for describing Object Mappings that map RDF entities to objects."@en;
dct:title "Object Mapping"@en;
dct:issued "2017-05-05"^^xsd:date;
dct:modified "2017-11-16"^^xsd:date;
dct:creator <http://rubensworks.net/#me>.
<http://rubensworks.net/#me> foaf:name "Ruben Taelman".
# ------------------------------------------ Classes --------------------------------------------
om:ObjectMapping a rdfs:Class;
rdfs:label "Object Mapping"@en;
rdfs:comment "An object mapping definition can have object map entries."@en;
rdfs:isDefinedBy <https://w3id.org/lsd/vocabularies/object-mapping#>.
om:ArrayMapping a rdfs:Class;
rdfs:label "Array Mapping"@en;
rdfs:comment "An array mapping definition can have array map entries."@en;
rdfs:subClassOf om:ObjectMapping;
rdfs:isDefinedBy <https://w3id.org/lsd/vocabularies/object-mapping#>.
om:ObjectMappingEntry a rdfs:Class;
rdfs:label "Object Mapping Entry"@en;
rdfs:comment "An object map entry refers to one or more object entries with keys and values."@en;
rdfs:isDefinedBy <https://w3id.org/lsd/vocabularies/object-mapping#>.
om:ArrayMappingElements a rdfs:Class;
rdfs:subClassOf rdf:List;
rdfs:label "Array Mapping Entry"@en;
rdfs:comment "Array map elements is an RDF lists where each value is a literal or object maping URI."@en;
rdfs:isDefinedBy <https://w3id.org/lsd/vocabularies/object-mapping#>.
# ---------------------------------------- Properties --------------------------------------------
om:field a rdf:Property;
rdfs:label "has field"@en;
rdfs:comment "The given object mapping has the given object map entry."@en;
rdfs:isDefinedBy <https://w3id.org/lsd/vocabularies/object-mapping#>;
rdfs:domain om:ObjectMapping;
rdfs:range om:ObjectMappingEntry.
om:elements a rdf:Property;
rdfs:label "has element"@en;
rdfs:comment "The given array mapping has the given elements."@en;
rdfs:isDefinedBy <https://w3id.org/lsd/vocabularies/object-mapping#>;
rdfs:domain om:ArrayMapping;
rdfs:range om:ArrayMappingElements.
om:fieldName a rdf:Property;
rdfs:label "has name"@en;
rdfs:comment "The given mapping entry has the given field name, which can either be a literal or an object mapping URI."@en;
rdfs:isDefinedBy <https://w3id.org/lsd/vocabularies/object-mapping#>;
rdfs:domain om:ObjectMappingEntry.
om:fieldValue a rdf:Property;
rdfs:label "has value"@en;
rdfs:comment "The given mapping entry has the given field value, which can either be a literal or an object mapping URI."@en;
rdfs:isDefinedBy <https://w3id.org/lsd/vocabularies/object-mapping#>;
rdfs:domain om:ObjectMappingEntry.
om:fieldValueRaw a rdf:Property;
rdfs:label "has raw value"@en;
rdfs:comment "The given mapping entry has the given raw field value, which can either be a literal or a URI. In both cases, this will be interpreted as a literal."@en;
rdfs:isDefinedBy <https://w3id.org/lsd/vocabularies/object-mapping#>;
rdfs:domain om:ObjectMappingEntry.
om:collectsEntriesFrom a rdf:Property;
rdfs:label "has value"@en;
rdfs:comment "The given mapping entry will collect entries from all resources linked with the given predicate. All of these linked resources will become entries with as key the given object of the entry's om:fieldName predicate and as value the given object of the entry's om:fieldValue predicate."@en;
rdfs:isDefinedBy <https://w3id.org/lsd/vocabularies/object-mapping#>;
rdfs:domain om:ObjectMappingEntry.