SlideShare a Scribd company logo
From Scientific Workflows to
Research Objects: Publication
and Abstraction of Scientific
Experiments
Daniel Garijo Verdejo
Supervisors: Oscar Corcho, Yolanda Gil

Ontology Engineering Group
Departamento de Inteligencia Artificial
Facultad de Informática
Universidad Politécnica de Madrid
Date: 12/02/2014
Outline

Index
1.
2.
3.
4.
5.

Background
What do I do?
Motivation
Overview
Representing and publishing scientific workflows in the Web
•
•
•

Linked Data
Templates and provenance traces
Standards

6. Common motifs among scientific workflows
•

Workflow motif catalog

7. Detecting common fragments among scientific workflows
8. Workflows as part of an experiment: Research Objects
2
What are Scientific Workflows?

•“Template defining the set of tasks needed to
carry out a computational experiment” [1]
•Inputs
•Steps
•Intermediate results
•Outputs
•Data driven, usually represented as Directed
Acyclic Graphs (DAGs)
[1] Ewa Deelman, Dennis Gannon, Matthew Shields, Ian Taylor, Workflows and e-science: an overview of workflow
system features and capabilities, Future Generation Computer Systems 25 (5) (2009) 528–540.
3
How are scientific workflows created?
Laboratory Protocol
(recipe)

Experiment

Lab book

Workflow

Digital Log

• Similar to Laboratory Protocols

4
What am I working on?

•Workflow representation
•Plan/template representation
•Provenance trace representation
•Link between templates and traces

CH1: Can we export an abstract template of the
method being represented?
CH2: How do we interoperate with other workflow
results?
CH3: How do we access the workflow results?

•Creation of abstractions/motifs in scientific workflows
•Abstraction catalog
•Find how different workflows are related

CH4: How can we detect what are the typical
operations in scientific workflows?
CH5: How can we detect them automatically?

•Understandability and reuse of scientific workflows
•Relation between the workflows involved in the same experiment
(Research Objects)

CH6: Which workflow parts are related to each other?
CH7: How do workflows depend on the other parts of
the experiments?
5
Motivation

•As a designer: Discovery
•Workflows with similar functionality fragments/methods
•Design based in previous templates.

•As user/reuser: Understandability, Exploration
•Search workflows by functionality
•Commonalities between execution runs

Workflow 1

•Component categorization

6
Overview

Abstraction definitions and categorization

Descriptions/
PSMs/Ontologies

Data mining tools,
graph analysis, etc.
Algorithms for finding the different
abstractions automatically

RDF Stores
Experiment publication

Provenance
representation

Plan
representation

Vocabularies

7
Taverna and Wings

http://www.taverna.org.uk/

http://www.wings-workflows.org/

8
Representing and publishing scientific workflows in the Web

Representing and publishing scientific
workflows in the Web

A New Approach for Publishing Workflows: Abstractions, Standards, and Linked Data. Garijo, D.; and Gil, Y. In
Proceedings of the 6th workshop on Workflows in support of large-scale science, page 47-56, Seattle, 2011. ACM
9
Overview

Abstractions definitions and categorization

Algorithms for finding the different
abstractions automatically

Experiment Publication

Provenance
representation

Plan
representation

Virtuoso,
Pubby,
Wings (+Plugin)
OPMW

10
What is Linked Data?

1. Use URIs as names for things.
2. Use HTTP URIs so that people can look up those names.

3. When someone looks up a URI, provide useful information.
4. Include links to other URIs.

“Linking Open Data cloud diagram, by Richard Cyganiak and Anja Jentzsch. http://lod-cloud.net/”
8
Publishing workflows: high level architecture
Other
workflow
environments

WINGS on local laptop
Core
Portal

Workflow
Template

OPM
export

Workflow
Instance

Programatic access
(external apps)

WINGS on shared host
Core

Portal

Workflow
Template

OPM
export

Workflow
Instance

Linked
Data
Publication

WINGS on web server
Core
Portal

Wings workflow
generation

Workflow
Template
Workflow
Instance

Interactive
Browsing
(Pubby frontend)

OPM
export

OPM
conversion

Users

Publication

Share

Reuse

12
OPMW: Process view

13
OPMW: Attribution view

14
Representing and publishing scientific workflows in the Web

Standards

PROV-O: The PROV Ontology. Lebo, T.; Sahoo, S.; McGuinness, D.; Belhajjame, K.; Corsar, D.; Cheney, J.; Garijo, D.;
Soiland-Reyes, S.; Zednik, S.; and Zhao, J. W3C Consortium. 2012.
15
Overview

Abstractions definitions and categorization

Algorithms for finding the different
abstractions automatically

Experiment Publication

Provenance
representation

Plan
representation

Virtuoso,
Pubby,
Wings (+Plugin)
OPMW + PROV
+ P-PLAN

16
P-PLAN

•Plans are not provenance
•P-PLAN: Simple plan model for binding traces to template representations
•Aligned with OPMW and PROV (W3C Provenance Standard)
Augmenting PROV with Plans in P-PLAN: Scientific Processes as Linked Data. Garijo, D.; and Gil, Y. In
Proceedings of the 2nd International Workshop on Linked Science 2012, Boston, 2012.
17
Representing and publishing scientific workflows in the Web

Common motifs among scientific
workflows

Common motifs in scientific workflows: An empirical analysis. Garijo, D.; Alper, P.; Belhajjame, K.; Corcho, O.;
Gil, Y.; and Goble, C. Future Generation Computer Systems, . 2013
18
Overview

Abstractions definitions and categorization

Motif Detection

Algorithms for automatic matching

Experiment Publication

Provenance
representation

Plan
representation

Virtuoso,
Pubby,
Wings (+Plugin)
OPMW

19
Overview

• Empirical analysis on 260 workflow templates from Taverna,
Wings, Galaxy and Vistrails
• Catalog of recurring patterns: scientific
workflow motifs.
• Data Oriented Motifs
• Workflow Oriented Motifs

•Understandability and reuse
http://sensefinancial.com/wp-content/uploads/2012/02/contribution.jpg
20
Approach

•Reverse-engineer the set of current practices in workflow
development through an analysis of empirical evidence
•Identify workflow abstractions that would facilitate
understandability and therefore effective re-use

21
Workflow Motifs
•Workflow motif: Domain independent conceptual abstraction on the workflow
steps.
1. Data-oriented motifs: What kind of manipulations does the workflow have?

•E.g.:
•Data retrieval
•Data preparation
• etc.
2.

WHAT?

Workflow-oriented motifs: How does the workflow perform its operations?
•E.g.:
•Stateful steps
•Stateless steps
•Human interactions
•etc.

HOW?
22
Motif Catalog

Data-Oriented Motifs

Workflow-Oriented Motifs

Data Retrieval
Data Preparation

Intra-Workflow Motifs
Stateful (Asynchronous) Invocations

Format Transformation

Stateless (Synchronous) Invocations

Input Augmentation
and Output Splitting

Internal Macros

Data Organisation
Data Analysis
Data Curation/Cleaning

Data Moving
Data Visualisation

Human Interactions
Inter-Workflow Motifs
Atomic Workflows
Composite Workflows
Workflow Overloading

Ontology Purl: http://purl.org/net/wf-motifs
23
Representing and publishing scientific workflows in the Web

Detecting common fragments among
scientific workflows (macro motifs)

Detecting common scientific workflow fragments using execution provenance. Garijo, D.; Corcho, O.; and Gil, Y. In
Proceedings of of the seventh international conference on Knowledge capture, page 33-40, Banff, 2013. ACM.
24
Summary: Work done at ISI

Abstractions definitions and categorization

Algorithms for automatic
matching

Macro
abstraction
detection

Experiment Publication

Provenance
representation

Plan
representation

Motif Detection

SUBDUE + PAFI
exploration and
integration in
RDF

Virtuoso,
Pubby,
Wings (+Plugin)
OPMW + PROV
+ P-PLAN

25
Macro abstraction detection
Problem statement:
Given a repository of workflow templates (either abstract or specific) or workflow
execution traces, what are the workflow fragments I can deduce from it?

Useful for:
•Systems like Taverna and Wings: (Many templates, little annotation to relate them)
•Finding relationships between workflows and sub-workflows.
•Most used fragments, most executed, etc.
•Systems like GenePattern and Galaxy: (Many runs, nearly no templates published)
•Proposing new templates with the popular fragments.

26
Challenges: Common workflow fragment detection
•Given a collection of workflows, which are the most common fragments?
•Common sub-graphs among the collection
•Sub-graph isomorphism (NP-complete)
•We use the SUBDUE algorithm [Holder et al 1994] (hierachical clustering)
•Graph Grammar learning
•The rules of the grammar are the workflow fragments
•Graph based hierarchical clustering
•Each cluster corresponds to a workflow fragment
•Iterative algorithm with two measures for compressing the graph:
•Minimum Description Length (MDL)
•Size
•Current tests with PAFI (http://glaros.dtc.umn.edu/gkhome/pafi/overview)
ongoing.
[Holder et al 1994]: Substructure Discovery in the SUBDUE System L. B. Holder, D. J. Cook, and S. Djoko. AAAI
Workshop on Knowledge Discovery, pages 169-180, 1994.
27
How does SUBDUE work?
DatasetT1

DatasetT1

ProcessType1

ProcessType1

DatasetT2

DatasetT2

DatasetT2

ProcessType2

ProcessType2

ProcessType2

DatasetT3

DatasetT3

DatasetT3

ProcessType3

Input Graph

DatasetT3

28
How does SUBDUE work?
DatasetT1

DatasetT1

ProcessType1

ProcessType1

DatasetT2

DatasetT2

DatasetT2

ProcessType2

ProcessType2

ProcessType2

DatasetT3

DatasetT3

DatasetT3

ProcessType3

Fragment1

Iteration 1

DatasetT3

29
How does SUBDUE work?

DatasetT1

DatasetT1

ProcessType1

ProcessType1

FRAG1

FRAG1

ProcessType3

DatasetT3

FRAG1

Iteration 1
result
30
How does SUBDUE work?

DatasetT1

DatasetT1

ProcessType1

ProcessType1

FRAG1

FRAG1

ProcessType3

Fragment2
FRAG1

Iteration 2

DatasetT3

31
How does SUBDUE work?

FRAG2

FRAG2

ProcessType3

DatasetT3

FRAG1

Iteration 2
result
(STOP)
32
How does SUBDUE work?

Results:
Fragment 1 (FRAG1) :

Fragment 2 (FRAG2):

DatasetT2

DatasetT1

ProcessType2
DatasetT3

Occurrences:
3 times

ProcessType1

FRAG1

2 times

33
Challenges: Generalization of workflows

Stemmer

Porter
Stemmer

Term Weighting
Lovins
Stemmer

TF

DF

CF
34
Research Objects

Workflow-Centric Research Objects: First Class Citizens in Scholarly Discourse. Belhajjame, K.; Corcho, O.;
Garijo, D.; Zhao, J.; Missier, P.; Newman, D.; Palma, R.; Bechhofer, S.; Garcıa, E.; Manuel, .G. J.; Klyne, G.; Page,
K.; Roos, M.; Ruiz, J. E.; Soiland-Reyes, S.; Verdes-Montenegro, L.; De Roure, D.; and Goble, C. In Proceedings of
the Second International Conference on the Future of Scholarly Communication and Scientific Publishing
Sepublica2012, page 1-12, Hersonissos, 2012
35
What is a Research Object?

•Aggregation of resources that bundles together the contents
of a research work:
•Data
•Experiments
•Examples
•Bibliography
•Annotations
•Provenance
•ROs
•Etc.

36
Research Objects: An Overview

+ Open Annotation

•Tool support
•Interoperability

http://www.openannotation.org/spec/core/

37
What can you find in a Research Object? A real example

TPDL 2013, Valleta, Malta.

3
Thanks !
:oscarCorcho

:yolandGil

:supervises

:idafenSantana

:supervises

Wf Infrastructure

OEG

:danielGarijo

:collaboratesWith

:olgaGiraldo

:varunRatnakar

:supervises

:collaboratesWith

:collaboratesWith
:collaboratesWith
:collaboratesWith

Laboratory Protocols

:collaboratesWith
:caroleGoble

:khalidBelhajjame

:pinarAlper
39
From Scientific Workflows to
Research Objects: Publication
and Abstraction of Scientific
Experiments
Daniel Garijo Verdejo
Supervisors: Oscar Corcho, Yolanda Gil

Ontology Engineering Group
Departamento de Inteligencia Artificial
Facultad de Informática
Universidad Politécnica de Madrid
Date: 12/02/2014

More Related Content

PPTX
From Scientific Workflows to Research Objects: Publication and Abstraction of...
PPTX
Towards Computational Research Objects
PDF
grizzly - informal overview - pydata boston 2013
PPTX
The Landscape of Ontology Reuse in Linked Data - OEDW2012
PPTX
Detecting common scientific workflow fragments using templates and execution ...
PDF
Citation and Research Objects: Toward Active Research Objects
PPTX
SEEK for Science: A Data and Model Management Platform to support Open and Re...
PPTX
Reactions to the Open Spectral Database
From Scientific Workflows to Research Objects: Publication and Abstraction of...
Towards Computational Research Objects
grizzly - informal overview - pydata boston 2013
The Landscape of Ontology Reuse in Linked Data - OEDW2012
Detecting common scientific workflow fragments using templates and execution ...
Citation and Research Objects: Toward Active Research Objects
SEEK for Science: A Data and Model Management Platform to support Open and Re...
Reactions to the Open Spectral Database

What's hot (8)

PPTX
Common Motifs in Scientific Workflows: An Empirical Analysis
PDF
From Workflows to Transparent Research Objects and Reproducible Science Tales
PDF
Computational Reproducibility vs. Transparency: Is It FAIR Enough?
PPT
SQL is Dead; Long Live SQL: Lightweight Query Services for Long Tail Science
PDF
Benchmarking Domain-specific Expert Search using Workshop Program Committees
PPT
Small Is Beautiful: Summarizing Scientific Workflows Using Semantic Annotat...
PPTX
The Computer Science Ontology: A Large-Scale Taxonomy of Research Areas
PDF
The Computer Science Ontology: A Large-Scale Taxonomy of Research Areas
Common Motifs in Scientific Workflows: An Empirical Analysis
From Workflows to Transparent Research Objects and Reproducible Science Tales
Computational Reproducibility vs. Transparency: Is It FAIR Enough?
SQL is Dead; Long Live SQL: Lightweight Query Services for Long Tail Science
Benchmarking Domain-specific Expert Search using Workshop Program Committees
Small Is Beautiful: Summarizing Scientific Workflows Using Semantic Annotat...
The Computer Science Ontology: A Large-Scale Taxonomy of Research Areas
The Computer Science Ontology: A Large-Scale Taxonomy of Research Areas
Ad

Viewers also liked (8)

PDF
Research Shared: researchobject.org
PPTX
Research Publications Management: Issues and Possibilities at SMU (P. Yeo)
PPT
Publications in Research Journals
PDF
Lightning Talk Session - Elsevier (C. Shillum)
PPTX
Reproducibility, Research Objects and Reality, Leiden 2016
PPTX
Types of Publications
PDF
Importance of research publication pg society
PDF
Scientific Research and its publication
Research Shared: researchobject.org
Research Publications Management: Issues and Possibilities at SMU (P. Yeo)
Publications in Research Journals
Lightning Talk Session - Elsevier (C. Shillum)
Reproducibility, Research Objects and Reality, Leiden 2016
Types of Publications
Importance of research publication pg society
Scientific Research and its publication
Ad

Similar to From Scientific Workflows to Research Objects: Publication and Abstraction of Scientific Experiments (20)

PPTX
Creating abstractions from scientific workflows: PhD symposium 2015
PPTX
Research Objects for improved sharing and reproducibility
PPTX
Credible workshop
PPTX
The Research Object Initiative: Frameworks and Use Cases
PPTX
PhD Thesis: Mining abstractions in scientific workflows
PPTX
Capturing Context in Scientific Experiments: Towards Computer-Driven Science
PPTX
Introduction to FAIRDOM
PPT
Results may vary: Collaborations Workshop, Oxford 2014
PDF
Sharing massive data analysis: from provenance to linked experiment reports
PPTX
The Rhetoric of Research Objects
PPTX
FAIRer Research
PDF
A Clean Slate?
PPTX
Conservation of Scientific Workflow Infrastructures by Using Semantics - 2012
PDF
Research Objects Tutorial (TPDL)
PPTX
AgriFood Data, Models, Standards, Tools, Use Cases
PDF
Linked Open Data: Combining Data for the Social Sciences and Humanities (and ...
PPTX
Metadata for Research Objects
PPTX
Research Objects in Scientific Publications
PDF
Ethics reproducibility and data stewardship
PPTX
Research Objects: more than the sum of the parts
Creating abstractions from scientific workflows: PhD symposium 2015
Research Objects for improved sharing and reproducibility
Credible workshop
The Research Object Initiative: Frameworks and Use Cases
PhD Thesis: Mining abstractions in scientific workflows
Capturing Context in Scientific Experiments: Towards Computer-Driven Science
Introduction to FAIRDOM
Results may vary: Collaborations Workshop, Oxford 2014
Sharing massive data analysis: from provenance to linked experiment reports
The Rhetoric of Research Objects
FAIRer Research
A Clean Slate?
Conservation of Scientific Workflow Infrastructures by Using Semantics - 2012
Research Objects Tutorial (TPDL)
AgriFood Data, Models, Standards, Tools, Use Cases
Linked Open Data: Combining Data for the Social Sciences and Humanities (and ...
Metadata for Research Objects
Research Objects in Scientific Publications
Ethics reproducibility and data stewardship
Research Objects: more than the sum of the parts

More from dgarijo (20)

PDF
FOOPS!: An Ontology Pitfall Scanner for the FAIR principles
PDF
FAIR Workflows: A step closer to the Scientific Paper of the Future
PPTX
Towards Reusable Research Software
PDF
SOMEF: a metadata extraction framework from software documentation
PPTX
A Template-Based Approach for Annotating Long-Tailed Datasets
PPTX
OBA: An Ontology-Based Framework for Creating REST APIs for Knowledge Graphs
PPTX
Towards Knowledge Graphs of Reusable Research Software Metadata
PPTX
Scientific Software Registry Collaboration Workshop: From Software Metadata r...
PPTX
WDPlus: Leveraging Wikidata to Link and Extend Tabular Data
PPTX
OKG-Soft: An Open Knowledge Graph With Mathine Readable Scientific Software M...
PPTX
Towards Human-Guided Machine Learning - IUI 2019
PPTX
A Controlled Crowdsourcing Approach for Practical Ontology Extensions and Met...
PPTX
WIDOCO: A Wizard for Documenting Ontologies
PPTX
Towards Automating Data Narratives
PDF
Automated Hypothesis Testing with Large Scale Scientific Workflows
PDF
OntoSoft: A Distributed Semantic Registry for Scientific Software
PDF
OEG tools for supporting Ontology Engineering
PDF
Software Metadata: Describing "dark software" in GeoSciences
PPTX
Reproducibility Using Semantics: An Overview
PPTX
Publicación de datos y métodos científicos en investigación
FOOPS!: An Ontology Pitfall Scanner for the FAIR principles
FAIR Workflows: A step closer to the Scientific Paper of the Future
Towards Reusable Research Software
SOMEF: a metadata extraction framework from software documentation
A Template-Based Approach for Annotating Long-Tailed Datasets
OBA: An Ontology-Based Framework for Creating REST APIs for Knowledge Graphs
Towards Knowledge Graphs of Reusable Research Software Metadata
Scientific Software Registry Collaboration Workshop: From Software Metadata r...
WDPlus: Leveraging Wikidata to Link and Extend Tabular Data
OKG-Soft: An Open Knowledge Graph With Mathine Readable Scientific Software M...
Towards Human-Guided Machine Learning - IUI 2019
A Controlled Crowdsourcing Approach for Practical Ontology Extensions and Met...
WIDOCO: A Wizard for Documenting Ontologies
Towards Automating Data Narratives
Automated Hypothesis Testing with Large Scale Scientific Workflows
OntoSoft: A Distributed Semantic Registry for Scientific Software
OEG tools for supporting Ontology Engineering
Software Metadata: Describing "dark software" in GeoSciences
Reproducibility Using Semantics: An Overview
Publicación de datos y métodos científicos en investigación

Recently uploaded (20)

PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
master seminar digital applications in india
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Institutional Correction lecture only . . .
PPTX
Cell Structure & Organelles in detailed.
PDF
Basic Mud Logging Guide for educational purpose
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Complications of Minimal Access Surgery at WLH
PDF
Pre independence Education in Inndia.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Business Ethics Teaching Materials for college
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
master seminar digital applications in india
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
TR - Agricultural Crops Production NC III.pdf
VCE English Exam - Section C Student Revision Booklet
Microbial disease of the cardiovascular and lymphatic systems
Institutional Correction lecture only . . .
Cell Structure & Organelles in detailed.
Basic Mud Logging Guide for educational purpose
FourierSeries-QuestionsWithAnswers(Part-A).pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Complications of Minimal Access Surgery at WLH
Pre independence Education in Inndia.pdf
PPH.pptx obstetrics and gynecology in nursing
O5-L3 Freight Transport Ops (International) V1.pdf
Business Ethics Teaching Materials for college

From Scientific Workflows to Research Objects: Publication and Abstraction of Scientific Experiments

  • 1. From Scientific Workflows to Research Objects: Publication and Abstraction of Scientific Experiments Daniel Garijo Verdejo Supervisors: Oscar Corcho, Yolanda Gil Ontology Engineering Group Departamento de Inteligencia Artificial Facultad de Informática Universidad Politécnica de Madrid Date: 12/02/2014
  • 2. Outline Index 1. 2. 3. 4. 5. Background What do I do? Motivation Overview Representing and publishing scientific workflows in the Web • • • Linked Data Templates and provenance traces Standards 6. Common motifs among scientific workflows • Workflow motif catalog 7. Detecting common fragments among scientific workflows 8. Workflows as part of an experiment: Research Objects 2
  • 3. What are Scientific Workflows? •“Template defining the set of tasks needed to carry out a computational experiment” [1] •Inputs •Steps •Intermediate results •Outputs •Data driven, usually represented as Directed Acyclic Graphs (DAGs) [1] Ewa Deelman, Dennis Gannon, Matthew Shields, Ian Taylor, Workflows and e-science: an overview of workflow system features and capabilities, Future Generation Computer Systems 25 (5) (2009) 528–540. 3
  • 4. How are scientific workflows created? Laboratory Protocol (recipe) Experiment Lab book Workflow Digital Log • Similar to Laboratory Protocols 4
  • 5. What am I working on? •Workflow representation •Plan/template representation •Provenance trace representation •Link between templates and traces CH1: Can we export an abstract template of the method being represented? CH2: How do we interoperate with other workflow results? CH3: How do we access the workflow results? •Creation of abstractions/motifs in scientific workflows •Abstraction catalog •Find how different workflows are related CH4: How can we detect what are the typical operations in scientific workflows? CH5: How can we detect them automatically? •Understandability and reuse of scientific workflows •Relation between the workflows involved in the same experiment (Research Objects) CH6: Which workflow parts are related to each other? CH7: How do workflows depend on the other parts of the experiments? 5
  • 6. Motivation •As a designer: Discovery •Workflows with similar functionality fragments/methods •Design based in previous templates. •As user/reuser: Understandability, Exploration •Search workflows by functionality •Commonalities between execution runs Workflow 1 •Component categorization 6
  • 7. Overview Abstraction definitions and categorization Descriptions/ PSMs/Ontologies Data mining tools, graph analysis, etc. Algorithms for finding the different abstractions automatically RDF Stores Experiment publication Provenance representation Plan representation Vocabularies 7
  • 9. Representing and publishing scientific workflows in the Web Representing and publishing scientific workflows in the Web A New Approach for Publishing Workflows: Abstractions, Standards, and Linked Data. Garijo, D.; and Gil, Y. In Proceedings of the 6th workshop on Workflows in support of large-scale science, page 47-56, Seattle, 2011. ACM 9
  • 10. Overview Abstractions definitions and categorization Algorithms for finding the different abstractions automatically Experiment Publication Provenance representation Plan representation Virtuoso, Pubby, Wings (+Plugin) OPMW 10
  • 11. What is Linked Data? 1. Use URIs as names for things. 2. Use HTTP URIs so that people can look up those names. 3. When someone looks up a URI, provide useful information. 4. Include links to other URIs. “Linking Open Data cloud diagram, by Richard Cyganiak and Anja Jentzsch. http://lod-cloud.net/” 8
  • 12. Publishing workflows: high level architecture Other workflow environments WINGS on local laptop Core Portal Workflow Template OPM export Workflow Instance Programatic access (external apps) WINGS on shared host Core Portal Workflow Template OPM export Workflow Instance Linked Data Publication WINGS on web server Core Portal Wings workflow generation Workflow Template Workflow Instance Interactive Browsing (Pubby frontend) OPM export OPM conversion Users Publication Share Reuse 12
  • 15. Representing and publishing scientific workflows in the Web Standards PROV-O: The PROV Ontology. Lebo, T.; Sahoo, S.; McGuinness, D.; Belhajjame, K.; Corsar, D.; Cheney, J.; Garijo, D.; Soiland-Reyes, S.; Zednik, S.; and Zhao, J. W3C Consortium. 2012. 15
  • 16. Overview Abstractions definitions and categorization Algorithms for finding the different abstractions automatically Experiment Publication Provenance representation Plan representation Virtuoso, Pubby, Wings (+Plugin) OPMW + PROV + P-PLAN 16
  • 17. P-PLAN •Plans are not provenance •P-PLAN: Simple plan model for binding traces to template representations •Aligned with OPMW and PROV (W3C Provenance Standard) Augmenting PROV with Plans in P-PLAN: Scientific Processes as Linked Data. Garijo, D.; and Gil, Y. In Proceedings of the 2nd International Workshop on Linked Science 2012, Boston, 2012. 17
  • 18. Representing and publishing scientific workflows in the Web Common motifs among scientific workflows Common motifs in scientific workflows: An empirical analysis. Garijo, D.; Alper, P.; Belhajjame, K.; Corcho, O.; Gil, Y.; and Goble, C. Future Generation Computer Systems, . 2013 18
  • 19. Overview Abstractions definitions and categorization Motif Detection Algorithms for automatic matching Experiment Publication Provenance representation Plan representation Virtuoso, Pubby, Wings (+Plugin) OPMW 19
  • 20. Overview • Empirical analysis on 260 workflow templates from Taverna, Wings, Galaxy and Vistrails • Catalog of recurring patterns: scientific workflow motifs. • Data Oriented Motifs • Workflow Oriented Motifs •Understandability and reuse http://sensefinancial.com/wp-content/uploads/2012/02/contribution.jpg 20
  • 21. Approach •Reverse-engineer the set of current practices in workflow development through an analysis of empirical evidence •Identify workflow abstractions that would facilitate understandability and therefore effective re-use 21
  • 22. Workflow Motifs •Workflow motif: Domain independent conceptual abstraction on the workflow steps. 1. Data-oriented motifs: What kind of manipulations does the workflow have? •E.g.: •Data retrieval •Data preparation • etc. 2. WHAT? Workflow-oriented motifs: How does the workflow perform its operations? •E.g.: •Stateful steps •Stateless steps •Human interactions •etc. HOW? 22
  • 23. Motif Catalog Data-Oriented Motifs Workflow-Oriented Motifs Data Retrieval Data Preparation Intra-Workflow Motifs Stateful (Asynchronous) Invocations Format Transformation Stateless (Synchronous) Invocations Input Augmentation and Output Splitting Internal Macros Data Organisation Data Analysis Data Curation/Cleaning Data Moving Data Visualisation Human Interactions Inter-Workflow Motifs Atomic Workflows Composite Workflows Workflow Overloading Ontology Purl: http://purl.org/net/wf-motifs 23
  • 24. Representing and publishing scientific workflows in the Web Detecting common fragments among scientific workflows (macro motifs) Detecting common scientific workflow fragments using execution provenance. Garijo, D.; Corcho, O.; and Gil, Y. In Proceedings of of the seventh international conference on Knowledge capture, page 33-40, Banff, 2013. ACM. 24
  • 25. Summary: Work done at ISI Abstractions definitions and categorization Algorithms for automatic matching Macro abstraction detection Experiment Publication Provenance representation Plan representation Motif Detection SUBDUE + PAFI exploration and integration in RDF Virtuoso, Pubby, Wings (+Plugin) OPMW + PROV + P-PLAN 25
  • 26. Macro abstraction detection Problem statement: Given a repository of workflow templates (either abstract or specific) or workflow execution traces, what are the workflow fragments I can deduce from it? Useful for: •Systems like Taverna and Wings: (Many templates, little annotation to relate them) •Finding relationships between workflows and sub-workflows. •Most used fragments, most executed, etc. •Systems like GenePattern and Galaxy: (Many runs, nearly no templates published) •Proposing new templates with the popular fragments. 26
  • 27. Challenges: Common workflow fragment detection •Given a collection of workflows, which are the most common fragments? •Common sub-graphs among the collection •Sub-graph isomorphism (NP-complete) •We use the SUBDUE algorithm [Holder et al 1994] (hierachical clustering) •Graph Grammar learning •The rules of the grammar are the workflow fragments •Graph based hierarchical clustering •Each cluster corresponds to a workflow fragment •Iterative algorithm with two measures for compressing the graph: •Minimum Description Length (MDL) •Size •Current tests with PAFI (http://glaros.dtc.umn.edu/gkhome/pafi/overview) ongoing. [Holder et al 1994]: Substructure Discovery in the SUBDUE System L. B. Holder, D. J. Cook, and S. Djoko. AAAI Workshop on Knowledge Discovery, pages 169-180, 1994. 27
  • 28. How does SUBDUE work? DatasetT1 DatasetT1 ProcessType1 ProcessType1 DatasetT2 DatasetT2 DatasetT2 ProcessType2 ProcessType2 ProcessType2 DatasetT3 DatasetT3 DatasetT3 ProcessType3 Input Graph DatasetT3 28
  • 29. How does SUBDUE work? DatasetT1 DatasetT1 ProcessType1 ProcessType1 DatasetT2 DatasetT2 DatasetT2 ProcessType2 ProcessType2 ProcessType2 DatasetT3 DatasetT3 DatasetT3 ProcessType3 Fragment1 Iteration 1 DatasetT3 29
  • 30. How does SUBDUE work? DatasetT1 DatasetT1 ProcessType1 ProcessType1 FRAG1 FRAG1 ProcessType3 DatasetT3 FRAG1 Iteration 1 result 30
  • 31. How does SUBDUE work? DatasetT1 DatasetT1 ProcessType1 ProcessType1 FRAG1 FRAG1 ProcessType3 Fragment2 FRAG1 Iteration 2 DatasetT3 31
  • 32. How does SUBDUE work? FRAG2 FRAG2 ProcessType3 DatasetT3 FRAG1 Iteration 2 result (STOP) 32
  • 33. How does SUBDUE work? Results: Fragment 1 (FRAG1) : Fragment 2 (FRAG2): DatasetT2 DatasetT1 ProcessType2 DatasetT3 Occurrences: 3 times ProcessType1 FRAG1 2 times 33
  • 34. Challenges: Generalization of workflows Stemmer Porter Stemmer Term Weighting Lovins Stemmer TF DF CF 34
  • 35. Research Objects Workflow-Centric Research Objects: First Class Citizens in Scholarly Discourse. Belhajjame, K.; Corcho, O.; Garijo, D.; Zhao, J.; Missier, P.; Newman, D.; Palma, R.; Bechhofer, S.; Garcıa, E.; Manuel, .G. J.; Klyne, G.; Page, K.; Roos, M.; Ruiz, J. E.; Soiland-Reyes, S.; Verdes-Montenegro, L.; De Roure, D.; and Goble, C. In Proceedings of the Second International Conference on the Future of Scholarly Communication and Scientific Publishing Sepublica2012, page 1-12, Hersonissos, 2012 35
  • 36. What is a Research Object? •Aggregation of resources that bundles together the contents of a research work: •Data •Experiments •Examples •Bibliography •Annotations •Provenance •ROs •Etc. 36
  • 37. Research Objects: An Overview + Open Annotation •Tool support •Interoperability http://www.openannotation.org/spec/core/ 37
  • 38. What can you find in a Research Object? A real example TPDL 2013, Valleta, Malta. 3
  • 40. From Scientific Workflows to Research Objects: Publication and Abstraction of Scientific Experiments Daniel Garijo Verdejo Supervisors: Oscar Corcho, Yolanda Gil Ontology Engineering Group Departamento de Inteligencia Artificial Facultad de Informática Universidad Politécnica de Madrid Date: 12/02/2014