annotate sparql.xml @ 13:8be8c890b3b8 draft

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