
ECS289FTopicsinScientificDataManagementWinter2005
Dr.BertramLudaescherJanuary31
st
,2005
Assignment2–Ontologies/DescriptionLogic
Due:Monday,February7
th
(inclass,afterclass)
Problem1.(10+4+3Points)
Considerthefollowing(oversimplified!)descriptionlogicontology(TBox):
i. Organism≡Animal⊔Plant
ii. Person⊑Animal
iii. Grass⊑Plant
iv. Cow⊑Animal⊓∀eats.Grass
v. Carnivore≡Organism⊓∀eats.Animal
vi. Rancher≡Person⊓∀eats.Cow⊓∃owns.Ranch
a)Translatetheabovedescriptionlogic(DL)axiomsintofirst‐orderpredicatelogic(FO)formulas.
Hint:Totranslatetheconceptexpressionsontheleft‐hand‐sideandright‐hand‐sideoftheabove
axioms,usethetranslationst
x
andt
y
giveninclass.TotranslateanequivalenceC≡Doraconcept
inclusionC⊑ D,computet
x
forthelhsandrhs,respectively,anduse
• ∀x(t
x
(C)↔t
x
(D))fortheequivalenceor
• ∀x(t
x
(C)→t
x
(D))fortheimplication.
b)WhenunfoldingaconceptexpressionssayE,wecanreplaceaconceptC(occurringinE)byan
equivalentconceptD,i.e.,forwhichC≡Dholds.IfC⊑ Dholds,wecanalsoreplaceCbyDbut
needtorememberthattheresultingexpressionE’isnolongerequivalenttoE.
“Unfold”theexpressionE=Person⊓∀eats.Cow⊓∃owns.Ranch(equivalenttoRanchersinthe
aboveontology)untilitcontainsonlybaseconcepts.NotethattheresultingexpressionE’mightnot
beequivalenttoE(e.g.,ifonereplacesGrassbyPlantinaconjunction,thenapossiblylargerresultis
obtained).
c)Intheaboveontology,whatistherelationbetweenRancherandCarnivore?Forexample,isevery
RancheraCarnivore?Howabouttheotherwayround?Explain.
Problem2(1+2+3Points).
a) WhatisthedifferencebetweenaTBoxandanABox,i.e.,whatkindofinformationisstoredin
eitherone?
b) Whatisthedifferencebetweenevaluatingaqueryandreasoningwithaquery(orwithtwo
queries)?Whichproblemisharderingeneral?
c) Whatistherelationbetweenevaluatingaformula(valmappingontheslides)inlogicand
runningaquery?Saywhatcorrespondstowhat(e.g.,AinlogiccorrespondstoXindatabases,
BinlogiccorrespondstoYindatabases,etc.)