Skip to content

Commit 4228b34

Browse files
author
Curoverse build bot
committed
Build bot
1 parent f7bf77d commit 4228b34

File tree

2 files changed

+293
-2
lines changed

2 files changed

+293
-2
lines changed

draft-2/cwl.ttl

Lines changed: 289 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,289 @@
1+
@prefix avro: <http://github.com/common-workflow-language/avro#> .
2+
@prefix cwl: <http://github.com/common-workflow-language#> .
3+
@prefix dct: <http://purl.org/dc/terms/> .
4+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
5+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
6+
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
7+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
8+
9+
cwl:Binding a rdfs:Class .
10+
11+
cwl:CommandInputParameter a rdfs:Class ;
12+
rdfs:subClassOf cwl:InputParameter .
13+
14+
cwl:CommandInputSchema a rdfs:Class ;
15+
rdfs:subClassOf cwl:InputSchema .
16+
17+
cwl:CommandLineBinding a rdfs:Class ;
18+
rdfs:subClassOf cwl:Binding .
19+
20+
cwl:CommandLineTool a rdfs:Class ;
21+
rdfs:subClassOf cwl:Process .
22+
23+
cwl:CommandOutputBinding a rdfs:Class ;
24+
rdfs:subClassOf cwl:Binding .
25+
26+
cwl:CommandOutputParameter a rdfs:Class ;
27+
rdfs:subClassOf cwl:OutputParameter .
28+
29+
cwl:CommandOutputSchema a rdfs:Class ;
30+
rdfs:subClassOf cwl:OutputSchema .
31+
32+
cwl:CreateFileRequirement a rdfs:Class ;
33+
rdfs:subClassOf cwl:ProcessRequirement .
34+
35+
cwl:DockerRequirement a rdfs:Class ;
36+
rdfs:subClassOf cwl:ProcessRequirement .
37+
38+
cwl:EnvVarRequirement a rdfs:Class ;
39+
rdfs:subClassOf cwl:ProcessRequirement .
40+
41+
cwl:EnvironmentDef a rdfs:Class .
42+
43+
cwl:Expression a rdfs:Class .
44+
45+
cwl:ExpressionEngineRequirement a rdfs:Class ;
46+
rdfs:subClassOf cwl:ProcessRequirement .
47+
48+
cwl:ExpressionTool a rdfs:Class ;
49+
rdfs:subClassOf cwl:Process .
50+
51+
cwl:File a rdfs:Class .
52+
53+
cwl:FileDef a rdfs:Class .
54+
55+
cwl:InputParameter a rdfs:Class ;
56+
rdfs:subClassOf cwl:Parameter .
57+
58+
cwl:InputSchema a rdfs:Class ;
59+
rdfs:subClassOf cwl:Schema .
60+
61+
cwl:OutputParameter a rdfs:Class ;
62+
rdfs:subClassOf cwl:Parameter .
63+
64+
cwl:OutputSchema a rdfs:Class ;
65+
rdfs:subClassOf cwl:Schema .
66+
67+
cwl:Parameter a rdfs:Class .
68+
69+
cwl:Process a rdfs:Class .
70+
71+
cwl:ProcessRequirement a rdfs:Class .
72+
73+
cwl:ScatterFeatureRequirement a rdfs:Class ;
74+
rdfs:subClassOf cwl:ProcessRequirement .
75+
76+
cwl:Schema a rdfs:Class .
77+
78+
cwl:SchemaDef a rdfs:Class ;
79+
rdfs:subClassOf cwl:Schema .
80+
81+
cwl:SchemaDefRequirement a rdfs:Class ;
82+
rdfs:subClassOf cwl:ProcessRequirement .
83+
84+
cwl:SubworkflowFeatureRequirement a rdfs:Class ;
85+
rdfs:subClassOf cwl:ProcessRequirement .
86+
87+
cwl:Workflow a rdfs:Class ;
88+
rdfs:subClassOf cwl:Process .
89+
90+
cwl:WorkflowOutputParameter a rdfs:Class ;
91+
rdfs:subClassOf cwl:OutputParameter .
92+
93+
cwl:WorkflowStep a rdfs:Class .
94+
95+
cwl:WorkflowStepInput a rdfs:Class .
96+
97+
cwl:WorkflowStepOutput a rdfs:Class .
98+
99+
cwl:arguments a rdf:Property ;
100+
rdfs:domain cwl:CommandLineTool .
101+
102+
cwl:baseCommand a rdf:Property ;
103+
rdfs:domain cwl:CommandLineTool .
104+
105+
cwl:checksum a rdf:Property ;
106+
rdfs:domain cwl:File .
107+
108+
cwl:default a rdf:Property ;
109+
rdfs:domain cwl:Parameter,
110+
cwl:WorkflowStepInput .
111+
112+
cwl:description a rdf:Property ;
113+
rdfs:domain cwl:Parameter,
114+
cwl:Process,
115+
cwl:WorkflowStep .
116+
117+
cwl:dockerFile a rdf:Property ;
118+
rdfs:domain cwl:DockerRequirement .
119+
120+
cwl:dockerImageId a rdf:Property ;
121+
rdfs:domain cwl:DockerRequirement .
122+
123+
cwl:dockerLoad a rdf:Property ;
124+
rdfs:domain cwl:DockerRequirement .
125+
126+
cwl:dockerOutputDirectory a rdf:Property ;
127+
rdfs:domain cwl:DockerRequirement .
128+
129+
cwl:dockerPull a rdf:Property ;
130+
rdfs:domain cwl:DockerRequirement .
131+
132+
cwl:engine a rdf:Property ;
133+
rdfs:domain cwl:Expression .
134+
135+
cwl:engineCommand a rdf:Property ;
136+
rdfs:domain cwl:ExpressionEngineRequirement .
137+
138+
cwl:engineConfig a rdf:Property ;
139+
rdfs:domain cwl:ExpressionEngineRequirement .
140+
141+
cwl:envDef a rdf:Property ;
142+
rdfs:domain cwl:EnvVarRequirement .
143+
144+
cwl:envName a rdf:Property ;
145+
rdfs:domain cwl:EnvironmentDef .
146+
147+
cwl:envValue a rdf:Property ;
148+
rdfs:domain cwl:EnvironmentDef .
149+
150+
cwl:expression a rdf:Property ;
151+
rdfs:domain cwl:ExpressionTool .
152+
153+
cwl:fileContent a rdf:Property ;
154+
rdfs:domain cwl:FileDef .
155+
156+
cwl:fileDef a rdf:Property ;
157+
rdfs:domain cwl:CreateFileRequirement .
158+
159+
cwl:filename a rdf:Property ;
160+
rdfs:domain cwl:FileDef .
161+
162+
cwl:glob a rdf:Property ;
163+
rdfs:domain cwl:CommandOutputBinding .
164+
165+
cwl:hints a rdf:Property ;
166+
rdfs:domain cwl:Process,
167+
cwl:WorkflowStep .
168+
169+
cwl:inputBinding a rdf:Property ;
170+
rdfs:domain cwl:InputParameter,
171+
cwl:InputSchema .
172+
173+
cwl:inputs a rdf:Property ;
174+
rdfs:domain cwl:Process,
175+
cwl:WorkflowStep .
176+
177+
cwl:itemSeparator a rdf:Property ;
178+
rdfs:domain cwl:CommandLineBinding .
179+
180+
cwl:label a rdf:Property ;
181+
rdfs:domain cwl:Parameter,
182+
cwl:Process,
183+
cwl:WorkflowStep .
184+
185+
cwl:linkMerge a rdf:Property ;
186+
rdfs:domain cwl:WorkflowOutputParameter,
187+
cwl:WorkflowStepInput .
188+
189+
cwl:loadContents a rdf:Property ;
190+
rdfs:domain cwl:Binding .
191+
192+
cwl:name a rdf:Property ;
193+
rdfs:domain cwl:SchemaDef .
194+
195+
cwl:outputBinding a rdf:Property ;
196+
rdfs:domain cwl:CommandOutputParameter,
197+
cwl:CommandOutputSchema .
198+
199+
cwl:outputEval a rdf:Property ;
200+
rdfs:domain cwl:CommandOutputBinding .
201+
202+
cwl:outputs a rdf:Property ;
203+
rdfs:domain cwl:Process,
204+
cwl:WorkflowStep .
205+
206+
cwl:path a rdf:Property ;
207+
rdfs:domain cwl:File .
208+
209+
cwl:permanentFailCodes a rdf:Property ;
210+
rdfs:domain cwl:CommandLineTool .
211+
212+
cwl:position a rdf:Property ;
213+
rdfs:domain cwl:CommandLineBinding .
214+
215+
cwl:prefix a rdf:Property ;
216+
rdfs:domain cwl:CommandLineBinding .
217+
218+
cwl:requirements a rdf:Property ;
219+
rdfs:domain cwl:ExpressionEngineRequirement,
220+
cwl:Process,
221+
cwl:WorkflowStep .
222+
223+
cwl:run a rdf:Property ;
224+
rdfs:domain cwl:WorkflowStep .
225+
226+
cwl:scatter a rdf:Property ;
227+
rdfs:domain cwl:WorkflowStep .
228+
229+
cwl:scatterMethod a rdf:Property ;
230+
rdfs:domain cwl:WorkflowStep .
231+
232+
cwl:script a rdf:Property ;
233+
rdfs:domain cwl:Expression .
234+
235+
cwl:secondaryFiles a rdf:Property ;
236+
rdfs:domain cwl:Binding,
237+
cwl:File .
238+
239+
cwl:separate a rdf:Property ;
240+
rdfs:domain cwl:CommandLineBinding .
241+
242+
cwl:size a rdf:Property ;
243+
rdfs:domain cwl:File .
244+
245+
cwl:source a rdf:Property ;
246+
rdfs:domain cwl:WorkflowOutputParameter,
247+
cwl:WorkflowStepInput .
248+
249+
cwl:stdin a rdf:Property ;
250+
rdfs:domain cwl:CommandLineTool .
251+
252+
cwl:stdout a rdf:Property ;
253+
rdfs:domain cwl:CommandLineTool .
254+
255+
cwl:steps a rdf:Property ;
256+
rdfs:domain cwl:Workflow .
257+
258+
cwl:streamable a rdf:Property ;
259+
rdfs:domain cwl:Parameter .
260+
261+
cwl:successCodes a rdf:Property ;
262+
rdfs:domain cwl:CommandLineTool .
263+
264+
cwl:temporaryFailCodes a rdf:Property ;
265+
rdfs:domain cwl:CommandLineTool .
266+
267+
cwl:types a rdf:Property ;
268+
rdfs:domain cwl:SchemaDefRequirement .
269+
270+
cwl:valueFrom a rdf:Property ;
271+
rdfs:domain cwl:CommandLineBinding .
272+
273+
avro:fields a rdf:Property ;
274+
rdfs:domain cwl:Schema .
275+
276+
avro:items a rdf:Property ;
277+
rdfs:domain cwl:Schema .
278+
279+
avro:symbols a rdf:Property ;
280+
rdfs:domain cwl:Schema .
281+
282+
avro:type a rdf:Property ;
283+
rdfs:domain cwl:Parameter,
284+
cwl:Schema .
285+
286+
avro:values a rdf:Property ;
287+
rdfs:domain cwl:Schema .
288+
289+

draft-2/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,10 @@ <h1 id="syntax">2.2 Syntax</h1><p>Documents containing CWL objects are serialize
237237
base Apache Avro schema.</p>
238238
<p>An implementation may interpret a CWL document as
239239
<a href="http://json-ld.org">JSON-LD</a> and convert a CWL document to a <a href="http://www.w3.org/RDF/">Resource
240-
Description Framework (RDF)</a> using the JSON-LD
241-
context extracted from the avro-ld schema.</p>
240+
Description Framework (RDF)</a> using the
241+
CWL <a href="cwl-context.jsonld">JSON-LD Context</a> (extracted from the avro-ld schema).
242+
The CWL <a href="cwl.ttl">RDFS schema</a> defines the classes and properties used by
243+
CWL as JSON-LD.</p>
242244
<p>The latest draft-2 schema is defined here:
243245
<a href="https://github.com/common-workflow-language/common-workflow-language/blob/master/schemas/draft-2/cwl-avro.yml">https://github.com/common-workflow-language/common-workflow-language/blob/master/schemas/draft-2/cwl-avro.yml</a></p>
244246
<h1 id="identifiers">2.3 Identifiers</h1><p>If an object contains an <code>id</code> field, that is used to uniquely identify the

0 commit comments

Comments
 (0)