# HG changeset patch # User Mikel Egana Aranguren # Date 1386240324 -3600 # Node ID bb17b69a74c558f33b5a9570af1616831a43a07c # Parent 930ab982377310d42f397a3124d1f3db84f97068 RDF syntax converter added diff -r 930ab9823773 -r bb17b69a74c5 RDFSyntaxConverter.jar Binary file RDFSyntaxConverter.jar has changed diff -r 930ab9823773 -r bb17b69a74c5 RDFSyntaxConverter.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RDFSyntaxConverter.xml Thu Dec 05 11:45:24 2013 +0100 @@ -0,0 +1,30 @@ + + Converts RDF/XML to one of RDF/XML-ABBREV, N3, N-TRIPLE, TURTLE or tabular + + + + java -Xmx2000M -Xms250M -jar ${__tool_data_path__}/shared/jars/sadi_generic_client.jar $url $input $format > $output 2>/dev/null + + + + + + + + + + + + + + + **What it does** + + Given an RDF input file, it converts it to any of the following formats: N3, N-TRIPLE or TAB (A tab delimited file containing three columns for -subjects, predicates and objects-, for other Galaxy tools to consume). + + **About** + + More information and contact: http://github.com/mikel-egana-aranguren/SADI-Galaxy + + + \ No newline at end of file diff -r 930ab9823773 -r bb17b69a74c5 README --- a/README Wed Dec 04 09:01:28 2013 +0100 +++ b/README Thu Dec 05 11:45:24 2013 +0100 @@ -4,7 +4,8 @@ This is a client for SADI services. A SADI service consumes and ouputs RDF. Therefore, if you provide the service URI and a correct RDF input, this client will infer if the RDF is really compliant with the service -and submit it, obtaining the output RDF. +and submit it, obtaining the output RDF (Another tool, RDFSyntaxConverter, +is included to convert RDF to tab delimited files and other RDF syntaxes). This client is part of a larger project that provides SADI services as Galaxy tools, SADI-Galaxy. @@ -23,22 +24,23 @@ 1.- Stop Galaxy. -2.- Copy sadi_generic.jar galaxy-dist/tool-data/shared/jars/ +2.- Copy sadi_generic.jar and RDFSyntaxConverter.jar to galaxy-dist/tool-data/shared/jars/ 3.- Create directory galaxy-dist/tools/SADI/ -4.- Copy sadi_generic.xml to galaxy-dist/tools/SADI/ +4.- Copy sadi_generic.xml and RDFSyntaxConverter.xml to galaxy-dist/tools/SADI/ 5.- Add the following lines to /galaxy-dist/tool_conf.xml:
+
6.- Start Galaxy. (You can also install automatically from the tool shed but make -sure to copy the jar to right place) +sure to copy the jars to right place)