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

Alternating direction
Alternating directionAlternating direction
Alternating directionDerek Pang
 
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 FittingEnthought, Inc.
 
Integrated Math 2 Section 6-2
Integrated Math 2 Section 6-2Integrated Math 2 Section 6-2
Integrated Math 2 Section 6-2Jimbo Lamb
 
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
 
Jump-Diffusion Risk-Sensitive Asset Management
Jump-Diffusion Risk-Sensitive Asset ManagementJump-Diffusion Risk-Sensitive Asset Management
Jump-Diffusion Risk-Sensitive Asset Managementseblleo
 
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
 
Mesh Processing Course : Differential Calculus
Mesh Processing Course : Differential CalculusMesh Processing Course : Differential Calculus
Mesh Processing Course : Differential CalculusGabriel Peyré
 
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 Paradigmstksakaki
 
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 Trendzukun
 
大規模日本語ブログコーパスにおける言語モデルの構築と評価
大規模日本語ブログコーパスにおける言語モデルの構築と評価大規模日本語ブログコーパスにおける言語モデルの構築と評価
大規模日本語ブログコーパスにおける言語モデルの構築と評価Yahoo!デベロッパーネットワーク
 
Functional Programming in C++
Functional Programming in C++Functional Programming in C++
Functional Programming in C++sankeld
 
Form 5 formulae and note
Form 5 formulae and noteForm 5 formulae and note
Form 5 formulae and notesmktsj2
 
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-3Computer 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, 2zukun
 
R graphics by Novi Reandy Sasmita
R graphics by Novi Reandy SasmitaR graphics by Novi Reandy Sasmita
R graphics by Novi Reandy Sasmitabeasiswa
 
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 KoivistoCosmoAIMS Bassett
 
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 SkillsEesti Pank
 
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 SlidesMatthew Leingang
 
Adaptive Signal and Image Processing
Adaptive Signal and Image ProcessingAdaptive Signal and Image Processing
Adaptive Signal and Image ProcessingGabriel Peyré
 

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

TR tabling presentation_2010_09
TR tabling presentation_2010_09TR tabling presentation_2010_09
TR tabling presentation_2010_09Paul Fodor
 
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-Part1Stavros Vassos
 
09 logic programming
09 logic programming09 logic programming
09 logic programmingsaru40
 
Cea0001 ppt project
Cea0001 ppt projectCea0001 ppt project
Cea0001 ppt projectcea0001
 
Introduction to modern Variational Inference.
Introduction to modern Variational Inference.Introduction to modern Variational Inference.
Introduction to modern Variational Inference.Tomasz Kusmierczyk
 
Triangle counting handout
Triangle counting handoutTriangle counting handout
Triangle counting handoutcsedays
 
Declarative Datalog Debugging for Mere Mortals
Declarative Datalog Debugging for Mere MortalsDeclarative Datalog Debugging for Mere Mortals
Declarative Datalog Debugging for Mere MortalsBertram Ludäscher
 
GradStudentSeminarSept30
GradStudentSeminarSept30GradStudentSeminarSept30
GradStudentSeminarSept30Ryan White
 
Notes up to_ch7_sec3
Notes up to_ch7_sec3Notes up to_ch7_sec3
Notes up to_ch7_sec3neenos
 
Montpellier Math Colloquium
Montpellier Math ColloquiumMontpellier Math Colloquium
Montpellier Math ColloquiumChristian Robert
 
Truth, deduction, computation lecture f
Truth, deduction, computation   lecture fTruth, deduction, computation   lecture f
Truth, deduction, computation lecture fVlad Patryshev
 
Markov Tutorial CDC Shanghai 2009
Markov Tutorial CDC Shanghai 2009Markov Tutorial CDC Shanghai 2009
Markov Tutorial CDC Shanghai 2009Sean Meyn
 
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 modelsBigMC
 
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...Dagmar Monett
 
Static-talk
Static-talkStatic-talk
Static-talkgiunti
 
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 charlesmartin14
 

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

Web Data Extraction: A Crash Course
Web Data Extraction: A Crash CourseWeb Data Extraction: A Crash Course
Web Data Extraction: A Crash CourseGiorgio Orsi
 
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)Giorgio Orsi
 
Joint Repairs for Web Wrappers
Joint Repairs for Web WrappersJoint Repairs for Web Wrappers
Joint Repairs for Web WrappersGiorgio Orsi
 
SAE: Structured Aspect Extraction
SAE: Structured Aspect ExtractionSAE: Structured Aspect Extraction
SAE: Structured Aspect ExtractionGiorgio Orsi
 
wadar_poster_final
wadar_poster_finalwadar_poster_final
wadar_poster_finalGiorgio 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
 
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...Giorgio Orsi
 
The Diadem Ontology
The Diadem OntologyThe Diadem Ontology
The Diadem OntologyGiorgio 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

Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
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
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
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
 

Recently uploaded (20)

Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
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)
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
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
 

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