RDF file as input for SADI Workflow in Taverna

9 views
Skip to first unread message

Artjom Klein

unread,
Feb 27, 2012, 10:26:50 PM2/27/12
to sadi-dev
Is it possible to give an RDF file or a link to an RDF file on the web
as input to SADI services workflow in Taverna? I only found a constant
value as argument.

-Artjom

Luke McCarthy

unread,
Feb 27, 2012, 10:34:10 PM2/27/12
to sadi...@googlegroups.com
You know, that's never come up.

I'm pretty sure it's not possible with the plugin as it is now—in fact, it may not be possible with Taverna as it is now (since there's no support for RDF as a datatype and no way to read in an RDF file, at least last time I looked…)

Artjom Klein

unread,
Feb 27, 2012, 10:52:08 PM2/27/12
to sadi...@googlegroups.com
Thanks Luke,

if I understood right, from SADI Taverna tutorial KEGG Pathway identifier is given as a parameter? Can I set URL to RDF or TXT file as parameter? I am just trying to find a workaround that workflow in Taverna can somehow access a text or rdf as input...

Luke McCarthy

unread,
Feb 27, 2012, 11:09:51 PM2/27/12
to sadi...@googlegroups.com
No, I don't think that will work. You can send a service an RDF instance if you give it a string that looks like this:

"<uri-of-subject>
data in N3..."

So, for example:

"<http://lsrn.org/UniProt:P12345>
@prefix lsrn: <http://purl.oclc.org/SADI/LSRN/> .
@prefix sio: <http://semanticscience.org/resource/> .

<http://lsrn.org/UniProt:P12345>
a lsrn:UniProt_Record ;
sio:SIO_000671
[ a lsrn:UniProt_Identifier ;
sio:SIO_000300 "P12345"
] ."

Or you can send a list of those strings.

You could use a constant or a beanshell to produce the appropriate string.

Reply all
Reply to author
Forward
0 new messages