This pages aims to help you test our SPARQL endpoint. We propose some sample queries that can be posted in the form at the bottom of the page. The results obtained will grow as we keep publishing workflows.
The first example query retrieves the different templates available in the respository:
prefix opmw: <http://www.opmw.org/ontology/> select distinct ?template where { ?template a opmw:WorkflowTemplate. }
If we now are curious about the runs associated to each template, the query is:
prefix opmw: <http://www.opmw.org/ontology/> select distinct ?template ?run where { ?template a opmw:WorkflowTemplate. ?run a opmw:WorkflowExecutionAccount. ?run opmw:correspondsToTemplate ?template. }
Now lets retrieve something different. What if I want to know how a certain file was generated? We only now the current location of the file, which is: http://wind.isi.edu/opmdata/resource/2/221/5a292b81e13d45bccdfe64d931fb655e.
This next query will retrieve the process that generated the file, its abstract process of the template, the run and the template itself:
prefix opmw: <http://www.opmw.org/ontology/> prefix opmv: <http://purl.org/net/opmv/ns#> prefix opmo: <http://openprovenance.org/model/opmo#> select distinct ?process ?absProcess ?run ?template where { ?artifact opmw:hasLocation "http://www.opmw.org/datasets/resource/2/221/2f681a26f9ccae58e04164a27a2f29b3"^^xsd:anyURI. ?artifact opmv:wasGeneratedBy ?process. ?artifact opmo:account ?run. ?process opmw:correspondsToTemplateProcess ?absProcess. ?absProcess opmw:isStepOfTemplate ?template. }
Note that each of the results is resolvable itself. Below are some examples of workflow templates and their executions. If you click on the link, you will be able to see all the resources linked to the URI:
Examples of published workflow templates:
See more here! (there are more than 70 published templates).
Examples of published workflow runs:
See more here! (there are more than 97 published workflow runs)