comparison sparql.xml @ 13:8be8c890b3b8 draft

Uploaded
author sem4j
date Mon, 30 Sep 2013 23:22:23 -0400
parents cf03b7225f82
children
comparison
equal deleted inserted replaced
12:30a553efb31e 13:8be8c890b3b8
3 <command interpreter="python"> 3 <command interpreter="python">
4 sparql.py "$query" $input_file $output_file 4 sparql.py "$query" $input_file $output_file
5 </command> 5 </command>
6 <inputs> 6 <inputs>
7 <param name="input_file" type="data" label="Input RDF Data"/> 7 <param name="input_file" type="data" label="Input RDF Data"/>
8 <param name="query" type="text" area="True" size="10x50" label="SPARQL Query"> 8 <param name="query" type="text" area="True" size="10x50" label="SPARQL Query" value="SELECT * WHERE { ?s ?p ?o } LIMIT 10">
9 <sanitizer sanitize="False"/> 9 <sanitizer sanitize="False"/>
10 </param> 10 </param>
11 </inputs> 11 </inputs>
12 <outputs> 12 <outputs>
13 <data name="output_file" format="tabular" label="${tool.name} on ${on_string}"/> 13 <data name="output_file" format="tabular" label="${tool.name} on ${on_string}"/>
14 </outputs> 14 </outputs>
15 <help> 15 <help>
16
16 **What it does** 17 **What it does**
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
17 </help> 35 </help>
18 </tool> 36 </tool>