KnowledgeCaptureAndDiscovery / wings

Wings workflow system
http://www.wings-workflows.org
Apache License 2.0
48 stars 21 forks source link

Where/How do we view PROV of executed workflows? #22

Closed olyerickson closed 9 years ago

olyerickson commented 9 years ago

One of the things that excites us about using WINGS is the possibility of generating accurate and relevant PROV instance data. But I can't figure out how to see this...

IKCAP commented 9 years ago

[tomcat-server]/wings-portal/export/users/[userid]/[domain]/executions/[runid].owl

The runid can be found on the Access Runs page

olyerickson commented 9 years ago

Which identifiers are the runids?

For example, are the identifiers in these tabs the runids?

Is there an easy way to copy/paste these? selection_485

olyerickson commented 9 years ago

I can't find a path on my machine matching this structure

IKCAP commented 9 years ago

Yes John, those are the runids. I didn’t realise that we couldn’t copy/paste them. The way I normally get the provenance url is by looking at the Developer tools window and the Network requests. See attached screenshot:

olyerickson commented 9 years ago

I'm not seeing a "Developer Tools" window...

IKCAP commented 9 years ago

Depends on your browser really. Javascript console maybe ? I use Google chrome to get this.

By the way, you wouldn’t find the results in file format in your machine. The RDF/OWL file is generated by the “Export” servlet by reading the internal TDB triple store.

Example: http://www.wings-workflows.org/wings-portal/export/users/admin/DMDomain/executions/ModelThenClassif-056b018e-b77d-45b9-ab2c-734e191506c1.owl

All urls that start with export/.. are essentially sent over to the “Export” servlet, which reads the internal TDB triple store and returns and RDF/OWL serialization of the requested graph. All workflows, component descriptions, data descriptions, and run details are stored in the triple store, and accessible in the same way.

Regards, Varun

On 14 Oct 2015, at 16:26, John S. Erickson, Ph.D. notifications@github.com wrote:

I'm not seeing a "Developer Tools" window...

— Reply to this email directly or view it on GitHub https://github.com/IKCAP/wings/issues/22#issuecomment-148084897.

olyerickson commented 9 years ago

Oh, THAT "Developer Tools!" ;)

I was able to grab the runids but can't find anything on my machine with those names

IKCAP commented 9 years ago

Haha, yes. I should've been clearer earlier :-)

The run details are extracted from the run URL. So as long as you see the run details, the URL should be reference-able.

olyerickson commented 9 years ago

I now see that you were giving me a URL and not a file path. Using a runid Interleaved-57a0-83f38579-ad61-4b77-a91b-700c8f280fd1 I was able to see the OWL!

olyerickson commented 9 years ago

Note that the web application installs with the name "wings-portal-4.0-SNAPSHOT" so the URL looks more like...

http://localhost:8080/wings-portal-4.0-SNAPSHOT/export/users/olyerickson/CompareFiles_2_/executions/Interleaved-57a0-83f38579-ad61-4b77-a91b-700c8f280fd1.owl

IKCAP commented 9 years ago

Great ! Sorry about the confusion !

olyerickson commented 9 years ago

Have you published your ontology for representing workflow execution? Sorry if it is on the WINGS website and I missed it

olyerickson commented 9 years ago

BTW here is a visualization I just did, depicting the workflow plan selection_486

olyerickson commented 9 years ago

What are your plans w.r.t. PROV-O? ;)

dgarijo commented 9 years ago

Hi @olyerickson, what you posted seems to be the plan used to specify the run, but not the provenance itself. The ontology for publishing provenance of the workflows is at: http://www.opmw.org/ontology/. The ontology for specifying plans is published at http://purl.org/net/p-plan.

dgarijo commented 9 years ago

And the bit from the figure seems to be a particular extension of P-plan for capturing how the plans are invoked: http://purl.org/net/wf-invocation. I hope this helps.

olyerickson commented 9 years ago

This is great...thanks!

IKCAP commented 9 years ago

Thanks for the response Daniel !

@olyerickson: Daniel is involved with the provenance publishing module for Wings.

On 14 Oct 2015, at 17:30, Daniel Garijo notifications@github.com wrote:

And the bit from the figure seems to be a particular extension of P-plan for capturing how the plans are invoked: http://purl.org/net/wf-invocation http://purl.org/net/wf-invocation. I hope this helps.

— Reply to this email directly or view it on GitHub https://github.com/IKCAP/wings/issues/22#issuecomment-148107489.

olyerickson commented 9 years ago

Closing this issue, because it has answered my initial provenance question(s)