annotate tools/SADI-Docker/SADI-Docker-SPARQLGalaxy.xml @ 0:54c48f9ca32b default tip

first release
author Mikel Egana <mikel.egana.aranguren@gmail.com>
date Fri, 04 Sep 2015 23:24:45 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
1 <tool id="SADI-Docker-SPARQLGalaxy" name="SADI - Execute an SPARQL query against an RDF file" version="0.1">
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
2 <description>It executes an SPARQL query against the input RDF file and generates an HTML file with the variables and bound entities</description>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
3 <requirements>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
4 <container type="docker">mikeleganaaranguren/sadi:v6</container>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
5 </requirements>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
6 <command>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
7 python /sadi/sparql.py $ontology "$pasted_query" $out_format > $output 2>/dev/null
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
8 </command>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
9 <inputs>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
10 <param name="ontology" type="data" format="rdf" label="Input RDF file"/>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
11 <param name="pasted_query" type="text" area="True" size="10x50" label="SPARQL Query" value="SELECT * WHERE { ?s ?p ?o }">
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
12 <sanitizer sanitize="False"/>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
13 </param>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
14 <param name="out_format" type="select" label="Output format" help="">
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
15 <option value="html" selected="true">HTML</option>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
16 <option value="tab">TABULAR</option>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
17 </param>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
18
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
19 </inputs>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
20 <outputs>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
21 <data format="html" name="output">
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
22 <change_format>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
23 <when input="out_format" value="tab" format="tabular" />
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
24 </change_format>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
25 </data>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
26 </outputs>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
27 <help>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
28
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
29 **Usage**
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
30
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
31 An RDF file (in any format that RDFLib can accept) and a SPARQL query are needed.
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
32
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
33 **About**
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
34
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
35 More information and contact: http://github.com/mikel-egana-aranguren/SADI-Docker-Galaxy.
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
36
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
37 </help>
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
38
54c48f9ca32b first release
Mikel Egana <mikel.egana.aranguren@gmail.com>
parents:
diff changeset
39 </tool>