1. Web Science & Technologies
University of Koblenz ▪ Landau, Germany
OWLizer and Linked
Data in Model Driven Engineering
Fernando Silva Parreiras
2. What You Should Be Able to Do
At the end of this unit you will be able to:
• Translate multiple software languages into OWL
• Write queries over multiple software artifacts
• Address problems like impact analysis with ontology
technologies.
WeST Fernando Silva Parreiras SPLASH 2010 Tutorial
parreiras@uni-koblenz.de 2 of 45
3. Scenario
WeST Fernando Silva Parreiras SPLASH 2010 Tutorial
parreiras@uni-koblenz.de 3 of 45
4. Linked Data
„Linked Data is about using the Web to connect related
data that wasn't previously linked, or using the Web to
lower the barriers to linking data currently linked using
other methods. “
http://linkeddata.org/
WeST Fernando Silva Parreiras SPLASH 2010 Tutorial
parreiras@uni-koblenz.de 4 of 45
5. Requirements
Extend modeling languages with new capabilities
Identification of same or similar concepts in different
languages:
Integration Management
Query Answering
WeST Fernando Silva Parreiras SPLASH 2010 Tutorial
parreiras@uni-koblenz.de 5 of 45
6. Integrating OWL and Ecore
WeST Fernando Silva Parreiras SPLASH 2010 Tutorial
parreiras@uni-koblenz.de 6 of 45
7. OWLizer: Mapping MOF and OWL
WeST Fernando Silva Parreiras SPLASH 2010 Tutorial
parreiras@uni-koblenz.de 7 of 45
8. OWLizer Example
WeST Fernando Silva Parreiras SPLASH 2010 Tutorial
parreiras@uni-koblenz.de 8 of 45
9. SPARQLAS Queries
Which Tasks realize Use Case Querying?
Namespace: = <http://www.eclipse.org/uml2/3.0.0/UML#>
Select ?name
Where: _:u name "Querying"^^xsd:string
_:u includeUseCases ?uc
?uc ownedBehavior ?act
?act node ?node
?node type OpaqueAction
?node name ?name
WeST Fernando Silva Parreiras SPLASH 2010 Tutorial
parreiras@uni-koblenz.de 9 of 45
10. SPARQLAS Queries
What Use Cases do I have to test If I update the component
west.twouse.reasoner?
Namespace: uml = <http://www.eclipse.org/uml2/3.0.0/UML#>
Namespace: srs = <http://west.uni-koblenz.de/SRS#>
Namespace: mf = <http://west.uni-
koblenz.de/EclipseManifest#>
Select ?name
Where: ?component mf:name
"west.twouse.reasoner"^^xsd:string
?component srs:requirement ?requirement
?requirement srs:useCase ?uc
?uc uml:name ?name
Union:
?uc (inverse uml:addition o uml:includingCase) ?iuc
?iuc uml:name ?name
WeST Fernando Silva Parreiras SPLASH 2010 Tutorial
parreiras@uni-koblenz.de 10 of 45
11. Key Message
With OWLizer, you can transform any Ecore-based
software language into OWL
With OWL constructs like sameAs and EquivalentWith, you
connected similar concepts and instances over different
languages
With SPARQLAS queries, you query multiple software
artifacts
WeST Fernando Silva Parreiras SPLASH 2010 Tutorial
parreiras@uni-koblenz.de 11 of 45
12. THANK YOU!
WeST Fernando Silva Parreiras SPLASH 2010 Tutorial
parreiras@uni-koblenz.de 12 of 45