SlideShare a Scribd company logo
1 of 108
Download to read offline
Georg Gottlob
          Computing Laboratory
Department of Computer Science
            University of Oxford

                 Joint work with
            G. Orsi and A. Pieris



    
D                            reports(X,Y)  employee(X)
     reports(john,ann)         reports(X,Y)  employee(Y)
     reports(ann,tom)          reports(X,Y)  manager(Y,X)
                               manager(X,Y),manager(Y,Z)  manager(X,Z)


                    Intensional DB
       reports(john,ann)  reports(ann,tom)
        employee(john)     employee(ann)
        employee(tom)    manager(ann,john)
       manager(tom,ann) manager(tom,john)


Q = XYZ employee(X),manager(X,Y),manager(Y,Z)
D                            reports(X,Y)  employee(X)
     reports(john,ann)         reports(X,Y)  employee(Y)
     reports(ann,tom)          reports(X,Y)  manager(Y,X)
                               manager(X,Y),manager(Y,Z)  manager(X,Z)


                    Intensional DB
       reports(john,ann)  reports(ann,tom)              Unique
        employee(john)     employee(ann)         Least Herbrand Model
        employee(tom)    manager(ann,john)                for
       manager(tom,ann) manager(tom,john)                Dυ


Q = XYZ employee(X),manager(X,Y),manager(Y,Z)

       




employee v supervisedBy
supervisedBy v employee

      employee             supervisedBy
employee v supervises-
supervises v employee
employee v supervises-
supervises v employee
employee v supervises-
           supervises v employee




?:- supervises(X,John), employee(X)
employee v supervises-
           supervises v employee




?:- supervises(X,John), employee(X)
employee v supervises-
   supervises v employee




?:- supervises(John,X)
employee v supervises-
         supervises v employee




      ?:- supervises(John,X)




Usually done with tableaux algorithms



            


                




    

        

DL axiom                          Datalog rule
Concept Inclusion
  employee v person                employee(X)  person(X)

(Inverse) Role Inclusion
  reports¡ v manager              reports(X,Y)  manager(Y,X)

Role Transitivity
    trans(manager)         manager(X,Y),manager(Y,Z)  manager(X,Z)
DL axiom                 Datalog(?) rule
Participation
employee v report      employee(X)  Y report(X,Y)

Disjointness
employee v :customer   employee(X),customer(X)  


Functionality
funct(reports)         reports(X,Y),reports(X,Z)  Y = Z




D
Q = X (X)




                   



                   D




     D [  ² Q , B ( (B D [ )  B ² Q)
                    B¶DÆB²
Q = X (X)
                                               

                                           
                   



                   D




     D [  ² Q , B ( (B ² D[)  B ² Q)

                    B¶DÆB²
DB
                             technology
          DLs
(DL-Lite, EL, Flogic Lite)        +
                             constraints


                   Datalog
         

               


                    

     
                    

              
        
   υ
            
   υ




         
D
                       dom(D) = {a,b,c,d}



                              



chase(D, ) = ?
D
                              dom(D) = {a,b,c,d}



                                     



chase(D, ) = D υ { r(b,z0)
D
                                       dom(D) = {a,b,c,d}



                                              



chase(D, ) = D υ { r(b,z0), r(d,z1)
D
                                       dom(D) = {a,b,c,d}



                                              

                                                     z0 = z1
chase(D, ) = D υ { r(b,z0), r(d,z1)
D
                                         dom(D) = {a,b,c,d}



                                                



chase(D, ) = D υ { r(b,z1), r(d,z1) }
see, e.g.,
                            Deutsch, Nash & Remmel
          chase(D,)        PODS 08

               D
     h1                h2


           .   .   .

M1
                                M2





Q   h
              chase(D,)

                   D
         h1                  h2


               .   .   .

M1
                                      M2


     Dυ²Q         ,       chase(D,) ² Q
Σ   Σ   Σ   Σ   Σ

    





          Linear
                   DL-Lite
                             Sticky-join




    Guarded
                      EL





          Linear
                   DL-Lite
                               Sticky-join
                             FO-rewritable



    Guarded
                      EL
              PTIME





          Linear
                   DL-Lite
                                   Sticky-join
                                 FO-rewritable



    Guarded
                      EL
              PTIME
                             We focus on the linear fragment:
                               • first-order rewriting
                               • semantic query optimizations





    
Q        




    Q
Q        




Q*       Q
Q        




    Q*       Q




D
DL-Lite: Popular family of DLs with highly tractable data complexity


     DL-Lite TBox                  Datalog Representation
 DL-Litecore
   promoter v dealsWith       professor(X)  Y teachesTo(X,Y)
   promoter v customer        professor(X),student(X)  

 DL-LiteR
 promotes¡ v isAdvertised      promotes(X,Y)  isAdvertised(Y,X)

 DL-LiteF
    funct( supervises- )    supervises(Y,X),supervises Y,X  Y = Z
   
                 

Q                    D
    
   
                 

Q                    D
    
       
             
                 
Q   

    
           


Q   




       


Q       
       
                      

         Q   



Q
     
       
                      

         Q   



Q
     

     
       
                      

         Q   



Q
     

                         
       
                      

         Q   



Q
     

                         

     
       
                      

         Q   



Q
     

     

     
Schema


 SELECT promoter
 FROM promotesTo PT, customer C
 WHERE PT.promoted = C.name

 UNION

 SELECT promoter
 FROM promotesTo PT1, promotesTo PT2
 WHERE PT1.promoted = PT2.promoted

 UNION

 SELECT name
 FROM promoter
Schema

                                           Execute Q over D:
 SELECT promoter
 FROM promotesTo PT, customer C        D
 WHERE PT.promoted = C.name

 UNION

 SELECT promoter
 FROM promotesTo PT1, promotesTo PT2
 WHERE PT1.promoted = PT2.promoted

 UNION

 SELECT name
 FROM promoter
:   
     
     
     
     



     





    
:   


        


:   


        



:   

             
        



:   

             
                   

             

:   

             
                   

             






         :           
                  

    Q:        

              
:   
     
     
     
     



     
:   
     
     
     
     



     





        

    







    
            




        

    
    


         






                 
8-

     




          
EL: Popular DL for complex systems modelling (e.g., biology)


         EL TBox                 Datalog Representation

                  v                                 

   u           v                                 










    


    











    9 
elephant(E),mouse(M)  biggerThan(E,M)



person v 9father¡
                              9father v person
?:- 9father.{John} u person
person v 9father¡
                               9father v person
?:- 9father.{John} u person



                ?:- 9father¡ u 9father.{John} u person
person v 9father¡
                               9father v person
?:- 9father.{John} u person



                ?:- 9father¡ u 9father.{John} u person



   9father¡, 9father.{John}, person
person v 9father¡
                                        9father v person
         ?:- 9father.{John} u person



                         ?:- 9father¡ u 9father.{John} u person



            9father¡, 9father.{John}, person
father
person v 9father¡
                                        9father v person
         ?:- 9father.{John} u person



                         ?:- 9father¡ u 9father.{John} u person


father
            9father¡, 9father.{John}, person
father
person v 9father¡
                                                 9father v person
                 ?:- 9father.{John} u person


         Model                 true:- 9father¡ u 9father.{John} u person


father
                    9father¡, 9father.{John}, person
father












T   
E        




     T , E
T   
E        




      T , E
T   
E           




         T , E

More Related Content

What's hot

Principal component analysis and matrix factorizations for learning (part 2) ...
Principal component analysis and matrix factorizations for learning (part 2) ...Principal component analysis and matrix factorizations for learning (part 2) ...
Principal component analysis and matrix factorizations for learning (part 2) ...
zukun
 
nips勉強会_Toward Property-Based Classification of Clustering Paradigms
nips勉強会_Toward Property-Based Classification of Clustering Paradigmsnips勉強会_Toward Property-Based Classification of Clustering Paradigms
nips勉強会_Toward Property-Based Classification of Clustering Paradigms
tksakaki
 
CVPR2010: Advanced ITinCVPR in a Nutshell: part 7: Future Trend
CVPR2010: Advanced ITinCVPR in a Nutshell: part 7: Future TrendCVPR2010: Advanced ITinCVPR in a Nutshell: part 7: Future Trend
CVPR2010: Advanced ITinCVPR in a Nutshell: part 7: Future Trend
zukun
 
大規模日本語ブログコーパスにおける言語モデルの構築と評価
大規模日本語ブログコーパスにおける言語モデルの構築と評価大規模日本語ブログコーパスにおける言語モデルの構築と評価
大規模日本語ブログコーパスにおける言語モデルの構築と評価
Yahoo!デベロッパーネットワーク
 
Form 5 formulae and note
Form 5 formulae and noteForm 5 formulae and note
Form 5 formulae and note
smktsj2
 
20110911 models of web graphs and their applications raigorodsky_lecture1-3
20110911 models of web graphs and their applications raigorodsky_lecture1-320110911 models of web graphs and their applications raigorodsky_lecture1-3
20110911 models of web graphs and their applications raigorodsky_lecture1-3
Computer Science Club
 
CVPR2010: higher order models in computer vision: Part 1, 2
CVPR2010: higher order models in computer vision: Part 1, 2CVPR2010: higher order models in computer vision: Part 1, 2
CVPR2010: higher order models in computer vision: Part 1, 2
zukun
 
R graphics by Novi Reandy Sasmita
R graphics by Novi Reandy SasmitaR graphics by Novi Reandy Sasmita
R graphics by Novi Reandy Sasmita
beasiswa
 
D-Branes and The Disformal Dark Sector - Danielle Wills and Tomi Koivisto
D-Branes and The Disformal Dark Sector - Danielle Wills and Tomi KoivistoD-Branes and The Disformal Dark Sector - Danielle Wills and Tomi Koivisto
D-Branes and The Disformal Dark Sector - Danielle Wills and Tomi Koivisto
CosmoAIMS Bassett
 

What's hot (20)

Alternating direction
Alternating directionAlternating direction
Alternating direction
 
Scientific Computing with Python Webinar 9/18/2009:Curve Fitting
Scientific Computing with Python Webinar 9/18/2009:Curve FittingScientific Computing with Python Webinar 9/18/2009:Curve Fitting
Scientific Computing with Python Webinar 9/18/2009:Curve Fitting
 
Integrated Math 2 Section 6-2
Integrated Math 2 Section 6-2Integrated Math 2 Section 6-2
Integrated Math 2 Section 6-2
 
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
 
Jump-Diffusion Risk-Sensitive Asset Management
Jump-Diffusion Risk-Sensitive Asset ManagementJump-Diffusion Risk-Sensitive Asset Management
Jump-Diffusion Risk-Sensitive Asset Management
 
Principal component analysis and matrix factorizations for learning (part 2) ...
Principal component analysis and matrix factorizations for learning (part 2) ...Principal component analysis and matrix factorizations for learning (part 2) ...
Principal component analysis and matrix factorizations for learning (part 2) ...
 
Mesh Processing Course : Differential Calculus
Mesh Processing Course : Differential CalculusMesh Processing Course : Differential Calculus
Mesh Processing Course : Differential Calculus
 
nips勉強会_Toward Property-Based Classification of Clustering Paradigms
nips勉強会_Toward Property-Based Classification of Clustering Paradigmsnips勉強会_Toward Property-Based Classification of Clustering Paradigms
nips勉強会_Toward Property-Based Classification of Clustering Paradigms
 
CVPR2010: Advanced ITinCVPR in a Nutshell: part 7: Future Trend
CVPR2010: Advanced ITinCVPR in a Nutshell: part 7: Future TrendCVPR2010: Advanced ITinCVPR in a Nutshell: part 7: Future Trend
CVPR2010: Advanced ITinCVPR in a Nutshell: part 7: Future Trend
 
大規模日本語ブログコーパスにおける言語モデルの構築と評価
大規模日本語ブログコーパスにおける言語モデルの構築と評価大規模日本語ブログコーパスにおける言語モデルの構築と評価
大規模日本語ブログコーパスにおける言語モデルの構築と評価
 
Functional Programming in C++
Functional Programming in C++Functional Programming in C++
Functional Programming in C++
 
Form 5 formulae and note
Form 5 formulae and noteForm 5 formulae and note
Form 5 formulae and note
 
20110911 models of web graphs and their applications raigorodsky_lecture1-3
20110911 models of web graphs and their applications raigorodsky_lecture1-320110911 models of web graphs and their applications raigorodsky_lecture1-3
20110911 models of web graphs and their applications raigorodsky_lecture1-3
 
CVPR2010: higher order models in computer vision: Part 1, 2
CVPR2010: higher order models in computer vision: Part 1, 2CVPR2010: higher order models in computer vision: Part 1, 2
CVPR2010: higher order models in computer vision: Part 1, 2
 
R graphics by Novi Reandy Sasmita
R graphics by Novi Reandy SasmitaR graphics by Novi Reandy Sasmita
R graphics by Novi Reandy Sasmita
 
Ben Gal
Ben Gal Ben Gal
Ben Gal
 
D-Branes and The Disformal Dark Sector - Danielle Wills and Tomi Koivisto
D-Branes and The Disformal Dark Sector - Danielle Wills and Tomi KoivistoD-Branes and The Disformal Dark Sector - Danielle Wills and Tomi Koivisto
D-Branes and The Disformal Dark Sector - Danielle Wills and Tomi Koivisto
 
David Seim. Tax Rates, Tax Evasion and Cognitive Skills
David Seim. Tax Rates, Tax Evasion and Cognitive SkillsDavid Seim. Tax Rates, Tax Evasion and Cognitive Skills
David Seim. Tax Rates, Tax Evasion and Cognitive Skills
 
Lesson03 The Concept Of Limit 027 Slides
Lesson03   The Concept Of Limit 027 SlidesLesson03   The Concept Of Limit 027 Slides
Lesson03 The Concept Of Limit 027 Slides
 
Adaptive Signal and Image Processing
Adaptive Signal and Image ProcessingAdaptive Signal and Image Processing
Adaptive Signal and Image Processing
 

Similar to Gottlob ICDE 2011

09 logic programming
09 logic programming09 logic programming
09 logic programming
saru40
 
Triangle counting handout
Triangle counting handoutTriangle counting handout
Triangle counting handout
csedays
 
GradStudentSeminarSept30
GradStudentSeminarSept30GradStudentSeminarSept30
GradStudentSeminarSept30
Ryan White
 
Notes up to_ch7_sec3
Notes up to_ch7_sec3Notes up to_ch7_sec3
Notes up to_ch7_sec3
neenos
 
Static-talk
Static-talkStatic-talk
Static-talk
giunti
 

Similar to Gottlob ICDE 2011 (20)

TR tabling presentation_2010_09
TR tabling presentation_2010_09TR tabling presentation_2010_09
TR tabling presentation_2010_09
 
Intro to AI STRIPS Planning & Applications in Video-games Lecture3-Part1
Intro to AI STRIPS Planning & Applications in Video-games Lecture3-Part1Intro to AI STRIPS Planning & Applications in Video-games Lecture3-Part1
Intro to AI STRIPS Planning & Applications in Video-games Lecture3-Part1
 
09 logic programming
09 logic programming09 logic programming
09 logic programming
 
Cea0001 ppt project
Cea0001 ppt projectCea0001 ppt project
Cea0001 ppt project
 
Introduction to modern Variational Inference.
Introduction to modern Variational Inference.Introduction to modern Variational Inference.
Introduction to modern Variational Inference.
 
Triangle counting handout
Triangle counting handoutTriangle counting handout
Triangle counting handout
 
Declarative Datalog Debugging for Mere Mortals
Declarative Datalog Debugging for Mere MortalsDeclarative Datalog Debugging for Mere Mortals
Declarative Datalog Debugging for Mere Mortals
 
GradStudentSeminarSept30
GradStudentSeminarSept30GradStudentSeminarSept30
GradStudentSeminarSept30
 
Notes up to_ch7_sec3
Notes up to_ch7_sec3Notes up to_ch7_sec3
Notes up to_ch7_sec3
 
Notes up to_ch7_sec3
Notes up to_ch7_sec3Notes up to_ch7_sec3
Notes up to_ch7_sec3
 
Semantic Data Box
Semantic Data BoxSemantic Data Box
Semantic Data Box
 
Montpellier Math Colloquium
Montpellier Math ColloquiumMontpellier Math Colloquium
Montpellier Math Colloquium
 
Truth, deduction, computation lecture f
Truth, deduction, computation   lecture fTruth, deduction, computation   lecture f
Truth, deduction, computation lecture f
 
Ml4nlp04 1
Ml4nlp04 1Ml4nlp04 1
Ml4nlp04 1
 
Generative adversarial text to image synthesis
Generative adversarial text to image synthesisGenerative adversarial text to image synthesis
Generative adversarial text to image synthesis
 
Markov Tutorial CDC Shanghai 2009
Markov Tutorial CDC Shanghai 2009Markov Tutorial CDC Shanghai 2009
Markov Tutorial CDC Shanghai 2009
 
Comparing estimation algorithms for block clustering models
Comparing estimation algorithms for block clustering modelsComparing estimation algorithms for block clustering models
Comparing estimation algorithms for block clustering models
 
MATHEON Center Days: Index determination and structural analysis using Algori...
MATHEON Center Days: Index determination and structural analysis using Algori...MATHEON Center Days: Index determination and structural analysis using Algori...
MATHEON Center Days: Index determination and structural analysis using Algori...
 
Static-talk
Static-talkStatic-talk
Static-talk
 
Applied Machine Learning For Search Engine Relevance
Applied Machine Learning For Search Engine Relevance Applied Machine Learning For Search Engine Relevance
Applied Machine Learning For Search Engine Relevance
 

More from Giorgio Orsi

wadar_poster_final
wadar_poster_finalwadar_poster_final
wadar_poster_final
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
 
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
Giorgio Orsi
 
AMBER WWW 2012 Poster
AMBER WWW 2012 PosterAMBER WWW 2012 Poster
AMBER WWW 2012 Poster
Giorgio Orsi
 
DIADEM WWW 2012
DIADEM WWW 2012DIADEM WWW 2012
DIADEM WWW 2012
Giorgio Orsi
 
The Diadem Ontology
The Diadem OntologyThe Diadem Ontology
The Diadem Ontology
Giorgio Orsi
 

More from Giorgio Orsi (20)

Web Data Extraction: A Crash Course
Web Data Extraction: A Crash CourseWeb Data Extraction: A Crash Course
Web Data Extraction: A Crash Course
 
Fairhair.ai – alan turing institute june '17 (public)
Fairhair.ai – alan turing institute june '17 (public)Fairhair.ai – alan turing institute june '17 (public)
Fairhair.ai – alan turing institute june '17 (public)
 
Joint Repairs for Web Wrappers
Joint Repairs for Web WrappersJoint Repairs for Web Wrappers
Joint Repairs for Web Wrappers
 
SAE: Structured Aspect Extraction
SAE: Structured Aspect ExtractionSAE: Structured Aspect Extraction
SAE: Structured Aspect Extraction
 
diadem-vldb-2015
diadem-vldb-2015diadem-vldb-2015
diadem-vldb-2015
 
wadar_poster_final
wadar_poster_finalwadar_poster_final
wadar_poster_final
 
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
 
Nyaya: Semantic data markets: a flexible environment for knowledge management...
Nyaya: Semantic data markets: a flexible environment for knowledge management...Nyaya: Semantic data markets: a flexible environment for knowledge management...
Nyaya: Semantic data markets: a flexible environment for knowledge management...
 
Table Recognition
Table RecognitionTable Recognition
Table Recognition
 
The Diadem Ontology
The Diadem OntologyThe Diadem Ontology
The Diadem Ontology
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

Gottlob ICDE 2011

  • 1. Georg Gottlob Computing Laboratory Department of Computer Science University of Oxford Joint work with G. Orsi and A. Pieris
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. D  reports(X,Y)  employee(X) reports(john,ann) reports(X,Y)  employee(Y) reports(ann,tom) reports(X,Y)  manager(Y,X) manager(X,Y),manager(Y,Z)  manager(X,Z) Intensional DB reports(john,ann) reports(ann,tom) employee(john) employee(ann) employee(tom) manager(ann,john) manager(tom,ann) manager(tom,john) Q = XYZ employee(X),manager(X,Y),manager(Y,Z)
  • 9. D  reports(X,Y)  employee(X) reports(john,ann) reports(X,Y)  employee(Y) reports(ann,tom) reports(X,Y)  manager(Y,X) manager(X,Y),manager(Y,Z)  manager(X,Z) Intensional DB reports(john,ann) reports(ann,tom) Unique employee(john) employee(ann) Least Herbrand Model employee(tom) manager(ann,john) for manager(tom,ann) manager(tom,john) Dυ Q = XYZ employee(X),manager(X,Y),manager(Y,Z)
  • 10.  employee v supervisedBy supervisedBy v employee employee supervisedBy
  • 11.
  • 14. employee v supervises- supervises v employee ?:- supervises(X,John), employee(X)
  • 15. employee v supervises- supervises v employee ?:- supervises(X,John), employee(X)
  • 16. employee v supervises- supervises v employee ?:- supervises(John,X)
  • 17. employee v supervises- supervises v employee ?:- supervises(John,X) Usually done with tableaux algorithms
  • 18.     
  • 19.
  • 20.
  • 21.
  • 22. DL axiom Datalog rule Concept Inclusion employee v person employee(X)  person(X) (Inverse) Role Inclusion reports¡ v manager reports(X,Y)  manager(Y,X) Role Transitivity trans(manager) manager(X,Y),manager(Y,Z)  manager(X,Z)
  • 23. DL axiom Datalog(?) rule Participation employee v report employee(X)  Y report(X,Y) Disjointness employee v :customer employee(X),customer(X)   Functionality funct(reports) reports(X,Y),reports(X,Z)  Y = Z
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.  D
  • 29. Q = X (X)  D D [  ² Q , B ( (B D [ )  B ² Q) B¶DÆB²
  • 30. Q = X (X)    D D [  ² Q , B ( (B ² D[)  B ² Q) B¶DÆB²
  • 31. DB technology DLs (DL-Lite, EL, Flogic Lite) + constraints Datalog
  • 32.          
  • 33.   υ
  • 34.   υ 
  • 35. D dom(D) = {a,b,c,d}    chase(D, ) = ?
  • 36. D dom(D) = {a,b,c,d}    chase(D, ) = D υ { r(b,z0)
  • 37. D dom(D) = {a,b,c,d}    chase(D, ) = D υ { r(b,z0), r(d,z1)
  • 38. D dom(D) = {a,b,c,d}    z0 = z1 chase(D, ) = D υ { r(b,z0), r(d,z1)
  • 39. D dom(D) = {a,b,c,d}    chase(D, ) = D υ { r(b,z1), r(d,z1) }
  • 40. see, e.g., Deutsch, Nash & Remmel chase(D,) PODS 08 D h1 h2 . . . M1 M2 
  • 41. Q h chase(D,) D h1 h2 . . . M1 M2 Dυ²Q , chase(D,) ² Q
  • 42. Σ Σ Σ Σ Σ
  • 43.
  • 44. Linear DL-Lite Sticky-join Guarded EL
  • 45.
  • 46. Linear DL-Lite Sticky-join FO-rewritable Guarded EL PTIME
  • 47. Linear DL-Lite Sticky-join FO-rewritable Guarded EL PTIME We focus on the linear fragment: • first-order rewriting • semantic query optimizations
  • 48. 
  • 49. Q  Q
  • 50. Q  Q* Q
  • 51. Q  Q* Q D
  • 52. DL-Lite: Popular family of DLs with highly tractable data complexity DL-Lite TBox Datalog Representation DL-Litecore promoter v dealsWith professor(X)  Y teachesTo(X,Y) promoter v customer professor(X),student(X)   DL-LiteR promotes¡ v isAdvertised promotes(X,Y)  isAdvertised(Y,X) DL-LiteF funct( supervises- ) supervises(Y,X),supervises Y,X  Y = Z
  • 53.   Q D 
  • 54.   Q D 
  • 55.    Q  
  • 56.  Q    Q 
  • 57.   Q  Q 
  • 58.   Q  Q  
  • 59.   Q  Q   
  • 60.   Q  Q    
  • 61.   Q  Q   
  • 62. Schema SELECT promoter FROM promotesTo PT, customer C WHERE PT.promoted = C.name UNION SELECT promoter FROM promotesTo PT1, promotesTo PT2 WHERE PT1.promoted = PT2.promoted UNION SELECT name FROM promoter
  • 63. Schema Execute Q over D: SELECT promoter FROM promotesTo PT, customer C D WHERE PT.promoted = C.name UNION SELECT promoter FROM promotesTo PT1, promotesTo PT2 WHERE PT1.promoted = PT2.promoted UNION SELECT name FROM promoter
  • 64. :      
  • 65.
  • 66.
  • 67. :     
  • 68. :      
  • 69. :       
  • 70. :          
  • 71. :          
  • 72. :   Q:  
  • 73.
  • 74. :      
  • 75. :      
  • 76.
  • 77.  
  • 78.
  • 79.
  • 80.
  • 81.
  • 82.
  • 83.   
  • 84.     
  • 85. 8-  
  • 86. EL: Popular DL for complex systems modelling (e.g., biology) EL TBox Datalog Representation  v  u v 
  • 89.     
  • 90.
  • 91.
  • 92.
  • 93.
  • 94.   9 
  • 97. person v 9father¡ 9father v person ?:- 9father.{John} u person
  • 98. person v 9father¡ 9father v person ?:- 9father.{John} u person ?:- 9father¡ u 9father.{John} u person
  • 99. person v 9father¡ 9father v person ?:- 9father.{John} u person ?:- 9father¡ u 9father.{John} u person 9father¡, 9father.{John}, person
  • 100. person v 9father¡ 9father v person ?:- 9father.{John} u person ?:- 9father¡ u 9father.{John} u person 9father¡, 9father.{John}, person father
  • 101. person v 9father¡ 9father v person ?:- 9father.{John} u person ?:- 9father¡ u 9father.{John} u person father 9father¡, 9father.{John}, person father
  • 102. person v 9father¡ 9father v person ?:- 9father.{John} u person Model true:- 9father¡ u 9father.{John} u person father 9father¡, 9father.{John}, person father
  • 106. T  E  T , E
  • 107. T  E  T , E
  • 108. T  E  T , E