Path-Based Query Computation by Automated Deduction Peter - - PowerPoint PPT Presentation

path based query computation by automated deduction
SMART_READER_LITE
LIVE PREVIEW

Path-Based Query Computation by Automated Deduction Peter - - PowerPoint PPT Presentation

Path-Based Query Computation by Automated Deduction Peter Baumgartner AG 2 www.mpi-sb.mpg.de/~baumgart/ P. Baumgartner Path-Based Query Computation by Automated Deduction Page 1 Background Deduction Systems First-Order Classical and


slide-1
SLIDE 1
  • P. Baumgartner Path-Based Query Computation by Automated Deduction

Page 1

Path-Based Query Computation by Automated Deduction

Peter Baumgartner AG 2

www.mpi-sb.mpg.de/~baumgart/

slide-2
SLIDE 2
  • P. Baumgartner Path-Based Query Computation by Automated Deduction

Page 2

Background

Deduction Systems

  • First-Order
  • Classical and Knowledge Representation Logics
  • Refutational and Model Computation
  • Implementations

Applications

  • Diagnosis
  • Deductive Databases
  • Computational Linguistics

This Talk

  • Computing paths through database schema
  • Express task in logic programming framework
  • Use “KRHyper” Deduction System
  • Connection to AG 5: complements XXL search engine?
slide-3
SLIDE 3
  • P. Baumgartner Path-Based Query Computation by Automated Deduction

Page 3

KRHyper

  • Disjunctive logic programs
  • Stratified default negation
  • Model computation
  • Perfect model semantics
  • Serious implementation

A ← (1) B  C ← A (2) A  D ← C (3) false ← A, B (4) {}  (1) {A,B}  (4) A B C {A}  (2) A ✘ ✘ {A,C}  (1)-(4) A B C ✘ ✔ E ← C, not D E

  • Variant for predicate logic
  • Extensions: minimal models, abduction, default negation
slide-4
SLIDE 4
  • P. Baumgartner Path-Based Query Computation by Automated Deduction

Page 4

Description Logics (DL)

  • Old-fashioned, problematic graphical notation

BOOK ARTICLE author PERSON PUBLICATION

  • ALC

and successors: PUBLICATION  BOOK  ARTICLE PUBLICATION   author.PERSON

  • Standard sevices: consistency, classify, retrieve, ...
  • The KR formalism for the “Semantic Web”
  • Corresponds to decidable fragment of first-order logic
slide-5
SLIDE 5
  • P. Baumgartner Path-Based Query Computation by Automated Deduction

Page 5

More DL Language Features

Class definitions: PUBLICATION   author.PERSON PUBLICATION   author.PERSON Subroles: author  creator Inverse/trans. roles: author- / colleague+ QVR: MANYAUTHORS  ( 10 author-).PUBLICATION Concrete domains: Int, String, ... Nominals: { JAR, JLC }  JOURNAL Cycles: LISP  {NIL}  ((= 1 CAR).Int  (= 1 CDR).LISP) ... Assertions: publication(TACP) author(TACP,Knuth) DL language alone and services

  • ffered by systems do not suffice

to solve task below!

slide-6
SLIDE 6
  • P. Baumgartner Path-Based Query Computation by Automated Deduction

Page 6

Application: XML Schema Reasoning

Task: Determine path based database queries Context: Semistructured Data, Schema Integration Solution: XPath (?) vs. Query generated from schema

slide-7
SLIDE 7
  • P. Baumgartner Path-Based Query Computation by Automated Deduction

Page 7

Application: XML Schema Reasoning

Steps: (1) Schema ➔ DL ➔ If-Then Rules Generate query: (2) Start and End ➔ Assertions/If-Then Rules (3) Path based query ➔ Computed modell

slide-8
SLIDE 8
  • P. Baumgartner Path-Based Query Computation by Automated Deduction

Page 8

Application: XML Schema Reasoning

RESEARCHER   publications. (ARTICLE  PUBLICATION  MONOGRAPH) ARTICLE  MONOGRAPH   ... (1) Schema ➔ DL ➔ If-Then rules PUBLICATION  BOOK  ARTICLE publications(X,f(X)) 

RESEARCHER(X) ARTICLE(f(X))  PUBLICATION(f(X))  MONOGRAPH(f(X))  RESEARCHER(X)

slide-9
SLIDE 9
  • P. Baumgartner Path-Based Query Computation by Automated Deduction

Page 9

Application: XML Schema Reasoning

(2) Start and End ➔ Assertions/If-Then rules RESEARCHER(a) (Start)

 ← not X BOOK(X)

(End) Solution (almost) trivial!

slide-10
SLIDE 10
  • P. Baumgartner Path-Based Query Computation by Automated Deduction

Page 10

Conclusions

  • Approach taken:
  • rather inexpressive DL
  • transformation to logic programming
  • model computation
  • purely declarative
  • Did not succeed with “standard” Description Logic

reasoners, although may be used complementary

  • Further issues:
  • cycles in schema graph
  • numbers
  • first-order level reasoning useful?
  • Presented first ideas only ...