SlideShare una empresa de Scribd logo
1 de 48
Descargar para leer sin conexión
Deduktive Datenbanken & Logische
Programme: Eine kleine Zeitreise
Deductive Databases & Logic Programs:
Back to the Future!
Bertram Ludäscher
ludaesch@illinois.edu
Wissenschaftl.
Kolloquium
Prof. Dr. Georg Lausen
Freitag, 10. Mai 2019
School of Information Sciences (iSchool@Illinois)
& National Center for Supercomputing Applications (NCSA)
& Department of Computer Science (CS@Illinois)
1
Outline
• “Wat isn’ en Datenbank?”
– … Da stelle mer uns janz dumm …
• Deductive Object-Oriented Databases: F-logic
– … caught in a strange loop?
• Statelog
– … understanding Datalog updates through states
• Answer Set Programming
– … from querying databases to CSP
• a secret sauce!
– Datalog + ASP for the rest of us
• … Possible Worlds Explorer!
Ludäscher: Kleine Zeitreise 2
The Time-Travel begins …
Identify this Database Model!
Ludäscher: Kleine Zeitreise 3
Hierarchical Model
(IBM 1960s)
… and what about this DB model?
Ludäscher: Kleine Zeitreise 4
Network Model
(CODASYL standard 1970s)
… and another one!
Ludäscher: Kleine Zeitreise 5
Relational Model
(E.F. Codd 1970)
… last not least: what’s this?
Ludäscher: Kleine Zeitreise 6
[Nav92] Navathe, Shamkant B.: Evolution of Data Modeling for Databases. In: CACM, 35 (9). 1992.
Entity-Relationship Model
(P. Chen 1976)
Database Models & Paradigms
• ANSI-SPARC 3-level architecture
– External (user views)
– Conceptual (logical schema)
– Internal (physical schema)
• DB models:
– Hierarchical (~1960s)
– Network (~1970s)
– Relational (~1970s ..)
– Deductive (~1980s_90s ..)
• Negation & Nonmonotonic Reasoning
– Object-Oriented (~1990s)
– Object-Relational & DOOD
– Semistructured/XML (~2000s)
– Graph databases ...
– NoSQL …
– “Semantic Web”, Linked Open Data
– Knowledge Graphs …
– …
Ludäscher: Kleine Zeitreise 7
[Nav92] Navathe, Shamkant B.: Evolution of Data
Modeling for Databases. CACM, 35 (9). 1992.
History and Provenance:
Understanding what happened!
… frozen accidents
Zrzavý, Jan, David Storch, and Stanislav
Mihulka. Evolution: Ein Lese-Lehrbuch.
Springer-Verlag, 2009.
Author: Jkwchui (Based on
drawing by Truth-seeker2004)
Ludäscher: Provenance Back & Forth 8
The Evolution of Language
– Peter Buneman for Phil Wadler
9
The Evolution of Language
2x (Descartes)
x. 2x (Church)
(LAMBDA (X) (* 2 X)) (McCarthy)
<?xml version="1.0"?>
<LAMBDA-TERM>
<VAR-LIST>
<VAR>X</VAR>
</VAR-LIST>
<EXPR>
<APPLICATION>
<EXPR><CONST>*</CONST></EXPR>
<ARGUMENT-LIST>
<EXPR><CONST>2</CONST></EXPR>
<EXPR><VAR>X</VAR></EXPR>
</ARGUMENT-LIST>
</APPLICATION>
</EXPR>
</LAMBDA-TERM>
(W3C)
My own thesis:
• There’s no problem that can’t be
tackled by another level of
indirection.
.. and antithesis:
• Adding levels of indirection gets you
further away from solving your
problem.
.. and then:
Beware of the Turing tar-pit in which
everything is possible but nothing of
interest is easy.
-- Alan Perlis in Epigrams on Programming
Beware of Techno(re)ligion:
Great ideas are simple; frozen accidents aren’t …
• Heliocentric model
• Natural Selection
• Structure of DNA
• Genetic Code
• Relativity
• …
• Logic
F = A | F/F | -F | (ex x) F
10
vs
Ludäscher: Provenance Back & Forth
Meanwhile in a galaxy far far away…
Semantic Web Stuff
Ludäscher: Kleine Zeitreise 11
W3C Activities in Developing New Query Languages
[Man15] R. MANTHEY . Back to the Future – Should SQL Surrender to SPARQL? SOFSEM, LNCS, 2015.
Are we caught in a strange loop?
Ludäscher: Kleine Zeitreise 12
[Man15] R. MANTHEY . Back to the Future – Should SQL Surrender to SPARQL? SOFSEM, LNCS, 2015.
Computational Thinking: Die Grenzen meiner
Sprache bedeuten die Grenzen meiner Welt …
• Vanilla Process Network
• Functional Programming
Dataflow Network
• XML Transformation
Network
• Collection-oriented
Modeling & Design
framework (COMAD)
– Look Ma: No Shims!
Ludäscher: Kleine Zeitreise 13
One Rule to Rule them All!
• win(X) :- move(X,Y), not win(Y).
- “Not stratified! Go away!”
- .. the well-founded model yields what we want!
- … all Fixpoint Queries expressible by 1 rule!
- (and a simply definable move/2 relation)
- … solved games represent their own provenance
(data lineage, justification)
Ludäscher: Kleine Zeitreise 14
• def(X) :- attacks(Y,X), not def(Y).
– ... and apply stable models (answer set) semantics
– … we obtain Argumentation Frameworks
Deductive Rules + Object-Orientation
=> Frame-Logic
• Synthesis of deductive DBs + OO-DBs was “in the air”
– [Mai86] D. Maier. A Logic for Objects. Workshop on Foundations
of Deductive Databases and Logic Programming, 1986.
– F-Logic hit all the right points!
Ludäscher: Kleine Zeitreise 15
1999 ACM SIGMOD
Test of Time Award!
Ludäscher: Kleine Zeitreise 16
The “Bible” for a Generation
of PhD Students
[KLW95] KIFER, MICHAEL ; LAUSEN, GEORG ; WU, JAMES: Logical Foundations of
Object-oriented and Frame-based Languages. J. ACM. 42 (4), 741–843, 1995
From F-logic to FLORID (… to Statelog)
Ludäscher: Kleine Zeitreise 17
• “My Generation”: U Mannheim, U Freiburg overlap ..
– B. Marx, H. Uphoff, J. Frohn, P.T. Kandzia, B.
Ludäscher, W. May, R. Himmeröder, C.
Schlepphorst
• F-logic implementations
– FLORID
• C++ based
• interpreted
– “FLIP”
• XSB-Prolog based
• … Flora …
• … Flora2
Ludäscher: Kleine Zeitreise 18
From a reviewer:
“This paper comes
too late…”
F-logic database schema and instance
Ludäscher: Kleine Zeitreise 19
F-logic database schema and instance
Ludäscher: Kleine Zeitreise 20
F-logic queries
and
path expressions
over DOODs
Ludäscher: Kleine Zeitreise 21
Semi-Structured Databases in F-logic
• semistructured ?
• semi-structured ?
• semi-structured ?
Ludäscher: Kleine Zeitreise 22
DBLP site as a semi-structured DB
Ludäscher: Kleine Zeitreise 23
Path Expressions over Graphs
Ludäscher: Kleine Zeitreise 24
How to derive new relations
Ludäscher: Kleine Zeitreise 25
… with just a few rules!
Ludäscher: Kleine Zeitreise 26
Application: Web Crawling & Querying
Ludäscher: Kleine Zeitreise 27
Extracting Data and Querying the Web
(F-logic’s DOOD + text extraction)
Ludäscher: Kleine Zeitreise 28
Querying a Web Skeleton with Florid
Ludäscher: Kleine Zeitreise 29
F-logic
query ..
answer
Mosaic …
… no
more
Easter
Egg
Pop Quiz 2: Reference Bingo!
Ludäscher: Kleine Zeitreise 30
Updates a New Frontier!
• Started at U Mannheim (KA => MA commute)
– Updates = Datalog + States ?
Ludäscher: Kleine Zeitreise 31
A language for declaring updates & change:
Statelog: Datalog + States
Ludäscher: Kleine Zeitreise 32
Ludäscher: Kleine Zeitreise 33
OLD is NEW again!
- PODS’10 Keynote by Joe Hellerstein
- LogicBlox, Lixto? …
Updates a New Frontier!
Ludäscher: Kleine Zeitreise 34
ASP: Answer Set Programming + PWE
A SuperPower for “Doing Semantics”
Bertram Ludäscher
Sahil Gupta
Jessica Cheng
School of Information Sciences
Department of Computer Science
Datalog .. ASP: Hitting KR&R Sweet Spots
36
Variations
on FOL +
Recursion +
Negation
=
S/I/W/P/… -
Datalog
… ASP ...
Many Results from Theory
Getting Things Done with Jupyter notebooks & Python
RPQ:
similar
Unique 3-valued Model
vs
Set of Stable Models
• Euler/X project employs
qualitative reasoning (RCC-5),
implemented in ASP to align,
merge taxonomies, debug
alignments, etc.
37
Reasoning with Incomplete Knowledge:
Exploring Possible Worlds
38
Y X X YX Y X Y X Y
Congruence
X == Y
Inclusion
X > Y
Inverse Inclusion
X < Y
Overlap
X>< Y
Disjointness
X ! Y
Origins:
Euler diagrams ...
... limited FO reasoning
... RCC-5++ reasoning
Application: Geo-Taxonomy Alignment
The secret sauce inside: Moved from FO reasoner to … qualitative reasoning
(RCC-5) to … Answer Set Programming (ASP) + some more secret sauce
Taxonomy Alignment Problem
So there is only 1 possible world?
• If you believe what you hear,
there only seems to be one
possible government coalition
after the 2017 German
parliamentary elections:
• Jamaica!
– CDU + FDP + Grüne
39Ludäscher: Provenance Back & Forth
Not so fast: There are 31 possible worlds!
40
Only 5 logic
rules needed to
encode all the
semantics!
1-liner to count
possible worlds: 31
Ludäscher: Provenance Back & Forth
… still 16 worlds when excluding “GroKo” coalitions
(= Great Coalition of CDU & SPD)
41Ludäscher: Provenance Back & Forth
ASP + PWE: Possible Worlds Explorer
42
https://github.com/idaks/PW-explorer https://github.com/idaks/PWE-demos
43
Let’s Go Forward with
Deductive Rules!
or
Back to the Future!
(The End)
Demos & More: LATER!
Ludäscher: Kleine Zeitreise 44
All those moments
will be lost in time,
like tears in rain
Want to know more?
Ludäscher: Kleine Zeitreise 45
Reference Quiz: Solution
Ludäscher: Kleine Zeitreise 46
Reference Quiz: Solution
Ludäscher: Kleine Zeitreise 47
Reference Quiz Solution
Ludäscher: Kleine Zeitreise 48

Más contenido relacionado

Similar a Deduktive Datenbanken & Logische Programme: Eine kleine Zeitreise

DB-IR-ranking
DB-IR-rankingDB-IR-ranking
DB-IR-ranking
FELIX75
 
Machine Learning of Natural Language
Machine Learning of Natural LanguageMachine Learning of Natural Language
Machine Learning of Natural Language
butest
 

Similar a Deduktive Datenbanken & Logische Programme: Eine kleine Zeitreise (20)

The Web of Data: do we actually understand what we built?
The Web of Data: do we actually understand what we built?The Web of Data: do we actually understand what we built?
The Web of Data: do we actually understand what we built?
 
The Hitchhiker's Guide to Machine Learning with Python & Apache Spark
The Hitchhiker's Guide to Machine Learning with Python & Apache SparkThe Hitchhiker's Guide to Machine Learning with Python & Apache Spark
The Hitchhiker's Guide to Machine Learning with Python & Apache Spark
 
Knowledge Graph Introduction
Knowledge Graph IntroductionKnowledge Graph Introduction
Knowledge Graph Introduction
 
Edwardian Proofs as Futuristic Programs
Edwardian Proofs as Futuristic ProgramsEdwardian Proofs as Futuristic Programs
Edwardian Proofs as Futuristic Programs
 
DB-IR-ranking
DB-IR-rankingDB-IR-ranking
DB-IR-ranking
 
Deep learning and the systemic challenges of data science initiatives
Deep learning and the systemic challenges of data science initiativesDeep learning and the systemic challenges of data science initiatives
Deep learning and the systemic challenges of data science initiatives
 
ABC-PhD program-Politecnico di Milano
ABC-PhD program-Politecnico di MilanoABC-PhD program-Politecnico di Milano
ABC-PhD program-Politecnico di Milano
 
DB and IR Integration
DB and IR IntegrationDB and IR Integration
DB and IR Integration
 
HyperMembrane Structures for Open Source Cognitive Computing
HyperMembrane Structures for Open Source Cognitive ComputingHyperMembrane Structures for Open Source Cognitive Computing
HyperMembrane Structures for Open Source Cognitive Computing
 
Resources for Teaching Undergraduate Computational Physics
Resources for Teaching Undergraduate Computational PhysicsResources for Teaching Undergraduate Computational Physics
Resources for Teaching Undergraduate Computational Physics
 
DAIS Seminar: The Many Faces of Provenance in Databases and Workflows
DAIS Seminar: The Many Faces of Provenance in Databases and WorkflowsDAIS Seminar: The Many Faces of Provenance in Databases and Workflows
DAIS Seminar: The Many Faces of Provenance in Databases and Workflows
 
Modelling and Querying Lists in RDF. A Pragmatic Study
Modelling and Querying Lists in RDF. A Pragmatic StudyModelling and Querying Lists in RDF. A Pragmatic Study
Modelling and Querying Lists in RDF. A Pragmatic Study
 
Kdd 2014 tutorial bringing structure to text - chi
Kdd 2014 tutorial   bringing structure to text - chiKdd 2014 tutorial   bringing structure to text - chi
Kdd 2014 tutorial bringing structure to text - chi
 
Evolving as a professional software developer
Evolving as a professional software developerEvolving as a professional software developer
Evolving as a professional software developer
 
introduction.pdf
introduction.pdfintroduction.pdf
introduction.pdf
 
Open science 2014
Open science 2014Open science 2014
Open science 2014
 
6. ME Syllabus-converted.pdf
6. ME Syllabus-converted.pdf6. ME Syllabus-converted.pdf
6. ME Syllabus-converted.pdf
 
Informatics is a natural science
Informatics is a natural scienceInformatics is a natural science
Informatics is a natural science
 
Machine Learning of Natural Language
Machine Learning of Natural LanguageMachine Learning of Natural Language
Machine Learning of Natural Language
 
Dedalo, looking for Cluster Explanations in a labyrinth of Linked Data
Dedalo, looking for Cluster Explanations in a labyrinth of Linked DataDedalo, looking for Cluster Explanations in a labyrinth of Linked Data
Dedalo, looking for Cluster Explanations in a labyrinth of Linked Data
 

Más de Bertram Ludäscher

Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Bertram Ludäscher
 
Validation and Inference of Schema-Level Workflow Data-Dependency Annotations
Validation and Inference of Schema-Level Workflow Data-Dependency AnnotationsValidation and Inference of Schema-Level Workflow Data-Dependency Annotations
Validation and Inference of Schema-Level Workflow Data-Dependency Annotations
Bertram Ludäscher
 
An ontology-driven framework for data transformation in scientific workflows
An ontology-driven framework for data transformation in scientific workflowsAn ontology-driven framework for data transformation in scientific workflows
An ontology-driven framework for data transformation in scientific workflows
Bertram Ludäscher
 
From Provenance Standards and Tools to Queries and Actionable Provenance
From Provenance Standards and Tools to Queries and Actionable ProvenanceFrom Provenance Standards and Tools to Queries and Actionable Provenance
From Provenance Standards and Tools to Queries and Actionable Provenance
Bertram Ludäscher
 
Using YesWorkflow hybrid queries to reveal data lineage from data curation ac...
Using YesWorkflow hybrid queries to reveal data lineage from data curation ac...Using YesWorkflow hybrid queries to reveal data lineage from data curation ac...
Using YesWorkflow hybrid queries to reveal data lineage from data curation ac...
Bertram Ludäscher
 

Más de Bertram Ludäscher (20)

Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
 
Games, Queries, and Argumentation Frameworks: Time for a Family Reunion
Games, Queries, and Argumentation Frameworks: Time for a Family ReunionGames, Queries, and Argumentation Frameworks: Time for a Family Reunion
Games, Queries, and Argumentation Frameworks: Time for a Family Reunion
 
Games, Queries, and Argumentation Frameworks: Time for a Family Reunion!
Games, Queries, and Argumentation Frameworks: Time for a Family Reunion!Games, Queries, and Argumentation Frameworks: Time for a Family Reunion!
Games, Queries, and Argumentation Frameworks: Time for a Family Reunion!
 
[Flashback] Integration of Active and Deductive Database Rules
[Flashback] Integration of Active and Deductive Database Rules[Flashback] Integration of Active and Deductive Database Rules
[Flashback] Integration of Active and Deductive Database Rules
 
[Flashback] Statelog: Integration of Active & Deductive Database Rules
[Flashback] Statelog: Integration of Active & Deductive Database Rules[Flashback] Statelog: Integration of Active & Deductive Database Rules
[Flashback] Statelog: Integration of Active & Deductive Database Rules
 
Answering More Questions with Provenance and Query Patterns
Answering More Questions with Provenance and Query PatternsAnswering More Questions with Provenance and Query Patterns
Answering More Questions with Provenance and Query Patterns
 
Computational Reproducibility vs. Transparency: Is It FAIR Enough?
Computational Reproducibility vs. Transparency: Is It FAIR Enough?Computational Reproducibility vs. Transparency: Is It FAIR Enough?
Computational Reproducibility vs. Transparency: Is It FAIR Enough?
 
Which Model Does Not Belong: A Dialogue
Which Model Does Not Belong: A DialogueWhich Model Does Not Belong: A Dialogue
Which Model Does Not Belong: A Dialogue
 
Possible Worlds Explorer: Datalog & Answer Set Programming for the Rest of Us
Possible Worlds Explorer: Datalog & Answer Set Programming for the Rest of UsPossible Worlds Explorer: Datalog & Answer Set Programming for the Rest of Us
Possible Worlds Explorer: Datalog & Answer Set Programming for the Rest of Us
 
[Flashback 2005] Managing Scientific Data: From Data Integration to Scientifi...
[Flashback 2005] Managing Scientific Data: From Data Integration to Scientifi...[Flashback 2005] Managing Scientific Data: From Data Integration to Scientifi...
[Flashback 2005] Managing Scientific Data: From Data Integration to Scientifi...
 
Dissecting Reproducibility: A case study with ecological niche models in th...
Dissecting Reproducibility:  A case study with ecological niche models  in th...Dissecting Reproducibility:  A case study with ecological niche models  in th...
Dissecting Reproducibility: A case study with ecological niche models in th...
 
Incremental Recomputation: Those who cannot remember the past are condemned ...
Incremental Recomputation:  Those who cannot remember the past are condemned ...Incremental Recomputation:  Those who cannot remember the past are condemned ...
Incremental Recomputation: Those who cannot remember the past are condemned ...
 
Validation and Inference of Schema-Level Workflow Data-Dependency Annotations
Validation and Inference of Schema-Level Workflow Data-Dependency AnnotationsValidation and Inference of Schema-Level Workflow Data-Dependency Annotations
Validation and Inference of Schema-Level Workflow Data-Dependency Annotations
 
An ontology-driven framework for data transformation in scientific workflows
An ontology-driven framework for data transformation in scientific workflowsAn ontology-driven framework for data transformation in scientific workflows
An ontology-driven framework for data transformation in scientific workflows
 
Knowledge Representation & Reasoning and the Hierarchy-of-Hypotheses Approach
Knowledge Representation & Reasoning and the Hierarchy-of-Hypotheses ApproachKnowledge Representation & Reasoning and the Hierarchy-of-Hypotheses Approach
Knowledge Representation & Reasoning and the Hierarchy-of-Hypotheses Approach
 
Whole-Tale: The Experience of Research
Whole-Tale: The Experience of ResearchWhole-Tale: The Experience of Research
Whole-Tale: The Experience of Research
 
ETC & Authors in the Driver's Seat
ETC & Authors in the Driver's SeatETC & Authors in the Driver's Seat
ETC & Authors in the Driver's Seat
 
From Provenance Standards and Tools to Queries and Actionable Provenance
From Provenance Standards and Tools to Queries and Actionable ProvenanceFrom Provenance Standards and Tools to Queries and Actionable Provenance
From Provenance Standards and Tools to Queries and Actionable Provenance
 
Wild Ideas at TDWG'17: Embrace multiple possible worlds; abandon techno-ligion
Wild Ideas at TDWG'17: Embrace multiple possible worlds; abandon techno-ligionWild Ideas at TDWG'17: Embrace multiple possible worlds; abandon techno-ligion
Wild Ideas at TDWG'17: Embrace multiple possible worlds; abandon techno-ligion
 
Using YesWorkflow hybrid queries to reveal data lineage from data curation ac...
Using YesWorkflow hybrid queries to reveal data lineage from data curation ac...Using YesWorkflow hybrid queries to reveal data lineage from data curation ac...
Using YesWorkflow hybrid queries to reveal data lineage from data curation ac...
 

Último

Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
gajnagarg
 
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
HyderabadDolls
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 
Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...
Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...
Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...
HyderabadDolls
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
gajnagarg
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Gartner's Data Analytics Maturity Model.pptx
Gartner's Data Analytics Maturity Model.pptxGartner's Data Analytics Maturity Model.pptx
Gartner's Data Analytics Maturity Model.pptx
chadhar227
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
vexqp
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
nirzagarg
 

Último (20)

Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
 
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
Sealdah % High Class Call Girls Kolkata - 450+ Call Girl Cash Payment 8005736...
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
SAC 25 Final National, Regional & Local Angel Group Investing Insights 2024 0...
 
Fun all Day Call Girls in Jaipur 9332606886 High Profile Call Girls You Ca...
Fun all Day Call Girls in Jaipur   9332606886  High Profile Call Girls You Ca...Fun all Day Call Girls in Jaipur   9332606886  High Profile Call Girls You Ca...
Fun all Day Call Girls in Jaipur 9332606886 High Profile Call Girls You Ca...
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham Ware
 
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Tumkur [ 7014168258 ] Call Me For Genuine Models We...
 
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
High Profile Call Girls Service in Jalore { 9332606886 } VVIP NISHA Call Girl...
 
Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...
Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...
Diamond Harbour \ Russian Call Girls Kolkata | Book 8005736733 Extreme Naught...
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - Almora
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangePredicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
 
Gartner's Data Analytics Maturity Model.pptx
Gartner's Data Analytics Maturity Model.pptxGartner's Data Analytics Maturity Model.pptx
Gartner's Data Analytics Maturity Model.pptx
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
 
Ranking and Scoring Exercises for Research
Ranking and Scoring Exercises for ResearchRanking and Scoring Exercises for Research
Ranking and Scoring Exercises for Research
 
Case Study 4 Where the cry of rebellion happen?
Case Study 4 Where the cry of rebellion happen?Case Study 4 Where the cry of rebellion happen?
Case Study 4 Where the cry of rebellion happen?
 
Dubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls DubaiDubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls Dubai
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
 

Deduktive Datenbanken & Logische Programme: Eine kleine Zeitreise

  • 1. Deduktive Datenbanken & Logische Programme: Eine kleine Zeitreise Deductive Databases & Logic Programs: Back to the Future! Bertram Ludäscher ludaesch@illinois.edu Wissenschaftl. Kolloquium Prof. Dr. Georg Lausen Freitag, 10. Mai 2019 School of Information Sciences (iSchool@Illinois) & National Center for Supercomputing Applications (NCSA) & Department of Computer Science (CS@Illinois) 1
  • 2. Outline • “Wat isn’ en Datenbank?” – … Da stelle mer uns janz dumm … • Deductive Object-Oriented Databases: F-logic – … caught in a strange loop? • Statelog – … understanding Datalog updates through states • Answer Set Programming – … from querying databases to CSP • a secret sauce! – Datalog + ASP for the rest of us • … Possible Worlds Explorer! Ludäscher: Kleine Zeitreise 2
  • 3. The Time-Travel begins … Identify this Database Model! Ludäscher: Kleine Zeitreise 3 Hierarchical Model (IBM 1960s)
  • 4. … and what about this DB model? Ludäscher: Kleine Zeitreise 4 Network Model (CODASYL standard 1970s)
  • 5. … and another one! Ludäscher: Kleine Zeitreise 5 Relational Model (E.F. Codd 1970)
  • 6. … last not least: what’s this? Ludäscher: Kleine Zeitreise 6 [Nav92] Navathe, Shamkant B.: Evolution of Data Modeling for Databases. In: CACM, 35 (9). 1992. Entity-Relationship Model (P. Chen 1976)
  • 7. Database Models & Paradigms • ANSI-SPARC 3-level architecture – External (user views) – Conceptual (logical schema) – Internal (physical schema) • DB models: – Hierarchical (~1960s) – Network (~1970s) – Relational (~1970s ..) – Deductive (~1980s_90s ..) • Negation & Nonmonotonic Reasoning – Object-Oriented (~1990s) – Object-Relational & DOOD – Semistructured/XML (~2000s) – Graph databases ... – NoSQL … – “Semantic Web”, Linked Open Data – Knowledge Graphs … – … Ludäscher: Kleine Zeitreise 7 [Nav92] Navathe, Shamkant B.: Evolution of Data Modeling for Databases. CACM, 35 (9). 1992.
  • 8. History and Provenance: Understanding what happened! … frozen accidents Zrzavý, Jan, David Storch, and Stanislav Mihulka. Evolution: Ein Lese-Lehrbuch. Springer-Verlag, 2009. Author: Jkwchui (Based on drawing by Truth-seeker2004) Ludäscher: Provenance Back & Forth 8
  • 9. The Evolution of Language – Peter Buneman for Phil Wadler 9 The Evolution of Language 2x (Descartes) x. 2x (Church) (LAMBDA (X) (* 2 X)) (McCarthy) <?xml version="1.0"?> <LAMBDA-TERM> <VAR-LIST> <VAR>X</VAR> </VAR-LIST> <EXPR> <APPLICATION> <EXPR><CONST>*</CONST></EXPR> <ARGUMENT-LIST> <EXPR><CONST>2</CONST></EXPR> <EXPR><VAR>X</VAR></EXPR> </ARGUMENT-LIST> </APPLICATION> </EXPR> </LAMBDA-TERM> (W3C) My own thesis: • There’s no problem that can’t be tackled by another level of indirection. .. and antithesis: • Adding levels of indirection gets you further away from solving your problem. .. and then: Beware of the Turing tar-pit in which everything is possible but nothing of interest is easy. -- Alan Perlis in Epigrams on Programming
  • 10. Beware of Techno(re)ligion: Great ideas are simple; frozen accidents aren’t … • Heliocentric model • Natural Selection • Structure of DNA • Genetic Code • Relativity • … • Logic F = A | F/F | -F | (ex x) F 10 vs Ludäscher: Provenance Back & Forth
  • 11. Meanwhile in a galaxy far far away… Semantic Web Stuff Ludäscher: Kleine Zeitreise 11 W3C Activities in Developing New Query Languages [Man15] R. MANTHEY . Back to the Future – Should SQL Surrender to SPARQL? SOFSEM, LNCS, 2015.
  • 12. Are we caught in a strange loop? Ludäscher: Kleine Zeitreise 12 [Man15] R. MANTHEY . Back to the Future – Should SQL Surrender to SPARQL? SOFSEM, LNCS, 2015.
  • 13. Computational Thinking: Die Grenzen meiner Sprache bedeuten die Grenzen meiner Welt … • Vanilla Process Network • Functional Programming Dataflow Network • XML Transformation Network • Collection-oriented Modeling & Design framework (COMAD) – Look Ma: No Shims! Ludäscher: Kleine Zeitreise 13
  • 14. One Rule to Rule them All! • win(X) :- move(X,Y), not win(Y). - “Not stratified! Go away!” - .. the well-founded model yields what we want! - … all Fixpoint Queries expressible by 1 rule! - (and a simply definable move/2 relation) - … solved games represent their own provenance (data lineage, justification) Ludäscher: Kleine Zeitreise 14 • def(X) :- attacks(Y,X), not def(Y). – ... and apply stable models (answer set) semantics – … we obtain Argumentation Frameworks
  • 15. Deductive Rules + Object-Orientation => Frame-Logic • Synthesis of deductive DBs + OO-DBs was “in the air” – [Mai86] D. Maier. A Logic for Objects. Workshop on Foundations of Deductive Databases and Logic Programming, 1986. – F-Logic hit all the right points! Ludäscher: Kleine Zeitreise 15 1999 ACM SIGMOD Test of Time Award!
  • 16. Ludäscher: Kleine Zeitreise 16 The “Bible” for a Generation of PhD Students [KLW95] KIFER, MICHAEL ; LAUSEN, GEORG ; WU, JAMES: Logical Foundations of Object-oriented and Frame-based Languages. J. ACM. 42 (4), 741–843, 1995
  • 17. From F-logic to FLORID (… to Statelog) Ludäscher: Kleine Zeitreise 17 • “My Generation”: U Mannheim, U Freiburg overlap .. – B. Marx, H. Uphoff, J. Frohn, P.T. Kandzia, B. Ludäscher, W. May, R. Himmeröder, C. Schlepphorst • F-logic implementations – FLORID • C++ based • interpreted – “FLIP” • XSB-Prolog based • … Flora … • … Flora2
  • 18. Ludäscher: Kleine Zeitreise 18 From a reviewer: “This paper comes too late…”
  • 19. F-logic database schema and instance Ludäscher: Kleine Zeitreise 19
  • 20. F-logic database schema and instance Ludäscher: Kleine Zeitreise 20
  • 21. F-logic queries and path expressions over DOODs Ludäscher: Kleine Zeitreise 21
  • 22. Semi-Structured Databases in F-logic • semistructured ? • semi-structured ? • semi-structured ? Ludäscher: Kleine Zeitreise 22
  • 23. DBLP site as a semi-structured DB Ludäscher: Kleine Zeitreise 23
  • 24. Path Expressions over Graphs Ludäscher: Kleine Zeitreise 24
  • 25. How to derive new relations Ludäscher: Kleine Zeitreise 25
  • 26. … with just a few rules! Ludäscher: Kleine Zeitreise 26
  • 27. Application: Web Crawling & Querying Ludäscher: Kleine Zeitreise 27
  • 28. Extracting Data and Querying the Web (F-logic’s DOOD + text extraction) Ludäscher: Kleine Zeitreise 28
  • 29. Querying a Web Skeleton with Florid Ludäscher: Kleine Zeitreise 29 F-logic query .. answer Mosaic … … no more Easter Egg
  • 30. Pop Quiz 2: Reference Bingo! Ludäscher: Kleine Zeitreise 30
  • 31. Updates a New Frontier! • Started at U Mannheim (KA => MA commute) – Updates = Datalog + States ? Ludäscher: Kleine Zeitreise 31
  • 32. A language for declaring updates & change: Statelog: Datalog + States Ludäscher: Kleine Zeitreise 32
  • 33. Ludäscher: Kleine Zeitreise 33 OLD is NEW again! - PODS’10 Keynote by Joe Hellerstein - LogicBlox, Lixto? …
  • 34. Updates a New Frontier! Ludäscher: Kleine Zeitreise 34
  • 35. ASP: Answer Set Programming + PWE A SuperPower for “Doing Semantics” Bertram Ludäscher Sahil Gupta Jessica Cheng School of Information Sciences Department of Computer Science
  • 36. Datalog .. ASP: Hitting KR&R Sweet Spots 36 Variations on FOL + Recursion + Negation = S/I/W/P/… - Datalog … ASP ... Many Results from Theory Getting Things Done with Jupyter notebooks & Python RPQ: similar Unique 3-valued Model vs Set of Stable Models
  • 37. • Euler/X project employs qualitative reasoning (RCC-5), implemented in ASP to align, merge taxonomies, debug alignments, etc. 37 Reasoning with Incomplete Knowledge: Exploring Possible Worlds
  • 38. 38 Y X X YX Y X Y X Y Congruence X == Y Inclusion X > Y Inverse Inclusion X < Y Overlap X>< Y Disjointness X ! Y Origins: Euler diagrams ... ... limited FO reasoning ... RCC-5++ reasoning Application: Geo-Taxonomy Alignment The secret sauce inside: Moved from FO reasoner to … qualitative reasoning (RCC-5) to … Answer Set Programming (ASP) + some more secret sauce Taxonomy Alignment Problem
  • 39. So there is only 1 possible world? • If you believe what you hear, there only seems to be one possible government coalition after the 2017 German parliamentary elections: • Jamaica! – CDU + FDP + Grüne 39Ludäscher: Provenance Back & Forth
  • 40. Not so fast: There are 31 possible worlds! 40 Only 5 logic rules needed to encode all the semantics! 1-liner to count possible worlds: 31 Ludäscher: Provenance Back & Forth
  • 41. … still 16 worlds when excluding “GroKo” coalitions (= Great Coalition of CDU & SPD) 41Ludäscher: Provenance Back & Forth
  • 42. ASP + PWE: Possible Worlds Explorer 42 https://github.com/idaks/PW-explorer https://github.com/idaks/PWE-demos
  • 43. 43
  • 44. Let’s Go Forward with Deductive Rules! or Back to the Future! (The End) Demos & More: LATER! Ludäscher: Kleine Zeitreise 44 All those moments will be lost in time, like tears in rain
  • 45. Want to know more? Ludäscher: Kleine Zeitreise 45
  • 48. Reference Quiz Solution Ludäscher: Kleine Zeitreise 48