You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The conversion of templates and executions is independent. Therefore, there are two main methods to obtain the OPMW and PROV serializations:
Templates:
public String transformWINGSElaboratedTemplateToOPMW(String template,String mode, String outFile)
Input: the path of the .owl file of the Wings template, the serialization in which it's written (e.g., "RDF/XML") and the path of the file where you want the result.
Output: The URI assigned to the workflow template.
Input: the path of the .owl file of the Wings template, the path of the .owl file with the Wings execution library, the serialization in which both files are written (e.g., "RDF/XML") and the path of the files where you want the results (OPMW and PROV serializations are written in two files, but they share the same URIs).
Output: The URI assigned to the workflow execution account.
The project is based on the Jena framework for the conversion.
Assumptions
In order to link executions and templates correctly, the mapper assumes that variables and steps have asserted the relationship "wflow:derivedFrom", which states from which node in the original template comes the variable or step. Therefore, older versions of Wings are not supported.
Acknowledgements: I would like to thank Varun Ratnakar for his support while doing the mapper.