SlideShare a Scribd company logo
Semantic Data Markets
A Flexible Environment for Knowledge Management

                  R. De Virgilio, G. Orsi, L. Tanca and R. Torlone




              CIKM 2011 – Glasgow (UK)
Semantic Data Management:
Overview

  Problem:
     store,

     query, and

     reason over

  semantically annotated data.
Semantic Data Management:
Overview

  Problem:
     store,

     query, and

     reason over

  semantically annotated data.




          AT SCALE
Semantic Data Management:
Overview

  Common limitations:

    language-dependent frameworks,

    opaque logical and physical organization,

    tractable fragments are often ignored.
Semantic Data Management:
Overview

  Common limitations:

     language-dependent frameworks,

     opaque logical and physical organization,

     tractable fragments are often ignored.




  Nyaya: an environment for semantic data management.
                                                                      [Cali’ et Al. PODS ‘09]
    uniform representation of semantic data with Datalog±,            [Cali’ et Al. VLDB ‘10]

    flexible and transparent storage policy,    [Atzeni et Al. VLDBJ ‘08]

                                        [Gottlob et Al. ICDE ‘11]
    efficient reasoning and querying.   [Orsi et Al. VLDB ‘11]
Nyaya:
The kiosk



            ΣO   ΣO : ontological constraints




            ΣS   ΣS : storage constraints (mapping)




            D    D : database
Nyaya:
The kiosk



            ΣO   ΣO : ontological constraints




RDF         ΣS   ΣS : storage constraints (mapping)




            D    D : database
Nyaya:
The kiosk



            schema   ΣO   ΣO : ontological constraints




RDF                  ΣS   ΣS : storage constraints (mapping)




             data    D    D : database
Nyaya:
The kiosk



            schema   ΣO   ΣO : ontological constraints




RDF                  ΣS   ΣS : storage constraints (mapping)




             data    D    D : database
Nyaya:
The kiosk



            schema    ΣO   ΣO : ontological constraints




            storage        ΣS : storage constraints (mapping)
RDF          meta     ΣS
             model




             data     D    D : database
Nyaya:
The kiosk



            schema    ΣO   ΣO : ontological constraints




            storage        ΣS : storage constraints (mapping)
RDF          meta     ΣS
             model




             data     D    D : database
Nyaya:
Example
                     RDF




          database         constraints
Nyaya:
The semantic data market




           ΣO



           ΣS


            D
Nyaya:
The semantic data market




           ΣO




           ΣS


            D
Nyaya:
The semantic data market




           ΣO     ΣO       ΣO       ΣO




           ΣS     ΣS       ΣS   …   ΣS


            D     D        D        D
Nyaya:
The semantic data market




                   user-defined constraints

           ΣO     ΣO            ΣO                ΣO




           ΣS     ΣS            ΣS            …   ΣS


            D     D             D                 D
Nyaya:
The semantic data market



                                         Union of
    front-end                       Conjunctive Queries
   application


                       user-defined constraints

                 ΣO   ΣO            ΣO                    ΣO




                 ΣS   ΣS            ΣS            …       ΣS


                 D    D             D                     D
Query Reformulation
Use of FO-rewritability


                          Q   O
Query Reformulation
Use of FO-rewritability


                                           I phase
                          Q         O
                                         compilation
                                             (ΣO)


                              QO
Query Reformulation
Use of FO-rewritability


                                             I phase
                           Q         O
                                           compilation
                                               (ΣO)


                               QO
                                      II phase
                                     compilation
                     QS
                                         (ΣS)
                               S
Query Reformulation
Use of FO-rewritability


                                                 I phase
                               Q         O
                                               compilation
                                                   (ΣO)


                                   QO
                                          II phase
                                         compilation
      Q*                 QS
                                             (ΣS)
              SQL                  S
           translation
Query Reformulation
Use of FO-rewritability


                                                      I phase
                                    Q         O
                                                    compilation
                                                        (ΣO)


                                        QO
                                               II phase
                                              compilation
      Q*                      QS
                                                  (ΣS)
                  SQL                   S
               translation



           D     evaluation
Query Reformulation
Example [Gottlob, Orsi and Pieris ICDE ‘11]

      professor(X)  Y teaches(X,Y)
 ΣO
      teaches(X,Y)  student(Y)

 Q    q(A)  teaches(A,B), student(B)
Query Reformulation
Example [Gottlob, Orsi and Pieris ICDE ‘11]

      professor(X)  Y teaches(X,f(X))
 ΣO
      teaches(X,Y)  student(Y)

 Q    q(A)  teaches(A,B), student(B)
Query Reformulation
Example [Gottlob, Orsi and Pieris ICDE ‘11]

                                                        t[1]
      professor(X)  Y teaches(X,f(X))
 ΣO
      teaches(X,Y)  student(Y)           p[1]
                                                  f      s[1]
 Q    q(A)  teaches(A,B), student(B)
                                                 t[2]
Query Reformulation
Example [Gottlob, Orsi and Pieris ICDE ‘11]

                                                        t[1]
      professor(X)  Y teaches(X,f(X))
 ΣO
      teaches(X,Y)  student(Y)           p[1]
                                                  f      s[1]
 Q    q(A)  teaches(A,B), student(B)
                                                 t[2]
Query Reformulation
Example [Gottlob, Orsi and Pieris ICDE ‘11]

                                                        t[1]
      professor(X)  Y teaches(X,f(X))
 ΣO
      teaches(X,Y)  student(Y)           p[1]
                                                  f      s[1]
 Q    q(A)  teaches(A,B)
                                                 t[2]
Query Reformulation
Example [Gottlob, Orsi and Pieris ICDE ‘11]

                                                        t[1]
      professor(X)  Y teaches(X,f(X))
 ΣO
      teaches(X,Y)  student(Y)           p[1]
                                                  f      s[1]
 Q    q(A)  teaches(A,B)
                                                 t[2]
Query Reformulation
Example [Gottlob, Orsi and Pieris ICDE ‘11]

                                                       t[1]
 ΣO professor(X)  Y teaches(X,f(X))
                                         p[1]
                                                 f      s[1]
 Q   q(A)  teaches(A,B)
                                                t[2]
Query Reformulation
Example [Gottlob, Orsi and Pieris ICDE ‘11]

                                                           t[1]
 ΣO professor(X)  Y teaches(X,f(X))
                                             p[1]
                                                     f      s[1]
 Q   q(A)  teaches(X,Y)   { XA, Bf(X) }
                                                    t[2]
Query Reformulation
Example [Gottlob, Orsi and Pieris ICDE ‘11]

                                                       t[1]
 ΣO professor(X)  Y teaches(X,f(X))
                                         p[1]
                                                 f      s[1]
   q(A)  teaches(A,B)
 Q
   q(A)  professor(A)                          t[2]
Query Reformulation
Example [Gottlob, Orsi and Pieris ICDE ‘11]

                                                                t[1]
 ΣO professor(X)  Y teaches(X,f(X))
                                                 p[1]
                                                         f        s[1]
    q(A)  teaches(A,B)
 QΣ
    q(A)  professor(A)                                 t[2]


      professor(X)  i-class(Z0,X,Z1), class(Z1,’professor’)
 ΣS
      teaches(X,Y)  i-objectproperty(Z0,Z1,Z2,Z3), i-class(Z1,X,Z0),
                       i-class(Z2,Y,Z7), objectproperty(Z3,’teaches’,Z4,Z5)
Query Reformulation
Example [Gottlob, Orsi and Pieris ICDE ‘11]

                                                                t[1]
 ΣO professor(X)  Y teaches(X,f(X))
                                                 p[1]
                                                         f          s[1]
    q(A)  teaches(A,B)
 QΣ
    q(A)  professor(A)                                 t[2]


      professor(X)  i-class(Z0,X,Z1), class(Z1,’professor’)
 ΣS
      teaches(X,Y)  i-objectproperty(Z0,Z1,Z2,Z3), i-class(Z1,X,Z0),
                       i-class(Z2,Y,Z7), objectproperty(Z3,’teaches’,Z4,Z5)


      q(A)  i-objectproperty(Z0,Z1,Z2,Z3), i-class(Z1,A,Z0),
 QS          i-class(Z2,B,Z7), objectproperty(Z3,’teaches’,Z4,Z5)
      q(A)  i-class(Z0,A,Z1), class(Z1,’professor’)
Query Reformulation
Example [Gottlob, Orsi and Pieris ICDE ‘11]

                                                                t[1]
 ΣO professor(X)  Y teaches(X,f(X))
                                                 p[1]
                                                         f        s[1]
    q(A)  teaches(A,B)
 QΣ
    q(A)  professor(A)                                 t[2]


      professor(X)  i-class(Z0,X,Z1), class(Z1,’professor’)
 ΣS
      teaches(X,Y)  i-objectproperty(Z0,Z1,Z2,Z3), i-class(Z1,X,Z0),
                       i-class(Z2,Y,Z7), objectproperty(Z3,’teaches’,Z4,Z5)


    q(A)  i-objectproperty(Z0,Z1,Z2,#(teaches)), i-class(Z1,A,Z0)
 QS
    q(A)  i-class(Z0,A,#(professor))
Experiments
Querying

  UOBM Tbox (Approximated)

  Instance of 12.8 million triples
Experiments
Querying

  UOBM Tbox (Approximated)

  Instance of 12.8 million triples
Experiments
Loading and Updates
Experiments
Loading and Updates




  If the language of ΣO is FO-rewritable

     fact updates reduce to updates in a DBMS

     predicate updates reduce to re-compute the rewriting
Conclusion
What should we do?

  Identifying tractable classes of ontological constraints is crucial

     current commercial systems do not do that



  Intensional query reformulation delivers very good query performance



  Ontology-based data access (ODBA) seamlessly extends traditional
  database technology
This is the end
Thank you


                  The Nyaya Family




        http://mais.dia.uniroma3.it/Nyaya

More Related Content

More from Giorgio Orsi

wadar_poster_final
wadar_poster_finalwadar_poster_final
wadar_poster_finalGiorgio Orsi
 
Query Rewriting and Optimization for Ontological Databases
Query Rewriting and Optimization for Ontological DatabasesQuery Rewriting and Optimization for Ontological Databases
Query Rewriting and Optimization for Ontological Databases
Giorgio Orsi
 
ROSeAnn: Reconciling Opinions of Semantic Annotators VLDB 2014
ROSeAnn: Reconciling Opinions of Semantic Annotators VLDB 2014ROSeAnn: Reconciling Opinions of Semantic Annotators VLDB 2014
ROSeAnn: Reconciling Opinions of Semantic Annotators VLDB 2014
Giorgio Orsi
 
Deos 2014 - Welcome
Deos 2014 - WelcomeDeos 2014 - Welcome
Deos 2014 - Welcome
Giorgio Orsi
 
Heuristic Ranking in Tightly Coupled Probabilistic Description Logics
Heuristic Ranking in Tightly Coupled Probabilistic Description LogicsHeuristic Ranking in Tightly Coupled Probabilistic Description Logics
Heuristic Ranking in Tightly Coupled Probabilistic Description Logics
Giorgio Orsi
 
Datalog and its Extensions for Semantic Web Databases
Datalog and its Extensions for Semantic Web DatabasesDatalog and its Extensions for Semantic Web Databases
Datalog and its Extensions for Semantic Web DatabasesGiorgio Orsi
 
AMBER WWW 2012 Poster
AMBER WWW 2012 PosterAMBER WWW 2012 Poster
AMBER WWW 2012 PosterGiorgio Orsi
 
AMBER WWW 2012 (Demonstration)
AMBER WWW 2012 (Demonstration)AMBER WWW 2012 (Demonstration)
AMBER WWW 2012 (Demonstration)
Giorgio Orsi
 
DIADEM WWW 2012
DIADEM WWW 2012DIADEM WWW 2012
DIADEM WWW 2012
Giorgio Orsi
 
OPAL: a passe-partout for web forms - WWW 2012 (Demonstration)
OPAL: a passe-partout for web forms - WWW 2012 (Demonstration)OPAL: a passe-partout for web forms - WWW 2012 (Demonstration)
OPAL: a passe-partout for web forms - WWW 2012 (Demonstration)
Giorgio Orsi
 
Querying UML Class Diagrams - FoSSaCS 2012
Querying UML Class Diagrams - FoSSaCS 2012Querying UML Class Diagrams - FoSSaCS 2012
Querying UML Class Diagrams - FoSSaCS 2012
Giorgio Orsi
 
OPAL: automated form understanding for the deep web - WWW 2012
OPAL: automated form understanding for the deep web - WWW 2012OPAL: automated form understanding for the deep web - WWW 2012
OPAL: automated form understanding for the deep web - WWW 2012
Giorgio Orsi
 
The Diadem Ontology
The Diadem OntologyThe Diadem Ontology
The Diadem OntologyGiorgio Orsi
 
AMBER presentation
AMBER presentationAMBER presentation
AMBER presentationGiorgio Orsi
 

More from Giorgio Orsi (20)

wadar_poster_final
wadar_poster_finalwadar_poster_final
wadar_poster_final
 
Query Rewriting and Optimization for Ontological Databases
Query Rewriting and Optimization for Ontological DatabasesQuery Rewriting and Optimization for Ontological Databases
Query Rewriting and Optimization for Ontological Databases
 
ROSeAnn: Reconciling Opinions of Semantic Annotators VLDB 2014
ROSeAnn: Reconciling Opinions of Semantic Annotators VLDB 2014ROSeAnn: Reconciling Opinions of Semantic Annotators VLDB 2014
ROSeAnn: Reconciling Opinions of Semantic Annotators VLDB 2014
 
Deos 2014 - Welcome
Deos 2014 - WelcomeDeos 2014 - Welcome
Deos 2014 - Welcome
 
Perv a ds-rr13
Perv a ds-rr13Perv a ds-rr13
Perv a ds-rr13
 
Heuristic Ranking in Tightly Coupled Probabilistic Description Logics
Heuristic Ranking in Tightly Coupled Probabilistic Description LogicsHeuristic Ranking in Tightly Coupled Probabilistic Description Logics
Heuristic Ranking in Tightly Coupled Probabilistic Description Logics
 
Datalog and its Extensions for Semantic Web Databases
Datalog and its Extensions for Semantic Web DatabasesDatalog and its Extensions for Semantic Web Databases
Datalog and its Extensions for Semantic Web Databases
 
AMBER WWW 2012 Poster
AMBER WWW 2012 PosterAMBER WWW 2012 Poster
AMBER WWW 2012 Poster
 
AMBER WWW 2012 (Demonstration)
AMBER WWW 2012 (Demonstration)AMBER WWW 2012 (Demonstration)
AMBER WWW 2012 (Demonstration)
 
DIADEM WWW 2012
DIADEM WWW 2012DIADEM WWW 2012
DIADEM WWW 2012
 
OPAL: a passe-partout for web forms - WWW 2012 (Demonstration)
OPAL: a passe-partout for web forms - WWW 2012 (Demonstration)OPAL: a passe-partout for web forms - WWW 2012 (Demonstration)
OPAL: a passe-partout for web forms - WWW 2012 (Demonstration)
 
Querying UML Class Diagrams - FoSSaCS 2012
Querying UML Class Diagrams - FoSSaCS 2012Querying UML Class Diagrams - FoSSaCS 2012
Querying UML Class Diagrams - FoSSaCS 2012
 
OPAL: automated form understanding for the deep web - WWW 2012
OPAL: automated form understanding for the deep web - WWW 2012OPAL: automated form understanding for the deep web - WWW 2012
OPAL: automated form understanding for the deep web - WWW 2012
 
Table Recognition
Table RecognitionTable Recognition
Table Recognition
 
The Diadem Ontology
The Diadem OntologyThe Diadem Ontology
The Diadem Ontology
 
Diadem 1.0
Diadem 1.0Diadem 1.0
Diadem 1.0
 
Oxpath vldb
Oxpath vldbOxpath vldb
Oxpath vldb
 
AMBER presentation
AMBER presentationAMBER presentation
AMBER presentation
 
Orsi PersDB11
Orsi PersDB11Orsi PersDB11
Orsi PersDB11
 
Orsi Vldb11
Orsi Vldb11Orsi Vldb11
Orsi Vldb11
 

Recently uploaded

Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
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
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
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
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
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
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
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
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
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
 

Recently uploaded (20)

Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
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...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
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...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
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
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
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
 

Nyaya: Semantic data markets: a flexible environment for knowledge management - CIKM 2011 and ICDE 2012 (Demonstration)

  • 1. Semantic Data Markets A Flexible Environment for Knowledge Management R. De Virgilio, G. Orsi, L. Tanca and R. Torlone CIKM 2011 – Glasgow (UK)
  • 2. Semantic Data Management: Overview Problem: store, query, and reason over semantically annotated data.
  • 3. Semantic Data Management: Overview Problem: store, query, and reason over semantically annotated data. AT SCALE
  • 4. Semantic Data Management: Overview Common limitations: language-dependent frameworks, opaque logical and physical organization, tractable fragments are often ignored.
  • 5. Semantic Data Management: Overview Common limitations: language-dependent frameworks, opaque logical and physical organization, tractable fragments are often ignored. Nyaya: an environment for semantic data management. [Cali’ et Al. PODS ‘09] uniform representation of semantic data with Datalog±, [Cali’ et Al. VLDB ‘10] flexible and transparent storage policy, [Atzeni et Al. VLDBJ ‘08] [Gottlob et Al. ICDE ‘11] efficient reasoning and querying. [Orsi et Al. VLDB ‘11]
  • 6. Nyaya: The kiosk ΣO ΣO : ontological constraints ΣS ΣS : storage constraints (mapping) D D : database
  • 7. Nyaya: The kiosk ΣO ΣO : ontological constraints RDF ΣS ΣS : storage constraints (mapping) D D : database
  • 8. Nyaya: The kiosk schema ΣO ΣO : ontological constraints RDF ΣS ΣS : storage constraints (mapping) data D D : database
  • 9. Nyaya: The kiosk schema ΣO ΣO : ontological constraints RDF ΣS ΣS : storage constraints (mapping) data D D : database
  • 10. Nyaya: The kiosk schema ΣO ΣO : ontological constraints storage ΣS : storage constraints (mapping) RDF meta ΣS model data D D : database
  • 11. Nyaya: The kiosk schema ΣO ΣO : ontological constraints storage ΣS : storage constraints (mapping) RDF meta ΣS model data D D : database
  • 12. Nyaya: Example RDF database constraints
  • 13. Nyaya: The semantic data market ΣO ΣS D
  • 14. Nyaya: The semantic data market ΣO ΣS D
  • 15. Nyaya: The semantic data market ΣO ΣO ΣO ΣO ΣS ΣS ΣS … ΣS D D D D
  • 16. Nyaya: The semantic data market user-defined constraints ΣO ΣO ΣO ΣO ΣS ΣS ΣS … ΣS D D D D
  • 17. Nyaya: The semantic data market Union of front-end Conjunctive Queries application user-defined constraints ΣO ΣO ΣO ΣO ΣS ΣS ΣS … ΣS D D D D
  • 18. Query Reformulation Use of FO-rewritability Q O
  • 19. Query Reformulation Use of FO-rewritability I phase Q O compilation (ΣO) QO
  • 20. Query Reformulation Use of FO-rewritability I phase Q O compilation (ΣO) QO II phase compilation QS (ΣS) S
  • 21. Query Reformulation Use of FO-rewritability I phase Q O compilation (ΣO) QO II phase compilation Q* QS (ΣS) SQL S translation
  • 22. Query Reformulation Use of FO-rewritability I phase Q O compilation (ΣO) QO II phase compilation Q* QS (ΣS) SQL S translation D evaluation
  • 23. Query Reformulation Example [Gottlob, Orsi and Pieris ICDE ‘11] professor(X)  Y teaches(X,Y) ΣO teaches(X,Y)  student(Y) Q q(A)  teaches(A,B), student(B)
  • 24. Query Reformulation Example [Gottlob, Orsi and Pieris ICDE ‘11] professor(X)  Y teaches(X,f(X)) ΣO teaches(X,Y)  student(Y) Q q(A)  teaches(A,B), student(B)
  • 25. Query Reformulation Example [Gottlob, Orsi and Pieris ICDE ‘11] t[1] professor(X)  Y teaches(X,f(X)) ΣO teaches(X,Y)  student(Y) p[1] f s[1] Q q(A)  teaches(A,B), student(B) t[2]
  • 26. Query Reformulation Example [Gottlob, Orsi and Pieris ICDE ‘11] t[1] professor(X)  Y teaches(X,f(X)) ΣO teaches(X,Y)  student(Y) p[1] f s[1] Q q(A)  teaches(A,B), student(B) t[2]
  • 27. Query Reformulation Example [Gottlob, Orsi and Pieris ICDE ‘11] t[1] professor(X)  Y teaches(X,f(X)) ΣO teaches(X,Y)  student(Y) p[1] f s[1] Q q(A)  teaches(A,B) t[2]
  • 28. Query Reformulation Example [Gottlob, Orsi and Pieris ICDE ‘11] t[1] professor(X)  Y teaches(X,f(X)) ΣO teaches(X,Y)  student(Y) p[1] f s[1] Q q(A)  teaches(A,B) t[2]
  • 29. Query Reformulation Example [Gottlob, Orsi and Pieris ICDE ‘11] t[1] ΣO professor(X)  Y teaches(X,f(X)) p[1] f s[1] Q q(A)  teaches(A,B) t[2]
  • 30. Query Reformulation Example [Gottlob, Orsi and Pieris ICDE ‘11] t[1] ΣO professor(X)  Y teaches(X,f(X)) p[1] f s[1] Q q(A)  teaches(X,Y) { XA, Bf(X) } t[2]
  • 31. Query Reformulation Example [Gottlob, Orsi and Pieris ICDE ‘11] t[1] ΣO professor(X)  Y teaches(X,f(X)) p[1] f s[1] q(A)  teaches(A,B) Q q(A)  professor(A) t[2]
  • 32. Query Reformulation Example [Gottlob, Orsi and Pieris ICDE ‘11] t[1] ΣO professor(X)  Y teaches(X,f(X)) p[1] f s[1] q(A)  teaches(A,B) QΣ q(A)  professor(A) t[2] professor(X)  i-class(Z0,X,Z1), class(Z1,’professor’) ΣS teaches(X,Y)  i-objectproperty(Z0,Z1,Z2,Z3), i-class(Z1,X,Z0), i-class(Z2,Y,Z7), objectproperty(Z3,’teaches’,Z4,Z5)
  • 33. Query Reformulation Example [Gottlob, Orsi and Pieris ICDE ‘11] t[1] ΣO professor(X)  Y teaches(X,f(X)) p[1] f s[1] q(A)  teaches(A,B) QΣ q(A)  professor(A) t[2] professor(X)  i-class(Z0,X,Z1), class(Z1,’professor’) ΣS teaches(X,Y)  i-objectproperty(Z0,Z1,Z2,Z3), i-class(Z1,X,Z0), i-class(Z2,Y,Z7), objectproperty(Z3,’teaches’,Z4,Z5) q(A)  i-objectproperty(Z0,Z1,Z2,Z3), i-class(Z1,A,Z0), QS i-class(Z2,B,Z7), objectproperty(Z3,’teaches’,Z4,Z5) q(A)  i-class(Z0,A,Z1), class(Z1,’professor’)
  • 34. Query Reformulation Example [Gottlob, Orsi and Pieris ICDE ‘11] t[1] ΣO professor(X)  Y teaches(X,f(X)) p[1] f s[1] q(A)  teaches(A,B) QΣ q(A)  professor(A) t[2] professor(X)  i-class(Z0,X,Z1), class(Z1,’professor’) ΣS teaches(X,Y)  i-objectproperty(Z0,Z1,Z2,Z3), i-class(Z1,X,Z0), i-class(Z2,Y,Z7), objectproperty(Z3,’teaches’,Z4,Z5) q(A)  i-objectproperty(Z0,Z1,Z2,#(teaches)), i-class(Z1,A,Z0) QS q(A)  i-class(Z0,A,#(professor))
  • 35. Experiments Querying UOBM Tbox (Approximated) Instance of 12.8 million triples
  • 36. Experiments Querying UOBM Tbox (Approximated) Instance of 12.8 million triples
  • 38. Experiments Loading and Updates If the language of ΣO is FO-rewritable fact updates reduce to updates in a DBMS predicate updates reduce to re-compute the rewriting
  • 39. Conclusion What should we do? Identifying tractable classes of ontological constraints is crucial current commercial systems do not do that Intensional query reformulation delivers very good query performance Ontology-based data access (ODBA) seamlessly extends traditional database technology
  • 40. This is the end Thank you The Nyaya Family http://mais.dia.uniroma3.it/Nyaya