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

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
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
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
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
 

Kürzlich hochgeladen (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
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
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
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
 

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