Mercurial > repos > mikel-egana-aranguren > sadi_docker
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:54c48f9ca32b |
---|---|
1 <tool id="SADI-Docker-SPARQLGalaxy" name="SADI - Execute an SPARQL query against an RDF file" version="0.1"> | |
2 <description>It executes an SPARQL query against the input RDF file and generates an HTML file with the variables and bound entities</description> | |
3 <requirements> | |
4 <container type="docker">mikeleganaaranguren/sadi:v6</container> | |
5 </requirements> | |
6 <command> | |
7 python /sadi/sparql.py $ontology "$pasted_query" $out_format > $output 2>/dev/null | |
8 </command> | |
9 <inputs> | |
10 <param name="ontology" type="data" format="rdf" label="Input RDF file"/> | |
11 <param name="pasted_query" type="text" area="True" size="10x50" label="SPARQL Query" value="SELECT * WHERE { ?s ?p ?o }"> | |
12 <sanitizer sanitize="False"/> | |
13 </param> | |
14 <param name="out_format" type="select" label="Output format" help=""> | |
15 <option value="html" selected="true">HTML</option> | |
16 <option value="tab">TABULAR</option> | |
17 </param> | |
18 | |
19 </inputs> | |
20 <outputs> | |
21 <data format="html" name="output"> | |
22 <change_format> | |
23 <when input="out_format" value="tab" format="tabular" /> | |
24 </change_format> | |
25 </data> | |
26 </outputs> | |
27 <help> | |
28 | |
29 **Usage** | |
30 | |
31 An RDF file (in any format that RDFLib can accept) and a SPARQL query are needed. | |
32 | |
33 **About** | |
34 | |
35 More information and contact: http://github.com/mikel-egana-aranguren/SADI-Docker-Galaxy. | |
36 | |
37 </help> | |
38 | |
39 </tool> |