# HG changeset patch # User Mikel Egana # Date 1441401885 -7200 # Node ID 54c48f9ca32bff0ba1e4892de47251c6dcaca32f first release diff -r 000000000000 -r 54c48f9ca32b tools/SADI-Docker/SADI-Docker-RDFSyntaxConverter.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/SADI-Docker/SADI-Docker-RDFSyntaxConverter.xml Fri Sep 04 23:24:45 2015 +0200 @@ -0,0 +1,49 @@ + + Converts RDF to N3, N-TRIPLE or TAB format + + mikeleganaaranguren/sadi:v6 + + + java -jar sadi/RDFSyntaxConverter.jar $input $format > $output 2>/dev/null + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + **What it does** + + Given an RDF input file, it converts it to N3, N-TRIPLE or TAB (A tab delimited file containing three columns -subjects, predicates and objects- for other Galaxy tools to consume). + + **About** + + More information and contact: http://github.com/mikel-egana-aranguren/SADI-Docker-Galaxy. + + + \ No newline at end of file diff -r 000000000000 -r 54c48f9ca32b tools/SADI-Docker/SADI-Docker-SPARQLGalaxy.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/SADI-Docker/SADI-Docker-SPARQLGalaxy.xml Fri Sep 04 23:24:45 2015 +0200 @@ -0,0 +1,39 @@ + + It executes an SPARQL query against the input RDF file and generates an HTML file with the variables and bound entities + + mikeleganaaranguren/sadi:v6 + + + python /sadi/sparql.py $ontology "$pasted_query" $out_format > $output 2>/dev/null + + + + + + + + + + + + + + + + + + + + + +**Usage** + + An RDF file (in any format that RDFLib can accept) and a SPARQL query are needed. + +**About** + + More information and contact: http://github.com/mikel-egana-aranguren/SADI-Docker-Galaxy. + + + + diff -r 000000000000 -r 54c48f9ca32b tools/SADI-Docker/SADI-Docker-mergeRDFgraphs.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/SADI-Docker/SADI-Docker-mergeRDFgraphs.xml Fri Sep 04 23:24:45 2015 +0200 @@ -0,0 +1,36 @@ + + Merge RDF graphs + + mikeleganaaranguren/sadi:v6 + + + python /sadi/MergeRDFGraphs.py + #for $i in $input_files + ${i.input_file} + #end for + > $output_file + + + + + + + + + + + +**What it does** + +Merge RDF graphs from history. + +**Output Format** + +Output RDF format is RDF/XML by default. + +**About** + +More information and contact: http://github.com/mikel-egana-aranguren/SADI-Docker-Galaxy. + + + diff -r 000000000000 -r 54c48f9ca32b tools/SADI-Docker/SADI-Docker-rapper.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/SADI-Docker/SADI-Docker-rapper.xml Fri Sep 04 23:24:45 2015 +0200 @@ -0,0 +1,32 @@ + + RDF converter (Rapper) + + mikeleganaaranguren/sadi:v6 + + + rapper -q $input_file -i $input_format -o $output_format > $output_file + + + + + + + + + + + + + + + + + + + +**What it does** + +This tool converts RDF format from/to N-Triples, Turtle, RDF/XML with Raptor's Rapper. + + + \ No newline at end of file diff -r 000000000000 -r 54c48f9ca32b tools/SADI-Docker/SADI-Docker-sadi_client.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/SADI-Docker/SADI-Docker-sadi_client.xml Fri Sep 04 23:24:45 2015 +0200 @@ -0,0 +1,30 @@ + + Invoke a SADI service, given an input RDF, synchronously + + mikeleganaaranguren/sadi:v6 + + + java -jar /sadi/sadi_client.jar $url $input > $output 2>/dev/null + + + + + + + + + + + + + + **What it does** + + Given an RDF input and a SADI service URL, sends the input to the service obtaining an output, synchronously. + + **About** + + More information and contact: http://github.com/mikel-egana-aranguren/SADI-Docker-Galaxy. + + + \ No newline at end of file diff -r 000000000000 -r 54c48f9ca32b tools/SADI-Docker/SADI-Docker-tab2rdf.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/SADI-Docker/SADI-Docker-tab2rdf.xml Fri Sep 04 23:24:45 2015 +0200 @@ -0,0 +1,85 @@ + + + + + Converter + + + mikeleganaaranguren/sadi:v6 + + + #if $namespace.choose_namespace=="none" + python /sadi/tab2rdf.py $input_file $output_file $output_format none + #for $i in $triples + ${i.s_col} ${i.p_val} ${i.o_col} ${i.o_type} + #end for + #else + python /sadi/tab2rdf.py $input_file $output_file $output_format $namespace.choosen_namespace + #for $i in $triples + ${i.s_col} ${i.p_val} ${i.o_col} ${i.o_type} + #end for + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**Important note** + +This is a modified version of Tab2RDF, local to SADI-Docker-Galaxy (http://github.com/mikel-egana-aranguren/SADI-Docker-Galaxy). + +**What it does** + +Sample Input:: + + name age superviser + Micheal 42 John + Anne 30 Micheal + +Sample Parameters:: + + Namespace - 'http://localhost/' + Triple 1 - c1 'age' c2(literal) + Triple 2 - c3 'supervises' c1(URI) + +Sample Output:: + + <http://localhost/Michael> <http://localhost/age> "42" + <http://localhost/Anne> <http://localhost/age> "30" + <http://localhost/John> <http://localhost/supervises> <http://localhost/Micheal> + <http://localhost/Micheal> <http://localhost/supervises> <http://localhost/Anne> + +**Output Format** + +Output RDF format is N-Triples by default. + + +