SlideShare ist ein Scribd-Unternehmen logo
1 von 40
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

Weitere ähnliche Inhalte

Mehr von 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 DatabasesGiorgio 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 2014Giorgio Orsi
 
Deos 2014 - Welcome
Deos 2014 - WelcomeDeos 2014 - Welcome
Deos 2014 - WelcomeGiorgio 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 LogicsGiorgio 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
 
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 2012Giorgio 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 2012Giorgio Orsi
 
The Diadem Ontology
The Diadem OntologyThe Diadem Ontology
The Diadem OntologyGiorgio Orsi
 
AMBER presentation
AMBER presentationAMBER presentation
AMBER presentationGiorgio Orsi
 

Mehr von 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
 

Kürzlich hochgeladen

Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 

Kürzlich hochgeladen (20)

Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 

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