SlideShare a Scribd company logo
Data Integration with SMW+
Michael Erdmann, ontoprise Karlsruhe



SemTech, June 2011, San Francisco, CA
                                       © 2010 ontoprise GmbH   Seite 1
Agenda

 Motivation
 General workflow and architecture
 OntoStudio (with demo)
    From relational database to wiki vocabulary
 SMW+ (with demo)
    Using external data
    Enhancing/extending external data
 Summary and Outlook




                                © 2010 ontoprise GmbH Seite 2
                                http://smwforum.ontoprise.com
Motivation

   Enterprises typically manage there data in relational databases
   Often a landscape of isolated data silos grows
   In contrast, a wiki provides one platform for sharing information
   Nevertheless,
     the data bases exist
     contain valuable information
     will not be deserted
 Enterprise use cases we see often require access to external
  data from within the wiki
     Usually the external data sources are relational databases
     Wiki is used as a data access and visualisation tool
     Wiki users should be able to formulate queries

                                  © 2010 ontoprise GmbH Seite 3
                                  http://smwforum.ontoprise.com
Workflow for Data Integration with SMW+

 OntoStudio                            SMW+ / TSC
    Lift database schema                      Import ontologies
    Model wiki ontology                       Formulate queries (QI)
    Map database ontology to                  Create articles containing
                                                inline queries
     wiki ontology
                                               Browse database via Non-
    Test and refine mappings                   Existing-Pages
    Export ontologies                         Potentially, enhance model
    Transfer to Wiki server                    via annotations

                                               Adapt and extend wiki
                                                ontology
    Import ontology                           Export ontology as OBL
    Test and refine ontology


                                © 2010 ontoprise GmbH Seite 4
                                http://smwforum.ontoprise.com
Architecture




          © 2010 ontoprise GmbH Seite 5
Slide 5   http://smwforum.ontoprise.com
Database Lifting

 Database schemas are table-based and usually geared towards
  performance not conceptual clarity
 Schemas are lifted to an ontological level automatically
    Tables become classes
    Foreign-keys become object properties (in the OWL sense)
    Other columns become data properties
 The result is an ObjectLogic ontology representing the database
 This ontology contains data-access rules that populate classes
  and properties
    These rules are OBL rules reaching out into the database
    Rules are triggered at query time



                                © 2010 ontoprise GmbH Seite 6
                                http://smwforum.ontoprise.com
Live Demo of
OntoStudio




   © 2010 ontoprise GmbH Seite 7
   http://smwforum.ontoprise.com
OntoStudio: Database Lifting




© 2010 ontoprise GmbH Seite 8
http://smwforum.ontoprise.com
OntoStudio: Modeling




© 2010 ontoprise GmbH Seite 9
http://smwforum.ontoprise.com
OntoStudio: Graphical Rule Modeling




    © 2010 ontoprise GmbH Seite 10
    http://smwforum.ontoprise.com
OntoStudio: Mapping




© 2010 ontoprise GmbH Seite 11
http://smwforum.ontoprise.com
OntoStudio: Testing




© 2010 ontoprise GmbH Seite 12
http://smwforum.ontoprise.com
Query Answering

TSC with OntoBroker
                                mapping results

                                               manual mappings                  query
                                                                                                     SMW+

                 generated
                 ontologies                    mapping rules


                                                                                             integrated
                                                                                             results




                                                                          Wiki
    facts             access           automatic                        ontology
                                       schema
    from                rules          mapping
   source



                  databases




                                                        © 2010 ontoprise GmbH   Seite 13
                                              Slide 13 http://smwforum.ontoprise.com
Workflow

 OntoStudio                            SMW+ / TSC
    Lift database schema                      Import ontologies
    Model wiki ontology                       Formulate queries (QI)
    Map database ontology to                  Create articles containing
                                                inline queries
     wiki ontology
                                               Browse database via Non-
    Test and refine mappings                   Existing-Pages
    Export ontologies                         Potentially, enhance model
    Transfer to Wiki server                    via annotations

                                               Adapt and extend wiki
                                                ontology
    Import ontology                           Export ontology as OBL
    Test and refine ontology


                                © 2010 ontoprise GmbH Seite 14
                                http://smwforum.ontoprise.com
Import Ontology into Wiki


 The wiki ontology coming from OntoStudio needs to be
  imported.
 This is a task for the Deplyoment Framework (DF)
 Ontologies can be imported from a file or from a repository
 Technically, the ontology file is converted into the MW XML-
  format and then imported by wiki tools.
    The external tool for this task is “onto2mwxml”. It can also handle
     OWL, RDF/XML, N3, NTRIPLE, OBL
    smwadmin –i myOntology.obl




                                 © 2010 ontoprise GmbH Seite 15
                                 http://smwforum.ontoprise.com
ObjectLogic

 OBL contains stuff that has no equivalent in the wiki
    Predicates
    Mapping rules
    Queries
 They are stored as a separate file in the wiki and are copied into the
  TSC as an individual module to be executable.

 TSC:
    Wikimodule (contains all wiki annotations, incl. the ones imported from
     OBL) is automatically synched with Wiki
    TSC-only part from imported OBL (this module is imported by the
     wikimodule)
    Other modules, e.g. module created by lifting a database


                                    © 2010 ontoprise GmbH Seite 16
                                    http://smwforum.ontoprise.com
Wiki Part of
Data Integration




     © 2010 ontoprise GmbH Seite 17
     http://smwforum.ontoprise.com
Imported Ontology in OntologyBrowser




      © 2010 ontoprise GmbH Seite 18
      http://smwforum.ontoprise.com
Imported rules

 Rules of an ontology are stored on a separate page for each
  ontology.




                               © 2010 ontoprise GmbH Seite 19
                               http://smwforum.ontoprise.com
Example of an Imported Page

 Imported page Property:HasName
    Property has two domains: Product, Region
    Type is String
    The original URI in the ontology is
       http://www.NewOnto1.org/ontology#hasName
       This is separately stored in a mapping table to provide fast access
        whenever wiki names have to be replaced by OB URIs or vice-versa.
    The (automatically created) bundle is Ontology-v9




                                  © 2010 ontoprise GmbH Seite 20
                                  http://smwforum.ontoprise.com
Query for Integrated Data




{{#ask: [[Category:Price]]
[[InRegion.HasName::+]]
[[OfProduct.HasName::+]]
[[OfProduct.HasManufacturer::+]]
|?Price
|?InRegion.HasName=Region name
|?OfProduct.HasName=Product name
|?OfProduct.HasManufacturer=Manufacturer
|source=tsc
}}




                                    © 2010 ontoprise GmbH Seite 21
                                    http://smwforum.ontoprise.com
Query in the Query Interface




© 2010 ontoprise GmbH Seite 22
http://smwforum.ontoprise.com
Non-Existing Pages

 An instance created from a database mapping is represented by
  a red-link.
 In case that there is no real database key, OntoBroker creates
  one automatically.
 If the user clicks on a red link, the non-existing page handler
  takes care of it
    It displays all statements about this instance as well as all
     statements which have this instance as object.




                                   © 2010 ontoprise GmbH Seite 23
                                   http://smwforum.ontoprise.com
Non-Existing Pages

This is the NEP page with the default template. It can be user-
defined.




                                © 2010 ontoprise GmbH Seite 24
                                http://smwforum.ontoprise.com
Extend the Ontology in the Wiki

 Create a new category




                          © 2010 ontoprise GmbH Seite 25
                          http://smwforum.ontoprise.com
Extend the Ontology in the Wiki

 Create a rule in the wiki with the editor




                                © 2010 ontoprise GmbH Seite 26
                                http://smwforum.ontoprise.com
ObjectLogic Export

 To re-import the ontology in OntoStudio, export it via the OBL
  export bot.




                               © 2010 ontoprise GmbH Seite 27
                               http://smwforum.ontoprise.com
Download Ontology from Wiki

 Exported ontologies are stored in the wiki as files.




                                © 2010 ontoprise GmbH Seite 28
                                http://smwforum.ontoprise.com
Workflow

 OntoStudio                            SMW+ / TSC
    Lift database schema                      Import ontologies
    Model wiki ontology                       Formulate queries (QI)
    Map database ontology to                  Create articles containing
                                                inline queries
     wiki ontology
                                               Browse database via Non-
    Test and refine mappings                   Existing-Pages
    Export ontologies                         Potentially, enhance model
    Transfer to Wiki server                    via annotations

                                               Adapt and extend wiki
                                                ontology
    Import ontology                           Export ontology as OBL
    Refine and test ontology


                                © 2010 ontoprise GmbH Seite 29
                                http://smwforum.ontoprise.com
Re-imported Ontology

 OS shows new wiki entities




                               © 2010 ontoprise GmbH Seite 30
                               http://smwforum.ontoprise.com
Summary and Outlook

 SMW+ and TripleStoreConnector realize
      Access to relational data from within SMW
      Using the wiki vocabulary
      Live queries
      Enhance/Extend the data by wiki users

 Let’s see how this combines with SPARQL endpoints
      SMW‘s new SPARQL implementation
      Federated queries
      Against different sources
      Different vocabularies (with and without mapping)



                                  © 2010 ontoprise GmbH Seite 31
                                  http://smwforum.ontoprise.com
 Thank you!




               Michael Erdmann
               ontoprise GmbH
               Karlsruhe, Germany
               erdmann@ontoprise.de




               © 2010 ontoprise GmbH Seite 32
               http://smwforum.ontoprise.com

More Related Content

Similar to Semantic Data Integration with SMW+

Smw+tutorial berlin-fall-2011
Smw+tutorial berlin-fall-2011Smw+tutorial berlin-fall-2011
Smw+tutorial berlin-fall-2011
Semantic Enterprise Wiki SMWplus
 
AvalancheProject2012
AvalancheProject2012AvalancheProject2012
AvalancheProject2012fishetra
 
Collaborative Ontology Building with Wiki@nt
Collaborative Ontology Building with Wiki@ntCollaborative Ontology Building with Wiki@nt
Collaborative Ontology Building with Wiki@ntJie Bao
 
Brief Introduction Into SMW+ (presented at Semanticweb Meetup, San Francisco,...
Brief Introduction Into SMW+ (presented at Semanticweb Meetup, San Francisco,...Brief Introduction Into SMW+ (presented at Semanticweb Meetup, San Francisco,...
Brief Introduction Into SMW+ (presented at Semanticweb Meetup, San Francisco,...
Semantic Enterprise Wiki SMWplus
 
Building OBO Foundry ontology using semantic web tools
Building OBO Foundry ontology using semantic web toolsBuilding OBO Foundry ontology using semantic web tools
Building OBO Foundry ontology using semantic web tools
Melanie Courtot
 
Ontotext Overview Winter 2012
Ontotext Overview Winter 2012Ontotext Overview Winter 2012
Ontotext Overview Winter 2012
Matthew Petrillo
 
Sssc2011 ontologies final
Sssc2011 ontologies finalSssc2011 ontologies final
Sssc2011 ontologies finalElena Simperl
 
Better integrations through open interfaces
Better integrations through open interfacesBetter integrations through open interfaces
Better integrations through open interfacesSteve Speicher
 
Un unbis-agrovoc 2010-09-03
Un unbis-agrovoc 2010-09-03Un unbis-agrovoc 2010-09-03
Un unbis-agrovoc 2010-09-03
Johannes Keizer
 
Nuxeo Semantic ECM: from Scribo and Stanbol to valuable applications
Nuxeo Semantic ECM: from Scribo and Stanbol to valuable applicationsNuxeo Semantic ECM: from Scribo and Stanbol to valuable applications
Nuxeo Semantic ECM: from Scribo and Stanbol to valuable applications
Nuxeo
 
Ontopia / Liferay integration
Ontopia / Liferay integrationOntopia / Liferay integration
Ontopia / Liferay integration
Matthias Fischer
 
Semantic Annotation and Search for Resources in the Next Generation Web
Semantic Annotation and Search for Resources in the Next Generation WebSemantic Annotation and Search for Resources in the Next Generation Web
Semantic Annotation and Search for Resources in the Next Generation Web
ajithranabahu
 
Development with TYPO3 5.0
Development with TYPO3 5.0Development with TYPO3 5.0
Development with TYPO3 5.0
Robert Lemke
 
BarCamb Connotea by Ian Mulvany
BarCamb Connotea by Ian MulvanyBarCamb Connotea by Ian Mulvany
BarCamb Connotea by Ian Mulvany
Ian Mulvany
 
Visual Ontology Modeling for Domain Experts and Business Users with metaphactory
Visual Ontology Modeling for Domain Experts and Business Users with metaphactoryVisual Ontology Modeling for Domain Experts and Business Users with metaphactory
Visual Ontology Modeling for Domain Experts and Business Users with metaphactory
Peter Haase
 
SMWCon Spring 2012 SMW+ Team Dev Update
SMWCon Spring 2012 SMW+ Team Dev UpdateSMWCon Spring 2012 SMW+ Team Dev Update
SMWCon Spring 2012 SMW+ Team Dev Update
Jesse Wang
 
Stateful mock servers to the rescue on REST ecosystems
Stateful mock servers to the rescue on REST ecosystemsStateful mock servers to the rescue on REST ecosystems
Stateful mock servers to the rescue on REST ecosystems
Nuno Caneco
 
Ontology Development Kit: Bio-Ontologies 2019
Ontology Development Kit: Bio-Ontologies 2019Ontology Development Kit: Bio-Ontologies 2019
Ontology Development Kit: Bio-Ontologies 2019
Chris Mungall
 
CMIS and its Value to Business - Nuxeo Open Source ECM - Gilbane Conference M...
CMIS and its Value to Business - Nuxeo Open Source ECM - Gilbane Conference M...CMIS and its Value to Business - Nuxeo Open Source ECM - Gilbane Conference M...
CMIS and its Value to Business - Nuxeo Open Source ECM - Gilbane Conference M...
Nuxeo
 
Semantic annotation of biomedical data
Semantic annotation of biomedical dataSemantic annotation of biomedical data
Semantic annotation of biomedical data
INRAE (MISTEA) and University of Montpellier (LIRMM)
 

Similar to Semantic Data Integration with SMW+ (20)

Smw+tutorial berlin-fall-2011
Smw+tutorial berlin-fall-2011Smw+tutorial berlin-fall-2011
Smw+tutorial berlin-fall-2011
 
AvalancheProject2012
AvalancheProject2012AvalancheProject2012
AvalancheProject2012
 
Collaborative Ontology Building with Wiki@nt
Collaborative Ontology Building with Wiki@ntCollaborative Ontology Building with Wiki@nt
Collaborative Ontology Building with Wiki@nt
 
Brief Introduction Into SMW+ (presented at Semanticweb Meetup, San Francisco,...
Brief Introduction Into SMW+ (presented at Semanticweb Meetup, San Francisco,...Brief Introduction Into SMW+ (presented at Semanticweb Meetup, San Francisco,...
Brief Introduction Into SMW+ (presented at Semanticweb Meetup, San Francisco,...
 
Building OBO Foundry ontology using semantic web tools
Building OBO Foundry ontology using semantic web toolsBuilding OBO Foundry ontology using semantic web tools
Building OBO Foundry ontology using semantic web tools
 
Ontotext Overview Winter 2012
Ontotext Overview Winter 2012Ontotext Overview Winter 2012
Ontotext Overview Winter 2012
 
Sssc2011 ontologies final
Sssc2011 ontologies finalSssc2011 ontologies final
Sssc2011 ontologies final
 
Better integrations through open interfaces
Better integrations through open interfacesBetter integrations through open interfaces
Better integrations through open interfaces
 
Un unbis-agrovoc 2010-09-03
Un unbis-agrovoc 2010-09-03Un unbis-agrovoc 2010-09-03
Un unbis-agrovoc 2010-09-03
 
Nuxeo Semantic ECM: from Scribo and Stanbol to valuable applications
Nuxeo Semantic ECM: from Scribo and Stanbol to valuable applicationsNuxeo Semantic ECM: from Scribo and Stanbol to valuable applications
Nuxeo Semantic ECM: from Scribo and Stanbol to valuable applications
 
Ontopia / Liferay integration
Ontopia / Liferay integrationOntopia / Liferay integration
Ontopia / Liferay integration
 
Semantic Annotation and Search for Resources in the Next Generation Web
Semantic Annotation and Search for Resources in the Next Generation WebSemantic Annotation and Search for Resources in the Next Generation Web
Semantic Annotation and Search for Resources in the Next Generation Web
 
Development with TYPO3 5.0
Development with TYPO3 5.0Development with TYPO3 5.0
Development with TYPO3 5.0
 
BarCamb Connotea by Ian Mulvany
BarCamb Connotea by Ian MulvanyBarCamb Connotea by Ian Mulvany
BarCamb Connotea by Ian Mulvany
 
Visual Ontology Modeling for Domain Experts and Business Users with metaphactory
Visual Ontology Modeling for Domain Experts and Business Users with metaphactoryVisual Ontology Modeling for Domain Experts and Business Users with metaphactory
Visual Ontology Modeling for Domain Experts and Business Users with metaphactory
 
SMWCon Spring 2012 SMW+ Team Dev Update
SMWCon Spring 2012 SMW+ Team Dev UpdateSMWCon Spring 2012 SMW+ Team Dev Update
SMWCon Spring 2012 SMW+ Team Dev Update
 
Stateful mock servers to the rescue on REST ecosystems
Stateful mock servers to the rescue on REST ecosystemsStateful mock servers to the rescue on REST ecosystems
Stateful mock servers to the rescue on REST ecosystems
 
Ontology Development Kit: Bio-Ontologies 2019
Ontology Development Kit: Bio-Ontologies 2019Ontology Development Kit: Bio-Ontologies 2019
Ontology Development Kit: Bio-Ontologies 2019
 
CMIS and its Value to Business - Nuxeo Open Source ECM - Gilbane Conference M...
CMIS and its Value to Business - Nuxeo Open Source ECM - Gilbane Conference M...CMIS and its Value to Business - Nuxeo Open Source ECM - Gilbane Conference M...
CMIS and its Value to Business - Nuxeo Open Source ECM - Gilbane Conference M...
 
Semantic annotation of biomedical data
Semantic annotation of biomedical dataSemantic annotation of biomedical data
Semantic annotation of biomedical data
 

Recently uploaded

Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 

Recently uploaded (20)

Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 

Semantic Data Integration with SMW+

  • 1. Data Integration with SMW+ Michael Erdmann, ontoprise Karlsruhe SemTech, June 2011, San Francisco, CA © 2010 ontoprise GmbH Seite 1
  • 2. Agenda  Motivation  General workflow and architecture  OntoStudio (with demo)  From relational database to wiki vocabulary  SMW+ (with demo)  Using external data  Enhancing/extending external data  Summary and Outlook © 2010 ontoprise GmbH Seite 2 http://smwforum.ontoprise.com
  • 3. Motivation  Enterprises typically manage there data in relational databases  Often a landscape of isolated data silos grows  In contrast, a wiki provides one platform for sharing information  Nevertheless,  the data bases exist  contain valuable information  will not be deserted  Enterprise use cases we see often require access to external data from within the wiki  Usually the external data sources are relational databases  Wiki is used as a data access and visualisation tool  Wiki users should be able to formulate queries © 2010 ontoprise GmbH Seite 3 http://smwforum.ontoprise.com
  • 4. Workflow for Data Integration with SMW+  OntoStudio  SMW+ / TSC  Lift database schema  Import ontologies  Model wiki ontology  Formulate queries (QI)  Map database ontology to  Create articles containing inline queries wiki ontology  Browse database via Non-  Test and refine mappings Existing-Pages  Export ontologies  Potentially, enhance model  Transfer to Wiki server via annotations  Adapt and extend wiki ontology  Import ontology  Export ontology as OBL  Test and refine ontology © 2010 ontoprise GmbH Seite 4 http://smwforum.ontoprise.com
  • 5. Architecture © 2010 ontoprise GmbH Seite 5 Slide 5 http://smwforum.ontoprise.com
  • 6. Database Lifting  Database schemas are table-based and usually geared towards performance not conceptual clarity  Schemas are lifted to an ontological level automatically  Tables become classes  Foreign-keys become object properties (in the OWL sense)  Other columns become data properties  The result is an ObjectLogic ontology representing the database  This ontology contains data-access rules that populate classes and properties  These rules are OBL rules reaching out into the database  Rules are triggered at query time © 2010 ontoprise GmbH Seite 6 http://smwforum.ontoprise.com
  • 7. Live Demo of OntoStudio © 2010 ontoprise GmbH Seite 7 http://smwforum.ontoprise.com
  • 8. OntoStudio: Database Lifting © 2010 ontoprise GmbH Seite 8 http://smwforum.ontoprise.com
  • 9. OntoStudio: Modeling © 2010 ontoprise GmbH Seite 9 http://smwforum.ontoprise.com
  • 10. OntoStudio: Graphical Rule Modeling © 2010 ontoprise GmbH Seite 10 http://smwforum.ontoprise.com
  • 11. OntoStudio: Mapping © 2010 ontoprise GmbH Seite 11 http://smwforum.ontoprise.com
  • 12. OntoStudio: Testing © 2010 ontoprise GmbH Seite 12 http://smwforum.ontoprise.com
  • 13. Query Answering TSC with OntoBroker mapping results manual mappings query SMW+ generated ontologies mapping rules integrated results Wiki facts access automatic ontology schema from rules mapping source databases © 2010 ontoprise GmbH Seite 13 Slide 13 http://smwforum.ontoprise.com
  • 14. Workflow  OntoStudio  SMW+ / TSC  Lift database schema  Import ontologies  Model wiki ontology  Formulate queries (QI)  Map database ontology to  Create articles containing inline queries wiki ontology  Browse database via Non-  Test and refine mappings Existing-Pages  Export ontologies  Potentially, enhance model  Transfer to Wiki server via annotations  Adapt and extend wiki ontology  Import ontology  Export ontology as OBL  Test and refine ontology © 2010 ontoprise GmbH Seite 14 http://smwforum.ontoprise.com
  • 15. Import Ontology into Wiki  The wiki ontology coming from OntoStudio needs to be imported.  This is a task for the Deplyoment Framework (DF)  Ontologies can be imported from a file or from a repository  Technically, the ontology file is converted into the MW XML- format and then imported by wiki tools.  The external tool for this task is “onto2mwxml”. It can also handle OWL, RDF/XML, N3, NTRIPLE, OBL  smwadmin –i myOntology.obl © 2010 ontoprise GmbH Seite 15 http://smwforum.ontoprise.com
  • 16. ObjectLogic  OBL contains stuff that has no equivalent in the wiki  Predicates  Mapping rules  Queries  They are stored as a separate file in the wiki and are copied into the TSC as an individual module to be executable.  TSC:  Wikimodule (contains all wiki annotations, incl. the ones imported from OBL) is automatically synched with Wiki  TSC-only part from imported OBL (this module is imported by the wikimodule)  Other modules, e.g. module created by lifting a database © 2010 ontoprise GmbH Seite 16 http://smwforum.ontoprise.com
  • 17. Wiki Part of Data Integration © 2010 ontoprise GmbH Seite 17 http://smwforum.ontoprise.com
  • 18. Imported Ontology in OntologyBrowser © 2010 ontoprise GmbH Seite 18 http://smwforum.ontoprise.com
  • 19. Imported rules  Rules of an ontology are stored on a separate page for each ontology. © 2010 ontoprise GmbH Seite 19 http://smwforum.ontoprise.com
  • 20. Example of an Imported Page  Imported page Property:HasName  Property has two domains: Product, Region  Type is String  The original URI in the ontology is  http://www.NewOnto1.org/ontology#hasName  This is separately stored in a mapping table to provide fast access whenever wiki names have to be replaced by OB URIs or vice-versa.  The (automatically created) bundle is Ontology-v9 © 2010 ontoprise GmbH Seite 20 http://smwforum.ontoprise.com
  • 21. Query for Integrated Data {{#ask: [[Category:Price]] [[InRegion.HasName::+]] [[OfProduct.HasName::+]] [[OfProduct.HasManufacturer::+]] |?Price |?InRegion.HasName=Region name |?OfProduct.HasName=Product name |?OfProduct.HasManufacturer=Manufacturer |source=tsc }} © 2010 ontoprise GmbH Seite 21 http://smwforum.ontoprise.com
  • 22. Query in the Query Interface © 2010 ontoprise GmbH Seite 22 http://smwforum.ontoprise.com
  • 23. Non-Existing Pages  An instance created from a database mapping is represented by a red-link.  In case that there is no real database key, OntoBroker creates one automatically.  If the user clicks on a red link, the non-existing page handler takes care of it  It displays all statements about this instance as well as all statements which have this instance as object. © 2010 ontoprise GmbH Seite 23 http://smwforum.ontoprise.com
  • 24. Non-Existing Pages This is the NEP page with the default template. It can be user- defined. © 2010 ontoprise GmbH Seite 24 http://smwforum.ontoprise.com
  • 25. Extend the Ontology in the Wiki  Create a new category © 2010 ontoprise GmbH Seite 25 http://smwforum.ontoprise.com
  • 26. Extend the Ontology in the Wiki  Create a rule in the wiki with the editor © 2010 ontoprise GmbH Seite 26 http://smwforum.ontoprise.com
  • 27. ObjectLogic Export  To re-import the ontology in OntoStudio, export it via the OBL export bot. © 2010 ontoprise GmbH Seite 27 http://smwforum.ontoprise.com
  • 28. Download Ontology from Wiki  Exported ontologies are stored in the wiki as files. © 2010 ontoprise GmbH Seite 28 http://smwforum.ontoprise.com
  • 29. Workflow  OntoStudio  SMW+ / TSC  Lift database schema  Import ontologies  Model wiki ontology  Formulate queries (QI)  Map database ontology to  Create articles containing inline queries wiki ontology  Browse database via Non-  Test and refine mappings Existing-Pages  Export ontologies  Potentially, enhance model  Transfer to Wiki server via annotations  Adapt and extend wiki ontology  Import ontology  Export ontology as OBL  Refine and test ontology © 2010 ontoprise GmbH Seite 29 http://smwforum.ontoprise.com
  • 30. Re-imported Ontology  OS shows new wiki entities © 2010 ontoprise GmbH Seite 30 http://smwforum.ontoprise.com
  • 31. Summary and Outlook  SMW+ and TripleStoreConnector realize  Access to relational data from within SMW  Using the wiki vocabulary  Live queries  Enhance/Extend the data by wiki users  Let’s see how this combines with SPARQL endpoints  SMW‘s new SPARQL implementation  Federated queries  Against different sources  Different vocabularies (with and without mapping) © 2010 ontoprise GmbH Seite 31 http://smwforum.ontoprise.com
  • 32.  Thank you! Michael Erdmann ontoprise GmbH Karlsruhe, Germany erdmann@ontoprise.de © 2010 ontoprise GmbH Seite 32 http://smwforum.ontoprise.com