forked from carml/carml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
carml.ttl
147 lines (129 loc) · 4.64 KB
/
carml.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
140
141
142
143
144
145
146
147
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix carml: <http://carml.taxonic.com/carml/> .
@prefix rr: <http://www.w3.org/ns/r2rml#> .
@prefix rml: <http://semweb.mmlab.be/ns/rml#> .
carml:
a owl:Ontology ;
rdfs:label "CARML RML extension vocabulary"@en ;
rdfs:comment "This vocabulary defines terms that extend the RML specification."@en ;
owl:imports
rr: ,
rml: ;
.
carml:Stream a owl:Class ;
rdfs:label "Stream"@en ;
rdfs:isDefinedBy carml: ;
rdfs:comment "A stream is a sequence of data."@en ;
.
carml:streamName a owl:DatatypeProperty ;
rdfs:domain carml:Stream ;
rdfs:isDefinedBy carml: ;
rdfs:comment "A name to identify a stream."@en ;
.
carml:FileSource a owl:Class ;
rdfs:label "FileSource"@en ;
rdfs:isDefinedBy carml: ;
rdfs:comment "A file based source."@en ;
.
carml:url a owl:DatatypeProperty ;
rdfs:label "url"@en ;
rdfs:domain carml:FileSource ;
rdfs:range xsd:string ;
rdfs:isDefinedBy carml: ;
rdfs:comment "A string referencing the location of the FileSource"@en ;
.
carml:XmlDocument a owl:Class ;
rdfs:label "XmlDocument"@en ;
rdfs:subClassOf carml:FileSource ;
rdfs:isDefinedBy carml: ;
rdfs:comment "A FileSource that is an XML document"@en ;
.
carml:declaresNamespace a owl:ObjectProperty ;
rdfs:label "declaresNamespace"@en ;
rdfs:domain carml:XmlDocument ;
rdfs:range carml:Namespace ;
rdfs:isDefinedBy carml: ;
rdfs:comment "A namespace declaration that is used to support namespaces in XML document references."@en ;
.
carml:Namespace a owl:Class ;
rdfs:label "Namespace"@en ;
rdfs:isDefinedBy carml: ;
rdfs:comment "A document namespace."@en ;
.
carml:namespacePrefix a owl:DatatypeProperty ;
rdfs:label "namespacePrefix"@en ;
rdfs:domain carml:Namespace ;
rdfs:range xsd:string ;
rdfs:isDefinedBy carml: ;
rdfs:comment "The prefix value of a namespace."@en ;
.
carml:namespaceName a owl:DatatypeProperty ;
rdfs:label "namespaceName"@en ;
rdfs:domain carml:Namespace ;
rdfs:range xsd:string ;
rdfs:isDefinedBy carml: ;
rdfs:comment "The name value of a namespace."@en ;
.
carml:MultiTermMap a owl:Class ;
rdfs:label "MultiTermMap"@en ;
rdfs:isDefinedBy carml: ;
rdfs:comment "A function that generates a collection of RDF terms from a logical source"@en ;
.
carml:MultiObjectMap a owl:Class ;
rdfs:label "MultiObjectMap"@en ;
rdfs:subClassOf carml:MultiTermMap ;
rdfs:isDefinedBy carml: ;
rdfs:comment "An ObjectMap element to generate multiple object components of the (predicate, object) pair from a logical source"@en ;
.
carml:multiReference a owl:DatatypeProperty ;
rdfs:label "multiReference"@en ;
# NOTE: currently only supported on a carml:MultiObjectMap .
rdfs:domain carml:MultiTermMap ;
rdfs:range xsd:string ;
rdfs:isDefinedBy carml: ;
rdfs:comment "A valid expression that evaluates to a collection of values for a subject, predicate, object, or graph, from a logical source."@en ;
.
carml:multiTemplate a owl:DatatypeProperty ;
rdfs:label "multiTemplate"@en ;
# NOTE: currently only supported on a carml:MultiObjectMap .
rdfs:domain carml:MultiTermMap ;
rdfs:range xsd:string ;
rdfs:isDefinedBy carml: ;
rdfs:comment "A template (format string) to specify how to generate a collection of values for a subject, predicate, object, or graph, using one or more references from a logical source."@en ;
.
carml:multiFunctionValue a owl:ObjectProperty ;
rdfs:label "multiFunctionValue"@en ;
# NOTE: currently only supported on a carml:MultiObjectMap .
rdfs:domain carml:MultiTermMap ;
rdfs:range rr:TriplesMap ;
rdfs:isDefinedBy carml: ;
rdfs:comment "A triples map that represents a function execution which results in a collection of values for a subject, predicate, object, or graph, from a logical source."@en ;
.
carml:multiJoinCondition a owl:ObjectProperty ;
rdfs:label "multiJoinCondition"@en ;
# NOTE: currently only supported on a carml:MultiObjectMap .
rdfs:domain carml:MultiTermMap ;
rdfs:range carml:MultiJoin ;
rdfs:isDefinedBy carml: ;
rdfs:comment "Specifies the multi join condition for joining the multiple child values from the logical source with the parent value of the logical source of the parent triples map."@en ;
.
carml:MultiJoin a owl:Class ;
rdfs:label "MultiJoin"@en ;
rdfs:subClassOf rr:Join ;
rdfs:isDefinedBy carml: ;
rdfs:comment "A join that supports joining multiple child values with a parent expression."@en ;
.
# Add carml:MultiObjectMap to range of rr:objectMap ;
rr:objectMap
rdfs:range [
rdf:type owl:Class ;
owl:unionOf (
rr:ObjectMap
rr:RefObjectMap
carml:MultiObjectMap
)
]
.