diff tab2rdf.xml @ 4:8c7a1b951bb3 draft

Uploaded
author sem4j
date Wed, 25 Sep 2013 02:38:39 -0400
parents
children 6d2424f16a83
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tab2rdf.xml	Wed Sep 25 02:38:39 2013 -0400
@@ -0,0 +1,30 @@
+<tool id="tab2rdf" name="Tab-to-RDF" version="0.1">
+  <description>Converter</description>
+  <command interpreter="python">
+    tab2rdf.py $input_file $output_file $output_format $namespace
+    #for $i in $triples
+      ${i.s_col} ${i.p_val} ${i.o_col} ${i.o_type}
+    #end for
+  </command>
+  <inputs>
+    <param name="input_file" type="data" format="tabular" label="Input File (tabular)"/>
+    <param name="namespace" type="text" size="50" value="http://" label="Namespace (Subject)" />
+    <param name="output_format" type="select" label="Output Format">
+      <option value="ntriples">N-Triples</option>
+      <option value="turtle">Turtle</option>
+      <option value="rdfxml">RDF/XML</option>
+    </param>
+    <repeat name="triples" title="Triples">
+      <param name="s_col" type="data_column" data_ref="input_file" label="Column (Subject)" />
+      <param name="p_val" type="text" size="50" value="a" label="Namespace (Subject)" />
+      <param name="o_col" type="data_column" data_ref="input_file" label="Column (Object)" />
+      <param name="o_type" label="Check if o is URI (Uncheck if o is Leteral)" type="boolean" truevalue="1" falsevalue="0" checked="False"/>
+    </repeat>
+  </inputs>
+  <outputs>
+    <data name="output_file" format="tabular" label="${tool.name} on ${on_string}"/>
+  </outputs>
+  <help>
+**What it does**
+  </help>
+</tool>