SlideShare une entreprise Scribd logo
1  sur  32
Télécharger pour lire hors ligne
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

Contenu connexe

Similaire à Semantic Data Integration with SMW+

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 toolsMelanie Courtot
 
Ontotext Overview Winter 2012
Ontotext Overview Winter 2012Ontotext Overview Winter 2012
Ontotext Overview Winter 2012Matthew 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-03Johannes 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 applicationsNuxeo
 
Ontopia / Liferay integration
Ontopia / Liferay integrationOntopia / Liferay integration
Ontopia / Liferay integrationMatthias 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 Webajithranabahu
 
Development with TYPO3 5.0
Development with TYPO3 5.0Development with TYPO3 5.0
Development with TYPO3 5.0Robert Lemke
 
BarCamb Connotea by Ian Mulvany
BarCamb Connotea by Ian MulvanyBarCamb Connotea by Ian Mulvany
BarCamb Connotea by Ian MulvanyIan 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 metaphactoryPeter 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 UpdateJesse 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 ecosystemsNuno Caneco
 
Ontology Development Kit: Bio-Ontologies 2019
Ontology Development Kit: Bio-Ontologies 2019Ontology Development Kit: Bio-Ontologies 2019
Ontology Development Kit: Bio-Ontologies 2019Chris 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
 

Similaire à 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
 

Dernier

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Dernier (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

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