view 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
line wrap: on
line source

<tool id="SADI-Docker-SPARQLGalaxy" name="SADI - Execute an SPARQL query against an RDF file" version="0.1">
	<description>It executes an SPARQL query against the input RDF file and generates an HTML file with the variables and bound entities</description>
	  	<requirements>
	  <container type="docker">mikeleganaaranguren/sadi:v6</container>
	</requirements>
	<command>
	   python /sadi/sparql.py $ontology "$pasted_query" $out_format > $output 2>/dev/null
	</command>
	<inputs>
		<param name="ontology" type="data" format="rdf" label="Input RDF file"/>		   
		<param name="pasted_query" type="text" area="True" size="10x50" label="SPARQL Query" value="SELECT * WHERE { ?s ?p ?o }">
		  <sanitizer sanitize="False"/>
		</param>	
		<param name="out_format" type="select" label="Output format" help="">
			<option value="html" selected="true">HTML</option>
			<option value="tab">TABULAR</option>
		</param>

	</inputs>
	<outputs>
		<data format="html" name="output">
		<change_format>
			<when input="out_format" value="tab" format="tabular" />
		 </change_format>
		 </data>
	</outputs>
	<help>
	  
**Usage**

  An RDF file (in any format that RDFLib can accept) and a SPARQL query are needed.

**About**
	  
  More information and contact: http://github.com/mikel-egana-aranguren/SADI-Docker-Galaxy.

	</help>

</tool>