• Keine Ergebnisse gefunden

Description Logic

N/A
N/A
Protected

Academic year: 2022

Aktie "Description Logic"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Faculty of Computer Science Institute of Theoretical Computer Science, Chair of Automata Theory

Description Logic

Winter Semester 2017/18

Exercise Sheet 13 25th January 2018

Prof. Dr.-Ing. Franz Baader, Dr.-Ing. Stefan Borgwardt

Exercise 13.1 Consider the databaseDconsisting of the following tables (=relations):

Person

ID Name

1001 Ernie 1002 Bert 1003 Kermit 1004 Gonzo

Enrollment PersonID Since

1002 2017 1003 2015 1004 2017

Attendance

PersonID CourseID

1001 23

1002 23

1002 25

1003 24

Course

ID Title

23 Description Logic 24 Complexity Theory 25 Model Checking

Describe the finite first-order interpretationID that corresponds toD.

Reformulate each of the following SQL queriesQinto first-order queriesφQ. Which of the queriesφQ are conjunctive queries? What are the answers toQonDand what are the answers ofφQ onID?

(a) SELECT * FROM Person

(b) SELECT Person.Name FROM Person, Attendance, Course WHERE Person.ID = Attendance.PersonID

AND Course.ID = Attendance.CourseID AND Course.Title = “Description Logic”

(c) SELECT Person.Name FROM Person, Enrollment WHERE Person.ID = Enrollment.PersonID

AND NOT EXISTS (

SELECT * FROM Attendance

WHERE Person.ID = Attendance.PersonID)

Exercise 13.2 Consider theALC-knowledge baseK= (T,A)with

T ={AvB, Bv ∃r.A, C≡ ¬D, ∃r.Bv ¬D, Av ∀r.B, ∀r.AvB}and A={(a,b):r, (b,c):r, (c,a):r, (b,b):r, (c,c):r, A:c}.

What are the certain answers to the following conjunctive queries on(A,)? What are the certain answers onK?

(a) r(x,y)∧B(y) (b) ∃y r(x,y)∧B(y) (c) ∃x,y r(x,y)∧r(y,x)

(d) ∃z,w r(x,y)∧r(y,z)∧r(z,x)∧r(z,w)∧C(w)

1

(2)

Exercise 13.3 Consider a modified definition of data complexity for OMQA query entailment, where we do not require the ABox to be simple, i.e., we allow arbitrary ABoxes as input to the entailment problem. Can this affect the data complexity results?

Exercise 13.4 Can one use a reduction from non-k-colorability in graphs to show that the conjunctive query entailment problem inALCisCONP-hard w.r.t. data complexity? What ifkis fixed?

2

Referenzen

ÄHNLICHE DOKUMENTE

Views or opinions expressed herein do not necessarily represent those of the Institute or of its National Member Organizations. INTERNATIONAL INSI'ITUTE FOR APPLIED

The emergence of network studies in public administration research, then, was playing catch up to the structures already put in place—from complex contracting structures, to

12.— The redshift-space power spectrum recovered from the combined SDSS main galaxy and LRG sample, optimally weighted for both density changes and luminosity dependent bias

• Non-linear galaxy bias seems under control, as long as the underlying matter power. spectrum is

Expectations for effective support of learning are rising with the advent of MOOCs and the combination of massive data and artificial intelligence techniques.. This

The results show that with regard to the overall carbon footprint we need to focus on an intelligent mix of powertrains that meets indi- vidual requirements and includes

In a decision of 25 May 2020 (Case B-5011/2018), the Federal Administrative Court has held that the Swiss word mark SWISS RE – WE MAKE THE WORLD MORE RESILIENT was not

Twenty minutes of exercise at vigorous intensity exert the same beneficial effects on all-cause mortality as 80 minutes of exercise at low-to-moderate intensity (17)..