SlideShare a Scribd company logo
GRANT AGREEMENT: 601138 | SCHEME FP7 ICT 2011.4.3
Promoting and Enhancing Reuse of Information throughout the Content Lifecycle taking account of Evolving Semantics [Digital
Preservation]
“This project has received funding from the European Union’s
Seventh Framework Programme for research, technological
development and demonstration under grant agreement no601138”.
AUTOMATIC POLICY APPLICATION AND CHANGE
MANAGEMENT
From model to real world. A use case demonstration with PERICLES
technologies
Fabio Corubolo (University of Liverpool)
and PERICLES partners*
▶ Johannes Biermann, Claudio Leone, Anna Eggers
(UGOE)
▶ Marina Riga, Stratos Kontopoulos (CERTH)
▶ David De Weerdt (Spaceapps)
▶ Jean-Yves Vion-Dury (XRCE)
▶ Jérôme Fuselier (ULIV)
▶ Simon Waddington (KCL)
* credits
▶ How policies can be modelled, implemented
and automatically applied using PERICLES
tools
▶ How policy change can be managed with
the tools
▶ A general architecture for change
management
What we want to demonstrate
▶ SEVIRI Images are data from the Meteosat Second
Generation (MSG) geostationary satellite with
Spinning Enhanced Visible and InfraRed Imager
(SEVIRI)
▶ Policy: make images public after an embargo period
▶ We implement an aspect of the policy: making images
public
▶ We manage change:
the embargo period being changed from 24 to 12
hours
▶ The rule will automatically publish the images based
on the parameter value
EUMETSAT scenario
EUMETSAT DEM
EUMETSAT data release policy
“Meteosat Data and Derived Products older than 24
hours are distributed on request from the
EUMETSAT Data Archive in digital and graphical
form via the associated operational service in
formats which represent both full and partial
spatial coverage as well as both full and partial
spatial resolution.”
(EUMETSAT data policy:
http://www.eumetsat.int/website/home/AboutUs/LegalInformation/DataPolicy/index.
html, S.14)
Policy
Data Release Date
Policy
Statements: natural
language; SPIN rule
Embargo Period: 24
Web Portal
Service Interface
SEVIRI Image
Digital Object
CreationDate: timestamp
ReleaseState: public / private
Location: URI
constrains
providesAccessTo
DEM: Focus on policy aspect
● Modelling and implementation of a policy with help
of PERICLES ontologies and tools
● Change of release policy from 24 hrs into 12 hrs
● Model Driven Approach: From reality to model and
back to reality
● Architecture of Approach: PERICLES ontologies and
tools can be combined according to a specific use
case.
What you will see
PERICLES based Architecture and
WF
ERMR
LRM-S
SPIN rule
engine
PERSIsT
API
EcoBuilder
Policy
editor
Processes
Rest API
DEM
DEM LRM-Delta:
Change policy parameter
MICE
DEM
DEM2
LRM-delta:
change
image
release
state
DEM2
Public web
portal
▶ Ecobuilder is used to create a DEM (Digital
Ecosystem Model) for the EUMETSAT scenario
▶ The model is submitted to the ERMR
repository
Step 1
ERMR
EcoBuilder
DEM
▶ GUI & Java API
for DEM
scenario
creation
▶ The policy and
SPIN rule are
expressed in
the model
EcoBuilder
▶ Large scale distributed data store and model
repository (triple store)
▶ Used for PERICLES models and data
▶ Accessible via Web interface or RESTful API
▶ Every action in ERMR triggers a notification
that can be used to execute responding
actions
ERMR
Output
java -cp EcoBuilder.jar experiments.SpacePolicyChangeConnector /tmp/ https://127.0.0.1 space user pass
...
…
...
ERMR
LRM-S
SPIN rule
engine
PERSIsT
API
EcoBuilder
Policy
editor
Processes
Rest API
DEM
DEM LRM-Delta:
Change policy parameter
MICE
DEM
DEM2
LRM-delta:
change
image
release
state
DEM2
Public web
portal
Step 2
▶ User changes the embargo period
▶ Policy editor sends DEM, DEM2 to the LRM Services
(LRM-S) and SPIN rule engine
LRM-SPolicy
editor
DEM
DEM
DEM2
SPIN rule
engine
DEM2
Web-based tool for creating and modifying a
consistent sets of policies.
▶ Template-based with automatically propagating
variables
▶ Support for custom policy models
▶ Can integrate with digital ecosystems
▶ Can execute processes linked to policies
▶ Export to PDF, JSON
Policy Editor
DEM:
DEM-Scenario:Releasedatepolicytimebeforerelease "24"
Output
DEM2:
DEM-Scenario:Releasedatepolicytimebeforerelease "12" .
ERMR
LRM-S
SPIN rule
engine
PERSIsT
API
EcoBuilder
Policy
editor
Processes
Rest API
DEM
DEM LRM-Delta:
Change policy parameter
MICE
DEM
DEM2
LRM-delta:
change
image
release
state
DEM2
Public web
portal
Step 3
LRM-S
PERSIsT
API
DEM
LRM-Delta:
Change policy parameter
DEM2
▶ LRM-S generates and sends the Policy LRM-Delta
to PERSIsT
▶ The LRM Services (LRM-S) provide mechanisms to
support the change of LRM based ontologies.
▶ It embeds an interpreter for a dedicated Stream-
based and Reactive language (ReAL) for handling RDF
triples
▶ It offers services through a REST API
▶ The basic services concern digital resources creation,
deletion and modification, as well as dependency
insertion.
▶ In this workflow, an LRM-Diff service is used to
compare RDF graphs and create LRM-Deltas to
describe the change
Linked Resource Model (Services)
The two following LRM-Deltas are generated to
represent the change between the two models, and
sent to PERSIsT:
<urn:delta:b7cb95396767> rdf:type LRM:RDF-Delta;
LRM:deletion <urn:stmt:c511641d285a>.
<urn:stmt:c511641d285a>
rdf:subject DEM-Scenario:releasedatepolicy ;
rdf:predicate DEM-
Scenario:releasedatepolicytimebeforerelease; rdf:object
"24".
<urn:delta:d77bb0d234c4> rdf:type LRM:RDF-Delta;
LRM:insertion <urn:stmt:d96eefaa4d9d>.
<urn:stmt:d96eefaa4d9d>
rdf:subject DEM-Scenario:releasedatepolicy;
rdf:predicate DEM-
Scenario:releasedatepolicytimebeforerelease;
rdf:object "12".
Output
ERMR
LRM-S
SPIN rule
engine
PERSIsT
API
EcoBuilder
Policy
editor
Processes
Rest API
DEM
DEM LRM-Delta:
Change policy parameter
MICE
DEM
DEM2
LRM-delta:
change
image
release
state
DEM2
Public web
portal
Step 4
SPIN rule
engine
PERSIsT
API
LRM-delta:
change
image
release
state
DEM2
▶ SPIN Rule Engine receives the new DEM; executes
the policy rule reporting the results to the PERSIsT
API
▶ RESTFUL web application and API + CLI
▶ Uses Apache Jena and TopQuadrant SPIN API
▶ Open source, with full documentation
Two modes of operation:
▶ DEM/LRM specific:
◦ Extracts and executes the rules from DEM
models
◦ Reports the changes back to models with
PERSIsT API.
▶ General: Execute SPIN rule inference and constraint
checking
SPIN Rule engine
SPIN Rule engine processing
DEM2
RULE
LRM-delta:
change
image
release
state
DEM-Scenario:SPINRULE
a DEM-Policy:PolicyStatement ;
DEM-Policy:format "formal" ;
DEM-Policy:language "SPIN" ;
LRM:definition """
<http://www.pericles-project.eu/ns/DEM-Core#DigitalObject>
spin:rule [
rdf:type sp:Construct ;
[...]
DEM-Scenario:SEVIRIImages
a DEM-Core:DigitalObject ;
rdfs:label "SEVIRI Images"@en ;
LRM:hasPart DEM-Scenario:SEVIRIImage1 , DEM-Scenario:SEVIRIImage2 , DEM-Scenario:SEVIRIImage3
, DEM-Scenario:SEVIRIImage4 ;
LRM:specifiedBy DEM-Scenario:HDFFormat .
DEM-Scenario:SEVIRIImage3
a DEM-Core:DigitalObject ;
[...]
DEM-Scenario:SEVIRIImage2
lrm:changedBy [ a lrm:RDF-Delta ;
lrm:deletion [ a rdf:Statement ;
rdf:object "private" ;
rdf:predicate DEM-Scenario:releaseState
] ;
lrm:insertion [ a rdf:Statement ;
rdf:object "public" ;
rdf:predicate DEM-Scenario:releaseState
]
] .
[...]
ERMR
LRM-S
SPIN rule
engine
PERSIsT
API
EcoBuilder
Policy
editor
Processes
Rest API
DEM
DEM LRM-Delta:
Change policy parameter
MICE
DEM
DEM2
LRM-delta:
change
image
release
state
DEM2
Public web
portal
Step 5
ERMR
PERSIsT
API
LRM-Delta:
Change policy parameter
LRM-delta:
change
image
release
state
▶ PERSIsT API receive DELTAS from LRM-S and SPIN
rule engine, converts to queries and updates the
ERMR
▶ Operates as a semantic interpretation (translation)
layer of the ontology stored in the ERMR
▶ Ontology in ERMR should be LRM-compliant
▶ Two main web services
1. Creates dependency graphs
2. a) Converts deltas to SPARQL update queries
b) Updates the ERMR repository according to
LRM-deltas
• Input (same parameters for both services):
• delta_stream
• ERMR_repository
PERSIsT API
PERSIsT API processing
LRM-delta:
change
image
release
state
DEM-Scenario:SEVIRIImage1
lrm:changedBy [ a lrm:RDF-Delta ;
lrm:deletion [ a rdf:Statement ;
rdf:object "private" ;
rdf:predicate DEM-Scenario:releaseState
] ;
lrm:insertion [ a rdf:Statement ;
rdf:object "public" ;
rdf:predicate DEM-Scenario:releaseState
]
] .
DEM-Scenario:SEVIRIImage2
lrm:changedBy [ a lrm:RDF-Delta ;
lrm:deletion [ a rdf:Statement ;
rdf:object "private" ;
rdf:predicate DEM-Scenario:releaseState
] ;
lrm:insertion [ a rdf:Statement ;
rdf:object "public" ;
rdf:predicate DEM-Scenario:releaseState
]
] .
"SPARQL_delete": "DELETE DATA {
<http://www.pericles-project.eu/ns/DEM-Scenario#SEVIRIImage1> <http://www.pericles-
project.eu/ns/DEM-Scenario#releaseState> "private" .
<http://www.pericles-project.eu/ns/DEM-Scenario#SEVIRIImage2> <http://www.pericles-
project.eu/ns/DEM-Scenario#releaseState> "private" . }",
"SPARQL_insert": "INSERT DATA {
<http://www.pericles-project.eu/ns/DEM-Scenario#SEVIRIImage1> <http://www.pericles-
project.eu/ns/DEM-Scenario#releaseState> "public" .
<http://www.pericles-project.eu/ns/DEM-Scenario#SEVIRIImage2> <http://www.pericles-
project.eu/ns/DEM-Scenario#releaseState> "public"
ERMR
Update triples
queries
ERMR
LRM-S
SPIN rule
engine
PERSIsT
API
EcoBuilder
Policy
editor
Processes
Rest API
DEM
DEM LRM-Delta:
Change policy parameter
MICE
DEM
DEM2
LRM-delta:
change
image
release
state
DEM2
Public web
portal
Step 6
▶ The ERMR DEM model is updated (images made
public);
▶ The public web portal now shows the new released
images
ERMR
Public web
portal
1. EcoBuilder generate DEM, send to ERMR
2. Policy editor modify DEM policy parameter
DEM, DEM2 sent to the LRM Services
DEM2 sent to the SPIN Rule Engine
3. LRM-S generates, sends the Policy LRM-Delta to
PERSIsT API
4. SPIN RE extracts, executes the rules; sends new
deltas for public file release to PERSIsT API
5. PERSIsT API receive DELTAS and updates ERMR
6. The ERMR DEM model is updated (images made
public);
ERMR UI can now show the new released images
Complete Workflow
Results and Conclusion
▶ Presented many of the PERICLES tools in context
▶ Modelling concepts
▶ Demonstrated a simple case of change
management
▶ And policy implementation
▶ Showed a modular, flexible architecture that can
be extended
▶ Still… no memes?
Questions and Answers
Most tools in this demo are open source GITHUB:
https://github.com/pericles-project/ {
DEM,
EcoBuilder,
ERMR ,
SPIN-rule-engine,
PERSIsT-API
}
Thank you!
Part of a complex architecture
Why we adopt complex models?
▶ Standard,
▶ make use of ontology infrastructure (SPIN engine etc)
▶ can be parameterized
▶ common language between PERICLES components
and external tools
Complexity of models
Complexity of Digital Ecosystems
▶ Digital Ecosystems are interwoven evolving networks of
◦ digital objects,
◦ policies,
◦ processes,
◦ technical services,
◦ and user communities
within constantly changing and interacting environments
influencing digital objects.
Space Science Scenario: Experiment
Workflow
Policy Editor
Image WEB portal
▶ Base URL: http://persist.iti.gr:5000/api
▶ Written in Python 2.7, by additionally utilizing existing
libraries:
◦ RDFLib - handles ontology-related data
◦ Requests - handles external http requests
◦ Flask - wraps all methods and serves them through HTTP
requests
▶ Services - POST methods
1. http://persist.iti.gr:5000/api/dependency_graph
2. http://persist.iti.gr:5000/api/conversion
PERSIsT API - Technical details
▶ GUI & Java API
▶ Simplifies the creation of the model
▶ Usable by scenario experts without the necessity to write
ontology or Java sources
▶ Facilitates integration into workflows
▶ Uses Java Jena API - can output OWL/XML or Turtle
▶ The policy and SPIN rule are expressed in the model
EcoBuilder

More Related Content

PPTX
Pericles in practice 2 automatic policy application
PPTX
PERICLES Workflow for the automated updating of Digital Ecosystem Models with...
PPTX
PERICLES Policy management & ontology supported preservation - Acting on Chan...
PPTX
PERICLES Modelling Policies - Acting on Change 2016
PPTX
PERICLES Ecosystem Modelling (NCDD use case) - Acting on Change 2016
PPTX
Technical Appraisal Tool, MICE - Acting on Change 2016
PPTX
PERICLES Building Digital Ecosystem Models - ‘Eye of the Storm: Preserving Di...
PPTX
IPRES 2014 paper presentation: significant environment information for LTDP
Pericles in practice 2 automatic policy application
PERICLES Workflow for the automated updating of Digital Ecosystem Models with...
PERICLES Policy management & ontology supported preservation - Acting on Chan...
PERICLES Modelling Policies - Acting on Change 2016
PERICLES Ecosystem Modelling (NCDD use case) - Acting on Change 2016
Technical Appraisal Tool, MICE - Acting on Change 2016
PERICLES Building Digital Ecosystem Models - ‘Eye of the Storm: Preserving Di...
IPRES 2014 paper presentation: significant environment information for LTDP

Viewers also liked (10)

PDF
PERICLES Domain-specific ontological representations and ontology evolution
PDF
PERICLES workshop (IDCC 2016) - Policy and Quality Assurance in the Data Cont...
PPTX
PERICLES Domain Specific Modelling - ‘Eye of the Storm: Preserving Digital Co...
PDF
PERICLES Preserving space data
PDF
PERICLES workshop (IDCC 2016) - Introduction to the PERICLES project
PPTX
PERICLES Process Compiler - ‘Eye of the Storm: Preserving Digital Content in ...
PDF
PERICLES Reflexive LRM
PDF
PERICLES workshop (IDCC 2016) - Appraisal
PPTX
Detecting Semantic Drift for ontology maintenance - Acting on Change 2016
PDF
Seeing the Forest for the Trees: A look outside the OAIS Reference Model
PERICLES Domain-specific ontological representations and ontology evolution
PERICLES workshop (IDCC 2016) - Policy and Quality Assurance in the Data Cont...
PERICLES Domain Specific Modelling - ‘Eye of the Storm: Preserving Digital Co...
PERICLES Preserving space data
PERICLES workshop (IDCC 2016) - Introduction to the PERICLES project
PERICLES Process Compiler - ‘Eye of the Storm: Preserving Digital Content in ...
PERICLES Reflexive LRM
PERICLES workshop (IDCC 2016) - Appraisal
Detecting Semantic Drift for ontology maintenance - Acting on Change 2016
Seeing the Forest for the Trees: A look outside the OAIS Reference Model
Ad

Similar to Automatic policy application and change management - Acting on Change 2016 (20)

PPTX
Digital Ecosystem and Process Compiler - IDCC17
PDF
PERICLES workshop (London 15 October 2015) - Linked Resource Model (LRM)
PDF
Phil Day [Configured Things] | Policy-Driven Real-Time Data Filtering from Io...
PDF
PERICLES workshop (London 15 October 2015) - Introduction
PDF
SF Hadoop Users Group August 2014 Meetup Slides
PPTX
Using Event Streams in Serverless Applications
PPTX
A Framework for Self-descriptive RESTful Services
PPTX
Technical appraisal and change impact analysis - IDCC17 workshop
PPTX
Project Deimos
PDF
FIWARE Global Summit - Big Data and Machine Learning with FIWARE
PDF
PERICLES workshop (London 15 October 2015) - Digital Ecosystem Model
PPTX
Real time fraud detection at 1+M scale on hadoop stack
PDF
Cloudy with a Chance of Bundles (and non java components) - R Nicholson & T Ward
PPTX
Reactconf 2014 - Event Stream Processing
PPTX
EventShop ISG talk 140213
PDF
Cloudera federal summit
PPTX
RDF Stream Processing: Let's React
PPTX
Metadata for Research Objects
PDF
FIWARE Wednesday Webinars - Performing Big Data Analysis Using Cosmos With Sp...
PPTX
Streaming HYpothesis REasoning
Digital Ecosystem and Process Compiler - IDCC17
PERICLES workshop (London 15 October 2015) - Linked Resource Model (LRM)
Phil Day [Configured Things] | Policy-Driven Real-Time Data Filtering from Io...
PERICLES workshop (London 15 October 2015) - Introduction
SF Hadoop Users Group August 2014 Meetup Slides
Using Event Streams in Serverless Applications
A Framework for Self-descriptive RESTful Services
Technical appraisal and change impact analysis - IDCC17 workshop
Project Deimos
FIWARE Global Summit - Big Data and Machine Learning with FIWARE
PERICLES workshop (London 15 October 2015) - Digital Ecosystem Model
Real time fraud detection at 1+M scale on hadoop stack
Cloudy with a Chance of Bundles (and non java components) - R Nicholson & T Ward
Reactconf 2014 - Event Stream Processing
EventShop ISG talk 140213
Cloudera federal summit
RDF Stream Processing: Let's React
Metadata for Research Objects
FIWARE Wednesday Webinars - Performing Big Data Analysis Using Cosmos With Sp...
Streaming HYpothesis REasoning
Ad

More from PERICLES_FP7 (16)

PPTX
Technical Appraisal of Complex Digital Objects in Evolving Environments - IDC...
PDF
ForgetIT: human memory inspired Information Model
PPTX
Data quality, preservation and access: a DANS perspective
PPTX
Proactive Evolution management in Data-centric SW ecosystems - Acting on Chan...
PPTX
Digital Preservation in the era of Big Data - The Diachron Platform - Acting ...
PPTX
Filling the Digital Preservation Gap - Acting on Change
PPTX
Risk assessment for preservation in the active life of complex digital object...
PDF
Capability gap - Preservation isn't just throwing tools at the problem - Acti...
PPTX
Reproducibile scientific workflows - Acting on Change 2016
PPTX
Pro-active solutions for higher reproducibility of scientific experiments - A...
PPT
Semi-automated metadata extraction in the long-term
PPTX
The PeriCAT Framework
PPTX
PERICLES - Choice of Information Encapsulation (IE) Technique
PPTX
PERICLES Information Packaging Techniques
PPTX
PERICLES Decapsulation and Restoration
PPTX
PERICLES Information Embedding Techniques
Technical Appraisal of Complex Digital Objects in Evolving Environments - IDC...
ForgetIT: human memory inspired Information Model
Data quality, preservation and access: a DANS perspective
Proactive Evolution management in Data-centric SW ecosystems - Acting on Chan...
Digital Preservation in the era of Big Data - The Diachron Platform - Acting ...
Filling the Digital Preservation Gap - Acting on Change
Risk assessment for preservation in the active life of complex digital object...
Capability gap - Preservation isn't just throwing tools at the problem - Acti...
Reproducibile scientific workflows - Acting on Change 2016
Pro-active solutions for higher reproducibility of scientific experiments - A...
Semi-automated metadata extraction in the long-term
The PeriCAT Framework
PERICLES - Choice of Information Encapsulation (IE) Technique
PERICLES Information Packaging Techniques
PERICLES Decapsulation and Restoration
PERICLES Information Embedding Techniques

Recently uploaded (20)

PPTX
Big Data Technologies - Introduction.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Electronic commerce courselecture one. Pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
cuic standard and advanced reporting.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Encapsulation theory and applications.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Big Data Technologies - Introduction.pptx
Assigned Numbers - 2025 - Bluetooth® Document
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Electronic commerce courselecture one. Pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
MYSQL Presentation for SQL database connectivity
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
NewMind AI Weekly Chronicles - August'25-Week II
cuic standard and advanced reporting.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Encapsulation theory and applications.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Dropbox Q2 2025 Financial Results & Investor Presentation
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Programs and apps: productivity, graphics, security and other tools
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
A comparative analysis of optical character recognition models for extracting...
gpt5_lecture_notes_comprehensive_20250812015547.pdf

Automatic policy application and change management - Acting on Change 2016

  • 1. GRANT AGREEMENT: 601138 | SCHEME FP7 ICT 2011.4.3 Promoting and Enhancing Reuse of Information throughout the Content Lifecycle taking account of Evolving Semantics [Digital Preservation] “This project has received funding from the European Union’s Seventh Framework Programme for research, technological development and demonstration under grant agreement no601138”. AUTOMATIC POLICY APPLICATION AND CHANGE MANAGEMENT From model to real world. A use case demonstration with PERICLES technologies Fabio Corubolo (University of Liverpool) and PERICLES partners*
  • 2. ▶ Johannes Biermann, Claudio Leone, Anna Eggers (UGOE) ▶ Marina Riga, Stratos Kontopoulos (CERTH) ▶ David De Weerdt (Spaceapps) ▶ Jean-Yves Vion-Dury (XRCE) ▶ Jérôme Fuselier (ULIV) ▶ Simon Waddington (KCL) * credits
  • 3. ▶ How policies can be modelled, implemented and automatically applied using PERICLES tools ▶ How policy change can be managed with the tools ▶ A general architecture for change management What we want to demonstrate
  • 4. ▶ SEVIRI Images are data from the Meteosat Second Generation (MSG) geostationary satellite with Spinning Enhanced Visible and InfraRed Imager (SEVIRI) ▶ Policy: make images public after an embargo period ▶ We implement an aspect of the policy: making images public ▶ We manage change: the embargo period being changed from 24 to 12 hours ▶ The rule will automatically publish the images based on the parameter value EUMETSAT scenario
  • 6. EUMETSAT data release policy “Meteosat Data and Derived Products older than 24 hours are distributed on request from the EUMETSAT Data Archive in digital and graphical form via the associated operational service in formats which represent both full and partial spatial coverage as well as both full and partial spatial resolution.” (EUMETSAT data policy: http://www.eumetsat.int/website/home/AboutUs/LegalInformation/DataPolicy/index. html, S.14) Policy
  • 7. Data Release Date Policy Statements: natural language; SPIN rule Embargo Period: 24 Web Portal Service Interface SEVIRI Image Digital Object CreationDate: timestamp ReleaseState: public / private Location: URI constrains providesAccessTo DEM: Focus on policy aspect
  • 8. ● Modelling and implementation of a policy with help of PERICLES ontologies and tools ● Change of release policy from 24 hrs into 12 hrs ● Model Driven Approach: From reality to model and back to reality ● Architecture of Approach: PERICLES ontologies and tools can be combined according to a specific use case. What you will see
  • 9. PERICLES based Architecture and WF ERMR LRM-S SPIN rule engine PERSIsT API EcoBuilder Policy editor Processes Rest API DEM DEM LRM-Delta: Change policy parameter MICE DEM DEM2 LRM-delta: change image release state DEM2 Public web portal
  • 10. ▶ Ecobuilder is used to create a DEM (Digital Ecosystem Model) for the EUMETSAT scenario ▶ The model is submitted to the ERMR repository Step 1 ERMR EcoBuilder DEM
  • 11. ▶ GUI & Java API for DEM scenario creation ▶ The policy and SPIN rule are expressed in the model EcoBuilder
  • 12. ▶ Large scale distributed data store and model repository (triple store) ▶ Used for PERICLES models and data ▶ Accessible via Web interface or RESTful API ▶ Every action in ERMR triggers a notification that can be used to execute responding actions ERMR
  • 13. Output java -cp EcoBuilder.jar experiments.SpacePolicyChangeConnector /tmp/ https://127.0.0.1 space user pass ... … ...
  • 14. ERMR LRM-S SPIN rule engine PERSIsT API EcoBuilder Policy editor Processes Rest API DEM DEM LRM-Delta: Change policy parameter MICE DEM DEM2 LRM-delta: change image release state DEM2 Public web portal
  • 15. Step 2 ▶ User changes the embargo period ▶ Policy editor sends DEM, DEM2 to the LRM Services (LRM-S) and SPIN rule engine LRM-SPolicy editor DEM DEM DEM2 SPIN rule engine DEM2
  • 16. Web-based tool for creating and modifying a consistent sets of policies. ▶ Template-based with automatically propagating variables ▶ Support for custom policy models ▶ Can integrate with digital ecosystems ▶ Can execute processes linked to policies ▶ Export to PDF, JSON Policy Editor
  • 18. ERMR LRM-S SPIN rule engine PERSIsT API EcoBuilder Policy editor Processes Rest API DEM DEM LRM-Delta: Change policy parameter MICE DEM DEM2 LRM-delta: change image release state DEM2 Public web portal
  • 19. Step 3 LRM-S PERSIsT API DEM LRM-Delta: Change policy parameter DEM2 ▶ LRM-S generates and sends the Policy LRM-Delta to PERSIsT
  • 20. ▶ The LRM Services (LRM-S) provide mechanisms to support the change of LRM based ontologies. ▶ It embeds an interpreter for a dedicated Stream- based and Reactive language (ReAL) for handling RDF triples ▶ It offers services through a REST API ▶ The basic services concern digital resources creation, deletion and modification, as well as dependency insertion. ▶ In this workflow, an LRM-Diff service is used to compare RDF graphs and create LRM-Deltas to describe the change Linked Resource Model (Services)
  • 21. The two following LRM-Deltas are generated to represent the change between the two models, and sent to PERSIsT: <urn:delta:b7cb95396767> rdf:type LRM:RDF-Delta; LRM:deletion <urn:stmt:c511641d285a>. <urn:stmt:c511641d285a> rdf:subject DEM-Scenario:releasedatepolicy ; rdf:predicate DEM- Scenario:releasedatepolicytimebeforerelease; rdf:object "24". <urn:delta:d77bb0d234c4> rdf:type LRM:RDF-Delta; LRM:insertion <urn:stmt:d96eefaa4d9d>. <urn:stmt:d96eefaa4d9d> rdf:subject DEM-Scenario:releasedatepolicy; rdf:predicate DEM- Scenario:releasedatepolicytimebeforerelease; rdf:object "12". Output
  • 22. ERMR LRM-S SPIN rule engine PERSIsT API EcoBuilder Policy editor Processes Rest API DEM DEM LRM-Delta: Change policy parameter MICE DEM DEM2 LRM-delta: change image release state DEM2 Public web portal
  • 23. Step 4 SPIN rule engine PERSIsT API LRM-delta: change image release state DEM2 ▶ SPIN Rule Engine receives the new DEM; executes the policy rule reporting the results to the PERSIsT API
  • 24. ▶ RESTFUL web application and API + CLI ▶ Uses Apache Jena and TopQuadrant SPIN API ▶ Open source, with full documentation Two modes of operation: ▶ DEM/LRM specific: ◦ Extracts and executes the rules from DEM models ◦ Reports the changes back to models with PERSIsT API. ▶ General: Execute SPIN rule inference and constraint checking SPIN Rule engine
  • 25. SPIN Rule engine processing DEM2 RULE LRM-delta: change image release state DEM-Scenario:SPINRULE a DEM-Policy:PolicyStatement ; DEM-Policy:format "formal" ; DEM-Policy:language "SPIN" ; LRM:definition """ <http://www.pericles-project.eu/ns/DEM-Core#DigitalObject> spin:rule [ rdf:type sp:Construct ; [...] DEM-Scenario:SEVIRIImages a DEM-Core:DigitalObject ; rdfs:label "SEVIRI Images"@en ; LRM:hasPart DEM-Scenario:SEVIRIImage1 , DEM-Scenario:SEVIRIImage2 , DEM-Scenario:SEVIRIImage3 , DEM-Scenario:SEVIRIImage4 ; LRM:specifiedBy DEM-Scenario:HDFFormat . DEM-Scenario:SEVIRIImage3 a DEM-Core:DigitalObject ; [...] DEM-Scenario:SEVIRIImage2 lrm:changedBy [ a lrm:RDF-Delta ; lrm:deletion [ a rdf:Statement ; rdf:object "private" ; rdf:predicate DEM-Scenario:releaseState ] ; lrm:insertion [ a rdf:Statement ; rdf:object "public" ; rdf:predicate DEM-Scenario:releaseState ] ] . [...]
  • 26. ERMR LRM-S SPIN rule engine PERSIsT API EcoBuilder Policy editor Processes Rest API DEM DEM LRM-Delta: Change policy parameter MICE DEM DEM2 LRM-delta: change image release state DEM2 Public web portal
  • 27. Step 5 ERMR PERSIsT API LRM-Delta: Change policy parameter LRM-delta: change image release state ▶ PERSIsT API receive DELTAS from LRM-S and SPIN rule engine, converts to queries and updates the ERMR
  • 28. ▶ Operates as a semantic interpretation (translation) layer of the ontology stored in the ERMR ▶ Ontology in ERMR should be LRM-compliant ▶ Two main web services 1. Creates dependency graphs 2. a) Converts deltas to SPARQL update queries b) Updates the ERMR repository according to LRM-deltas • Input (same parameters for both services): • delta_stream • ERMR_repository PERSIsT API
  • 29. PERSIsT API processing LRM-delta: change image release state DEM-Scenario:SEVIRIImage1 lrm:changedBy [ a lrm:RDF-Delta ; lrm:deletion [ a rdf:Statement ; rdf:object "private" ; rdf:predicate DEM-Scenario:releaseState ] ; lrm:insertion [ a rdf:Statement ; rdf:object "public" ; rdf:predicate DEM-Scenario:releaseState ] ] . DEM-Scenario:SEVIRIImage2 lrm:changedBy [ a lrm:RDF-Delta ; lrm:deletion [ a rdf:Statement ; rdf:object "private" ; rdf:predicate DEM-Scenario:releaseState ] ; lrm:insertion [ a rdf:Statement ; rdf:object "public" ; rdf:predicate DEM-Scenario:releaseState ] ] . "SPARQL_delete": "DELETE DATA { <http://www.pericles-project.eu/ns/DEM-Scenario#SEVIRIImage1> <http://www.pericles- project.eu/ns/DEM-Scenario#releaseState> "private" . <http://www.pericles-project.eu/ns/DEM-Scenario#SEVIRIImage2> <http://www.pericles- project.eu/ns/DEM-Scenario#releaseState> "private" . }", "SPARQL_insert": "INSERT DATA { <http://www.pericles-project.eu/ns/DEM-Scenario#SEVIRIImage1> <http://www.pericles- project.eu/ns/DEM-Scenario#releaseState> "public" . <http://www.pericles-project.eu/ns/DEM-Scenario#SEVIRIImage2> <http://www.pericles- project.eu/ns/DEM-Scenario#releaseState> "public" ERMR Update triples queries
  • 30. ERMR LRM-S SPIN rule engine PERSIsT API EcoBuilder Policy editor Processes Rest API DEM DEM LRM-Delta: Change policy parameter MICE DEM DEM2 LRM-delta: change image release state DEM2 Public web portal
  • 31. Step 6 ▶ The ERMR DEM model is updated (images made public); ▶ The public web portal now shows the new released images ERMR Public web portal
  • 32. 1. EcoBuilder generate DEM, send to ERMR 2. Policy editor modify DEM policy parameter DEM, DEM2 sent to the LRM Services DEM2 sent to the SPIN Rule Engine 3. LRM-S generates, sends the Policy LRM-Delta to PERSIsT API 4. SPIN RE extracts, executes the rules; sends new deltas for public file release to PERSIsT API 5. PERSIsT API receive DELTAS and updates ERMR 6. The ERMR DEM model is updated (images made public); ERMR UI can now show the new released images Complete Workflow
  • 33. Results and Conclusion ▶ Presented many of the PERICLES tools in context ▶ Modelling concepts ▶ Demonstrated a simple case of change management ▶ And policy implementation ▶ Showed a modular, flexible architecture that can be extended ▶ Still… no memes?
  • 35. Most tools in this demo are open source GITHUB: https://github.com/pericles-project/ { DEM, EcoBuilder, ERMR , SPIN-rule-engine, PERSIsT-API } Thank you!
  • 36. Part of a complex architecture
  • 37. Why we adopt complex models? ▶ Standard, ▶ make use of ontology infrastructure (SPIN engine etc) ▶ can be parameterized ▶ common language between PERICLES components and external tools Complexity of models
  • 38. Complexity of Digital Ecosystems ▶ Digital Ecosystems are interwoven evolving networks of ◦ digital objects, ◦ policies, ◦ processes, ◦ technical services, ◦ and user communities within constantly changing and interacting environments influencing digital objects. Space Science Scenario: Experiment Workflow
  • 41. ▶ Base URL: http://persist.iti.gr:5000/api ▶ Written in Python 2.7, by additionally utilizing existing libraries: ◦ RDFLib - handles ontology-related data ◦ Requests - handles external http requests ◦ Flask - wraps all methods and serves them through HTTP requests ▶ Services - POST methods 1. http://persist.iti.gr:5000/api/dependency_graph 2. http://persist.iti.gr:5000/api/conversion PERSIsT API - Technical details
  • 42. ▶ GUI & Java API ▶ Simplifies the creation of the model ▶ Usable by scenario experts without the necessity to write ontology or Java sources ▶ Facilitates integration into workflows ▶ Uses Java Jena API - can output OWL/XML or Turtle ▶ The policy and SPIN rule are expressed in the model EcoBuilder

Editor's Notes

  • #10: read out the steps of the complete workflow while pointing to the respective part in the diagram saying that we are now following this slowly step by step and then do it again at the end. EcoBuilder generate DEM, send to ERMR Policy editor modify DEM policy parameter DEM, DEM2 sent to the LRM Services DEM2 sent to the SPIN Rule Engine LRM-S generates, sends the Policy LRM-Delta to PERSIsT API SPIN RE extracts, executes the rules; sends new deltas for public file release to PERSIsT API PERSIsT API receive DELTAS and updates ERMR The ERMR DEM model is updated (images made public); ERMR UI can now show the new released images
  • #15: We will explain the used tools now...
  • #19: We will explain the used tools now...
  • #20: SHOW ERMR and show that the model is updated
  • #23: We will explain the used tools now...
  • #24: Show rule execution results
  • #27: We will explain the used tools now...
  • #29: The PERICLES Semantic Interpretation API (PERSIsT API) serves as an intermediate module for high-level communication between ERMR and related PERICLES components. Two main LRM notions should be adopted in the ontology representation in order for the PERSIsT API to be functional: the lrm:Dependency and lrm:RDF-Delta. Documentation: https://goo.gl/m0LJ0G
  • #31: We will explain the used tools now...
  • #32: Open address: https://141.5.100.67/triple/view/eumetsatdata/listPublicImages