-
Notifications
You must be signed in to change notification settings - Fork 1
/
WebAPIExt.ttl
93 lines (71 loc) · 2.82 KB
/
WebAPIExt.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
@prefix wasa: <http://vocab.sti2.at/wasa/> .
@prefix schema: <http://schema.org/> .
@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 sh: <http://www.w3.org/ns/shacl#> .
@prefix fno: <https://w3id.org/function/ontology#> .
## types
<http://vocab.sti2.at/wasa/> a owl:Ontology .
wasa:Error a rdfs:Class;
rdfs:label "Error";
rdfs:comment "An error specification";
rdfs:subClassOf schema:PropertyValue .
wasa:PotentialActionLink a rdfs:Class;
rdfs:label "PotentialActionLink";
rdfs:comment "A potential action specification on a resource description";
rdfs:subClassOf wasa:ActionLink.
wasa:PrecedingActionLink a rdfs:Class;
rdfs:label "InputActionLink";
rdfs:subClassOf wasa:ActionLink.
wasa:ActionLink a rdfs:Class;
rdfs:subClassOf schema:Intangible.
wasa:PropertyMap a rdfs:Class;
rdfs:subClassOf schema:Intangible .
wasa:SPARQLEndpoint a rdfs:Class;
rdfs:label "SPARQL Endpoint";
rdfs:label "A SPARQL endpoint defined as an invocation mechanism of an action."
rdfs:subClassOf schema:EntryPoint .
## properties
wasa:httpStatusCode a rdf:Property;
rdfs:label "httpStatusCode";
schema:domainIncludes schema:ActionStatusType;
schema:rangeIncludes schema:PropertyValue;
rdfs:comment "HTTP status code (RFC 7231) to support the action status. " .
wasa:valueList a rdf:Property;
rdfs:label "valueList";
schema:domainIncludes schema:PropertyValueSpecification;
schema:rangeIncludes rdf:List; ## SHACL list
rdfs:comment "A list of possible values inspired by HTML 5 input attribute datalist. " .
wasa:source a rdf:Property;
schema:domainIncludes wasa:ActionLink;
schema:rangeIncludes schema:Action .
wasa:target a rdf:Property;
schema:domainIncludes wasa:ActionLink;
schema:rangeIncludes schema:Action .
wasa:propertyMapping a rdf:Property;
schema:domainIncludes wasa:ActionLink;
schema:rangeIncludes wasa:PropertyMap.
wasa:from a rdf:Property;
schema:domainIncludes wasa:PropertyMap;
schema:rangeIncludes rdf:List; # SPP referenced from result
schema:rangeIncludes fno:Function.
wasa:to a rdf:Property;
schema:domainIncludes wasa:PropertyMap;
schema:rangeIncludes rdf:List; # SPP referenced from object
schema:rangeIncludes fno:Function.
wasa:condition a rdf:Property;
schema:domainIncludes wasa:PotentialActionLink;
wasa:rangeIncludes fno:Function.
wasa:potentialActionLink a rdf:Property;
schema:domainIncludes schema:Action;
schema:rangeIncludes wasa:ActionLink .
wasa:precedingActionLink a rdf:Property;
schema:domainIncludes schema:Action;
schema:rangeIncludes wasa:PrecedingActionLink .
wasa:iterator a rdf:Property;
schema:domainIncludes wasa:PotentialActionLink;
schema:rangeIncludes rdf:List .
wasa:actionShape a rdf:Property;
schema:domainIncludes schema:Action;
schema:rangeIncludes sh:NodeShpae .