view sparql.xml @ 16:d779893dec56 draft default tip

author sem4j
date Wed, 11 Dec 2013 10:22:41 -0500
parents 8be8c890b3b8
line wrap: on
line source

<tool id="sparql" name="SPARQL" version="0.1">
  <description>Runner (Jena ARQ)</description>
  <command interpreter="python"> "$query" $input_file $output_file
    <param name="input_file" type="data" label="Input RDF Data"/>
    <param name="query" type="text" area="True" size="10x50" label="SPARQL Query" value="SELECT * WHERE { ?s ?p ?o } LIMIT 10">
      <sanitizer sanitize="False"/>
    <data name="output_file" format="tabular" label="${} on ${on_string}"/>

**What it does**

This tool executes SPARQL query on a RDF file with Jena ARQ.

To setup Jena ARQ, please refer README.txt in this tool's directory.

**Input RDF DATA**

Input RDF data has to be N-Triples format.

To input multiple RDF files, concatenate tails to heads and merge them into one file.

**SPARQL Tools**


SELECT * WHERE { ?s ?p ?o } LIMIT 10