1
|
1 <tool id="sparql" name="SPARQL" version="0.1">
|
|
2 <description>Runner (Jena ARQ)</description>
|
|
3 <command interpreter="python">
|
|
4 sparql.py "$query" $input_file $output_file
|
|
5 </command>
|
|
6 <inputs>
|
|
7 <param name="input_file" type="data" label="Input RDF Data"/>
|
13
|
8 <param name="query" type="text" area="True" size="10x50" label="SPARQL Query" value="SELECT * WHERE { ?s ?p ?o } LIMIT 10">
|
1
|
9 <sanitizer sanitize="False"/>
|
|
10 </param>
|
|
11 </inputs>
|
|
12 <outputs>
|
|
13 <data name="output_file" format="tabular" label="${tool.name} on ${on_string}"/>
|
|
14 </outputs>
|
|
15 <help>
|
13
|
16
|
1
|
17 **What it does**
|
13
|
18
|
|
19 This tool executes SPARQL query on a RDF file with Jena ARQ.
|
|
20
|
|
21 To setup Jena ARQ, please refer README.txt in this tool's directory.
|
|
22
|
|
23 **Input RDF DATA**
|
|
24
|
|
25 Input RDF data has to be N-Triples format.
|
|
26
|
|
27 To input multiple RDF files, concatenate tails to heads and merge them into one file.
|
|
28
|
|
29 **SPARQL Tools**
|
|
30
|
|
31 Example:
|
|
32
|
|
33 SELECT * WHERE { ?s ?p ?o } LIMIT 10
|
|
34
|
1
|
35 </help>
|
|
36 </tool>
|