comparison env/lib/python3.9/site-packages/cwltool/rdfqueries/get_inner_edges.sparql @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 PREFIX ArraySchema: <https://w3id.org/cwl/salad#ArraySchema/>
2 PREFIX CommandLineBinding: <https://w3id.org/cwl/cwl#CommandLineBinding/>
3 PREFIX CommandLineTool: <https://w3id.org/cwl/cwl#CommandLineTool/>
4 PREFIX CommandOutputBinding: <https://w3id.org/cwl/cwl#CommandOutputBinding/>
5 PREFIX Directory: <https://w3id.org/cwl/cwl#Directory/>
6 PREFIX Dirent: <https://w3id.org/cwl/cwl#Dirent/>
7 PREFIX DockerRequirement: <https://w3id.org/cwl/cwl#DockerRequirement/>
8 PREFIX EnumSchema: <https://w3id.org/cwl/salad#EnumSchema/>
9 PREFIX EnvVarRequirement: <https://w3id.org/cwl/cwl#EnvVarRequirement/>
10 PREFIX EnvironmentDef: <https://w3id.org/cwl/cwl#EnvironmentDef/>
11 PREFIX ExpressionTool: <https://w3id.org/cwl/cwl#ExpressionTool/>
12 PREFIX File: <https://w3id.org/cwl/cwl#File/>
13 PREFIX InlineJavascriptRequirement: <https://w3id.org/cwl/cwl#InlineJavascriptRequirement/>
14 PREFIX LinkMergeMethod: <https://w3id.org/cwl/cwl#LinkMergeMethod/>
15 PREFIX Parameter: <https://w3id.org/cwl/cwl#Parameter/>
16 PREFIX RecordSchema: <https://w3id.org/cwl/salad#RecordSchema/>
17 PREFIX ResourceRequirement: <https://w3id.org/cwl/cwl#ResourceRequirement/>
18 PREFIX ScatterMethod: <https://w3id.org/cwl/cwl#ScatterMethod/>
19 PREFIX SchemaDefRequirement: <https://w3id.org/cwl/cwl#SchemaDefRequirement/>
20 PREFIX SoftwarePackage: <https://w3id.org/cwl/cwl#SoftwarePackage/>
21 PREFIX SoftwareRequirement: <https://w3id.org/cwl/cwl#SoftwareRequirement/>
22 PREFIX Workflow: <https://w3id.org/cwl/cwl#Workflow/>
23 PREFIX cwl: <https://w3id.org/cwl/cwl#>
24 PREFIX dct: <http://purl.org/dc/terms/>
25 PREFIX ns1: <http://commonwl.org/cwltool#>
26 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
27 PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
28 PREFIX sld: <https://w3id.org/cwl/salad#>
29 PREFIX xml: <http://www.w3.org/XML/1998/namespace>
30 PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
31 PREFIX foaf: <http://xmlns.com/foaf/0.1/>
32
33 # GET EDGES
34 SELECT DISTINCT ?source_label ?target_label ?source_step ?target_step ?target_ref_input ?output_ref ?workflow
35 WHERE {
36 ?workflow Workflow:steps ?step .
37 {
38 ?step cwl:in ?target_ref_input .
39 ?target_ref_input cwl:source ?output_ref .
40 ?source_step cwl:out ?output_ref .
41 ?source_step cwl:run ?source_step_node .
42 ?target_step cwl:in ?target_ref_input .
43 ?target_step cwl:run ?target_step_node .
44 OPTIONAL {?source_step_node rdfs:label ?source_label} .
45 OPTIONAL {?target_step_node rdfs:label ?target_label} .
46 } .
47 # root_graph is binded in python
48 FILTER(?workflow = ?root_graph) .
49 }
50 ORDER BY ?source_node ?target_node