-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfnom.ttl
247 lines (216 loc) · 9.61 KB
/
fnom.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
@prefix bibo: <http://purl.org/ontology/bibo/> .
@prefix cc: <http://creativecommons.org/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix fno: <https://w3id.org/function/ontology#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@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 schema: <http://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix voaf: <http://purl.org/vocommons/voaf#> .
@prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@base <https://w3id.org/function/vocabulary/mapping#> .
@prefix : <https://w3id.org/function/vocabulary/mapping#> .
<https://w3id.org/function/vocabulary/mapping#>
rdf:type owl:Ontology ;
rdf:type voaf:Vocabulary ;
vann:preferredNamespaceUri "https://w3id.org/function/vocabulary/mapping#" ;
vann:preferredNamespacePrefix "fnom" ;
dc:title "The Function Ontology - Mapping vocabulary"@en ;
rdfs:label "The Function Ontology - Mapping vocabulary"@en ;
dc:description
"The Function Ontology Implementation Mapping vocabulary specifies terms relevant to link FnO models to implementations. The specification is online at https://w3id.org/function/spec"@en ;
bibo:status "testing" ;
owl:versionIRI <https://w3id.org/function/vocabulary/mapping/0.2.1> ;
owl:versionInfo "0.2.1" ;
owl:backwardCompatibleWith <https://w3id.org/function/vocabulary/mapping/0.2.0> ;
#owl:incompatibleWith <>;
owl:priorVersion <https://w3id.org/function/vocabulary/mapping/0.2.0> ;
dcterms:created "2019-05-21"^^xsd:date ;
dcterms:modified "2020-12-23"^^xsd:date ;
dcterms:issued "2019-05-21"^^xsd:date ;
dc:source <https://w3id.org/function/spec> ;
dcterms:creator <https://ben.de-meester.org/#me> ;
dcterms:publisher <https://ben.de-meester.org/#me> ;
bibo:doi "10.5281/zenodo.595382" ;
dcterms:bibliographicCitation
"De Meester, B.; Seymoens, T.; Dimou, A. & Verborgh, R. Implementation-independent Function Reuse. Future Generation Computer Systems, Elsevier BV, 2020, 110, 946-959 " ;
dc:rights "Copyright © Ghent University – imec – IDLab"@en ;
schema:license <http://creativecommons.org/license/by/3.0/> ;
foaf:logo <https://w3id.org/function/img/fno_favicon.png> ;
foaf:depiction <https://w3id.org/function/spec/resources/images/fno-full.png> ;
rdfs:seeAlso <https://w3id.org/function/spec> ;
rdfs:comment """- Version 0.2.1: Updated metadata
- Version 0.2.0: ReturnMapping
- Version 0.1.0: creation."""@en ; # Not recommended by https://w3id.org/widoco/bestPractices
foaf:primaryTopic
<https://w3id.org/function/ontology> ; # Not recommended by https://w3id.org/widoco/bestPractices
.
<https://ben.de-meester.org/#me>
rdf:type foaf:Person ;
foaf:mbox "mailto:[email protected]" ;
foaf:name "Ben De Meester"@en ;
rdfs:label "Ben De Meester"@en .
:method-name
rdf:type rdf:Property ;
rdfs:domain :StringMethodMapping ;
rdfs:range xsd:string ;
rdfs:label "method name"@en ;
rdfs:comment "Connects a method name to a method mapping."@en ;
rdfs:isDefinedBy <https://w3id.org/function/vocabulary/mapping> ;
# vann:example <> ; # TODO
vs:term_status "testing" ;
.
:functionParameter
rdf:type owl:ObjectProperty ;
rdfs:domain :PositionParameterMapping ;
rdfs:range fno:Parameter ;
rdfs:label "function parameter"@en ;
rdfs:comment "Connects a function parameter to a parameter mapping."@en ;
rdfs:isDefinedBy <https://w3id.org/function/vocabulary/mapping> ;
# vann:example <> ; # TODO
vs:term_status "testing" ;
.
:implementationParameterPosition
rdf:type rdf:Property ;
rdfs:domain :ParameterMapping ;
rdfs:range xsd:int ;
rdfs:label "implementation parameter position"@en ;
rdfs:comment "Connects an implementation parameter position to a parameter mapping."@en ;
rdfs:isDefinedBy <https://w3id.org/function/vocabulary/mapping> ;
# vann:example <> ; # TODO
vs:term_status "testing" ;
.
:constantParameterValue
rdf:type rdf:Property ;
rdfs:domain :ParameterMapping ;
rdfs:range xsd:string ;
rdfs:label "constant parameter value"@en ;
rdfs:comment "Connects an implementation constant to a parameter value."@en ;
rdfs:isDefinedBy <https://w3id.org/function/vocabulary/mapping> ;
# vann:example <> ; # TODO
vs:term_status "testing" ;
.
:repeatableParameter
rdf:type rdf:Property ;
rdfs:domain :ParameterMapping ;
rdfs:range xsd:boolean ;
rdfs:label "repeatable parameter value"@en ;
rdfs:comment "Flag indicating whether the parameter can be repeated."@en ;
rdfs:isDefinedBy <https://w3id.org/function/vocabulary/mapping> ;
# vann:example <> ; # TODO
vs:term_status "testing" ;
.
:implementationProperty
rdf:type rdf:Property ;
rdfs:domain :ParameterMapping ;
rdfs:range xsd:string ;
rdfs:label "implementation property"@en ;
rdfs:comment "Connects an implementation parameter label to a parameter mapping."@en ;
rdfs:isDefinedBy <https://w3id.org/function/vocabulary/mapping> ;
# vann:example <> ; # TODO
vs:term_status "testing" ;
.
:functionOutput
rdf:type rdf:Property ;
rdfs:domain :ReturnMapping ;
rdfs:range fno:Output ;
rdfs:label "function output"@en ;
rdfs:comment "Connects a function output to a return mapping."@en ;
rdfs:isDefinedBy <https://w3id.org/function/vocabulary/mapping> ;
# vann:example <> ; # TODO
vs:term_status "testing" ;
.
:StringMethodMapping
rdf:type owl:Class ;
rdfs:subClassOf fno:MethodMapping ;
rdfs:label "String Method Mapping"@en ;
rdfs:comment
"A string method mapping uses a string to map a method of an fno:Implementation to an fno:Function"@en ;
rdfs:isDefinedBy <https://w3id.org/function/vocabulary/mapping> ;
# vann:example <> ; # TODO
vs:term_status "testing" ;
.
:PositionParameterMapping
rdf:type owl:Class ;
rdfs:subClassOf fno:ParameterMapping ;
rdfs:label "Position Parameter Mapping"@en ;
rdfs:comment
"A position parameter mapping uses a position to map a parameter of an fno:Implementation to an fno:Parameter"@en ;
rdfs:isDefinedBy <https://w3id.org/function/vocabulary/mapping> ;
# vann:example <> ; # TODO
vs:term_status "testing" ;
.
:PropertyParameterMapping
rdf:type owl:Class ;
rdfs:subClassOf fno:ParameterMapping ;
rdfs:label "Property Parameter Mapping"@en ;
rdfs:comment
"A property parameter mapping uses a property string to map a parameter of an fno:Implementation to an fno:Parameter"@en ;
rdfs:isDefinedBy <https://w3id.org/function/vocabulary/mapping> ;
# vann:example <> ; # TODO
vs:term_status "testing" ;
.
:ConstantParameterMapping
rdf:type owl:Class ;
rdfs:subClassOf fno:ParameterMapping ;
rdfs:label "Constant Parameter Mapping"@en ;
rdfs:comment
"A constant parameter mapping uses a property string to map a parameter of an fno:Implementation to a constant value"@en ;
rdfs:isDefinedBy <https://w3id.org/function/vocabulary/mapping> ;
# vann:example <> ; # TODO
vs:term_status "testing" ;
.
:DefaultReturnMapping
rdf:type owl:Class ;
rdfs:subClassOf fno:ReturnMapping ;
rdfs:label "Default Return Mapping"@en ;
rdfs:comment "A default return mapping links the return value of the method to a fno:Output"@en ;
rdfs:isDefinedBy <https://w3id.org/function/vocabulary/mapping> ;
# vann:example <> ; # TODO
vs:term_status "testing" ;
.
:ExceptionReturnMapping
rdf:type owl:Class ;
rdfs:subClassOf fno:ReturnMapping ;
rdfs:label "Exception Return Mapping"@en ;
rdfs:comment "An exception return mapping links the thrown exception of the method to a fno:Output"@en ;
rdfs:isDefinedBy <https://w3id.org/function/vocabulary/mapping> ;
# vann:example <> ; # TODO
vs:term_status "testing" ;
.
xsd:decimal
skos:narrower xsd:integer .
xsd:anyAtomicType
skos:narrower xsd:decimal, rdf:List, xsd:decimal, xsd:dateTime, xsd:integer, xsd:string .
xsd:integer
skos:broader xsd:decimal .
xsd:decimal
skos:broader xsd:anyAtomicType .
rdf:List
skos:broader xsd:anyAtomicType .
xsd:decimal
skos:broader xsd:anyAtomicType .
xsd:dateTime
skos:broader xsd:anyAtomicType .
xsd:integer
skos:broader xsd:anyAtomicType .
xsd:string
skos:broader xsd:anyAtomicType .
xsd:integer
rdfs:label "integer" .
xsd:decimal
rdfs:label "decimal" .
rdf:List
rdfs:label "array" .
xsd:dateTime
rdfs:label "dateTime" .
xsd:string
rdfs:label "string" .
xsd:anyAtomicType
rdfs:label "(any)" .