-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhello_world_task.ttl
169 lines (116 loc) · 4.94 KB
/
hello_world_task.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
@prefix : <https://naohirotamura.github.io/faasshell/ns/faas#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <https://naohirotamura.github.io/faasshell/ns/faas> .
<https://naohirotamura.github.io/faasshell/ns/faas> rdf:type owl:Ontology ;
rdfs:comment "FaaS Shell"^^xsd:string .
#################################################################
# Object Properties
#################################################################
### https://naohirotamura.github.io/faasshell/ns/faas#assigns
:assigns rdf:type owl:ObjectProperty ;
rdfs:domain :FaaS ;
rdfs:range :FRN .
### https://naohirotamura.github.io/faasshell/ns/faas#invokes
:invokes rdf:type owl:ObjectProperty ;
rdfs:domain :FRN ;
rdfs:range :Function .
### https://naohirotamura.github.io/faasshell/ns/faas#owns
:owns rdf:type owl:ObjectProperty ;
rdfs:domain :User ;
rdfs:range :Function .
### https://naohirotamura.github.io/faasshell/ns/faas#provides
:provides rdf:type owl:ObjectProperty ;
rdfs:domain :FaaS ;
rdfs:range :Function .
#################################################################
# Data properties
#################################################################
### https://naohirotamura.github.io/faasshell/ns/faas#input
:input rdf:type owl:DatatypeProperty .
### https://naohirotamura.github.io/faasshell/ns/faas#name
:name rdf:type owl:DatatypeProperty .
### https://naohirotamura.github.io/faasshell/ns/faas#output
:output rdf:type owl:DatatypeProperty .
#################################################################
# Classes
#################################################################
### https://naohirotamura.github.io/faasshell/ns/faas#FRN
:FRN rdf:type owl:Class ;
rdfs:comment "FaaS Resource Name" .
### https://naohirotamura.github.io/faasshell/ns/faas#FaaS
:FaaS rdf:type owl:Class .
### https://naohirotamura.github.io/faasshell/ns/faas#Function
:Function rdf:type owl:Class .
### https://naohirotamura.github.io/faasshell/ns/faas#User
:User rdf:type owl:Class .
#################################################################
# Individuals
#################################################################
### https://naohirotamura.github.io/faasshell/ns/faas#aws
:aws rdf:type owl:NamedIndividual ,
:FaaS ;
:assigns :frn001 ;
:provides :hello .
### https://naohirotamura.github.io/faasshell/ns/faas#azure
:azure rdf:type owl:NamedIndividual ,
:FaaS ;
:assigns :frn002 ;
:provides :hello .
### https://naohirotamura.github.io/faasshell/ns/faas#demo
:demo rdf:type owl:NamedIndividual ,
:User ;
:owns :hello .
### https://naohirotamura.github.io/faasshell/ns/faas#frn001
:frn001 rdf:type owl:NamedIndividual ,
:FRN ;
:invokes :hello ;
:name "arn:aws:lambda:us-east-2:410388484666:function:hello"^^xsd:string .
### https://naohirotamura.github.io/faasshell/ns/faas#frn002
:frn002 rdf:type owl:NamedIndividual ,
:FRN ;
:invokes :hello ;
:name "frn:azure:functions::glowing-program-196406:function:hello"^^xsd:string .
### https://naohirotamura.github.io/faasshell/ns/faas#frn003
:frn003 rdf:type owl:NamedIndividual ,
:FRN ;
:invokes :hello ;
:name "frn:gcp:functions:us-central1:glowing-program-196406:function:hello"^^xsd:string .
### https://naohirotamura.github.io/faasshell/ns/faas#frn004
:frn004 rdf:type owl:NamedIndividual ,
:FRN ;
:invokes :hello ;
:name "frn:wsk:functions:::function:hello"^^xsd:string .
### https://naohirotamura.github.io/faasshell/ns/faas#gcp
:gcp rdf:type owl:NamedIndividual ,
:FaaS ;
:assigns :frn003 ;
:provides :hello .
### https://naohirotamura.github.io/faasshell/ns/faas#hello
:hello rdf:type owl:NamedIndividual ,
:Function ;
:input "$.name"^^xsd:string ;
:name "hello"^^xsd:string ;
:output "$.payload"^^xsd:string .
### https://naohirotamura.github.io/faasshell/ns/faas#ifttt
:ifttt rdf:type owl:NamedIndividual ,
:FaaS .
### https://naohirotamura.github.io/faasshell/ns/faas#wsk
:wsk rdf:type owl:NamedIndividual ,
:FaaS ;
:assigns :frn004 ;
:provides :hello .
#################################################################
# General axioms
#################################################################
[ rdf:type owl:AllDisjointClasses ;
owl:members ( :FRN
:FaaS
:Function
:User
)
] .
### Generated by the OWL API (version 4.2.8.20170104-2310) https://github.com/owlcs/owlapi