Hi Jerzy,

David Newman <[email protected]> in Southampton handles the RDF and SPARQL support.

David: I've attached a couple of main threads to this email so you can have a look (as well as the thread below) , as I don't believe you are on this list.

Cheers,
Jits


Jerzy Orlowski wrote:
Could You, please do not change the way of submitting queries and getting the results (or do it as little as possible) when you reach the "stable" version.

Jerzy Orlowski


Alan Williams wrote:
Mahmut Uludag wrote:
To make it automatic I prepare a POST query and send it to http://rdf.myexperiment.org/sparql and I get XML file with links to all the workflows
Thanks. I was not aware of RDF and SPARQL support in MyExperiment.
You should be aware that rdf.myexperiment.org is still under development and so is not yet supported as an official part of myexperiment. If you find any bugs in it, please send them to [email protected]

Using the SPARQL queries should not affect the main www.myexperiment.org site as the queries are run on a cached snapshot of the main site. That does mean though, that if you cannot debug your queries by altering attributes of workflows on the main site.

Mahmut
Alan

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq





------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq

--- Begin Message ---
I could do it. Downloading all the workflows is not be a problem (I do 
It using SPARQL). But where should I put the translated workflows?

I tried translate the workkflows using the code in CVS, and it worked (I 
got the Dataflow Object out of scuflModel Object) but I had problems for 
doing anything with I. For example, I did not know how to save it 
because importing the libraries we used at the workshop in Manchester 
resulted in errors.

Jerzy


Ian Dunlop wrote:
> Hello,
> 
>> but could
>> someone translate all the t1 workflows in MyExperiment?
> 
> Yes, I'm sure they could!  However, it would need some work.  There is  
> some demo code in the CVS (WorkflowChecker) for grabbing the myExp RSS  
> feed and automatically translating the workflows it finds.  I guess it  
> could be changed to use the myExp REST API.  However, someone would  
> need to write the code.  Are you volunteering yourself, Jerry?
> 
> Cheers,
> 
> Ian
> 
> Ian Dunlop
> myGrid team
> School of Computer Science
> University of Manchester
> 
> 
> 
> On 12 Mar 2009, at 14:03, Jerzy Orlowski wrote:
> 
>> I know that the translation is not included in the platform, but could
>> someone translate all the t1 workflows in MyExperiment?
>>
>> Jerzy Orlowski
>>
>> ------------------------------------------------------------------------------
>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM)  
>> are
>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly  
>> and
>> easily build your RIAs with Flex Builder, the Eclipse(TM)based  
>> development
>> software that enables intelligent coding and step-through debugging.
>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>> _______________________________________________
>> taverna-hackers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/taverna-hackers
>> Developers Guide: http://www.mygrid.org.uk/usermanual1.7/ 
>> dev_guide.html
>> FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
> 
> 
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> taverna-hackers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/taverna-hackers
> Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
> FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
> 
> 
> 


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq

--- End Message ---
--- Begin Message ---
The sparql command I use is:

         String query=


             "PREFIX dcterms: <http://purl.org/dc/terms/> "+
             "PREFIX mebase: 
<http://rdf.myexperiment.org/ontologies/base/> "+
             "PREFIX snarm: 
<http://rdf.myexperiment.org/ontologies/snarm/> " +
             "PREFIX sioc: <http://rdfs.org/sioc/ns#> " +
             "PREFIX mevd: 
<http://rdf.myexperiment.org/ontologies/viewings_downloads/> "+
             "select distinct ?url ?title ?description ?author ?viewed 
?downloaded " +
             "where "+
             "{ "+
             "  ?workflow dcterms:type ?thetype . "+
             "  ?workflow dcterms:title ?title . "+
             "  ?workflow dcterms:description ?description . "+
             "  ?workflow mebase:has-policy ?policy ."+
             "  ?workflow mebase:content-url ?url . " +
             "  ?workflow sioc:has_owner ?author .  " +
             "  ?workflow mevd:viewed ?viewed . " +
             "  ?workflow mevd:downloaded ?downloaded . " +
             "  ?policy snarm:has-access 
<http://rdf.myexperiment.org/ontologies/specific/PublicDownload> ." +
             "  FILTER 
(REGEX(?thetype,'application/vnd.taverna.scufl\\\\\\+xml')) "+
             "} ";



for T1 workflows


         String query=
             "PREFIX dcterms: <http://purl.org/dc/terms/>"+
             "PREFIX mebase: 
<http://rdf.myexperiment.org/ontologies/base/> "+
             "PREFIX snarm: 
<http://rdf.myexperiment.org/ontologies/snarm/> " +
             "PREFIX sioc: <http://rdfs.org/sioc/ns#> " +
             "PREFIX mevd: 
<http://rdf.myexperiment.org/ontologies/viewings_downloads/> " +
             "select distinct ?url ?title ?description ?author ?viewed 
?downloaded " +
             "where "+
             "{ "+
             "  ?workflow dcterms:type ?thetype . "+
             "  ?workflow dcterms:title ?title . "+
             "  ?workflow dcterms:description ?description . "+
             "  ?workflow mebase:has-policy ?policy ."+
             "  ?workflow mebase:content-url ?url . " +
             "  ?workflow sioc:has_owner ?author .  " +
             "  ?workflow mevd:viewed ?viewed . " +
             "  ?workflow mevd:downloaded ?downloaded . " +
             "  ?policy snarm:has-access 
<http://rdf.myexperiment.org/ontologies/specific/PublicDownload> ." +
             "  FILTER (REGEX(?thetype,'taverna2beta')) "+
             "} ";

For T2 workflows.

To make it automatic I prepare a POST query and send it to 
http://rdf.myexperiment.org/sparql and I get XML file with links to all 
the workflows

Jerzy Orlowski





Mahmut Uludag wrote:
> Hi Jerzy,
> 
>> Downloading all the workflows is not be a problem (I do 
>> It using SPARQL).
> 
> Can you please elaborate this? For example, if i want to download
> workflows in MyExperiment what should i do?
> 
> I need to understand semantic web technologies and SPARQL but quite
> confused at the moment. I hope this will not offend anyone on the list
> as my question is not related to taverna.
> 
> Regards,
> Mahmut
> 
> 
> 
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> taverna-hackers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/taverna-hackers
> Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
> FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
> 
> 
> 


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq

--- End Message ---
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq

Reply via email to