view galaxy-dist/tools/sparql_galaxy/SPARQLGalaxy.xml @ 4:6501986529b0 draft

HTML or tabular option added
author mikel-egana-aranguren <>
date Mon, 28 Apr 2014 16:11:05 +0200
parents 24ad2706526c
line wrap: on
line source

<tool id="SPARQLGalaxy" name="Execute an SPARQL query against an RDF file" version="1.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>
	<command interpreter="python"> $ontology "$pasted_query" $out_format > $output 2>/dev/null
		<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 name="out_format" type="select" label="Output format" help="">
			<option value="html" selected="true">HTML</option>
			<option value="tab">TABULAR</option>

		<data format="html" name="output">
			<when input="out_format" value="tab" format="tabular" />

**Important note**

  RDFLib must be installed on the system (


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

**More information**

  Galaxy public instance with SPARQL-Galaxy pre-installed:


  Please send any request or comment to