view galaxy-dist/tools/sparql_galaxy/SPARQLGalaxy.xml @ 3:24ad2706526c draft

Reimplemented in Python, using RDFLib
author mikel-egana-aranguren <>
date Fri, 25 Apr 2014 15:42:31 +0200
children 6501986529b0
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" > $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"/>
		<data format="html" name="output" />
**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