您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 经营企划 > Logic-based knowledge representation
Logic-basedKnowledgeRepresentation?FranzBaaderTheoreticalComputerScience,RWTHAachen,52074Aachen,Germanybaader@informatik.rwth-aachen.deAbstract.Afterashortanalysisoftherequirementsthataknowledgerepresentationlanguagemustsatisfy,weintroduceDescriptionLogics,ModalLogics,andNonmonotonicLogicsasformalismsforrepresentingterminologicalknowledge,time-dependentorsubjectiveknowledge,andincompleteknowledgerespectively.Attheendofeachsection,webrie ycommentontheconnectiontoLogicProgramming.1IntroductionThissectionisconcernedwiththequestionunderwhichconditionsonemayrightfullyclaimtohaverepresentedknowledgeaboutanapplicationdomain,andnotjuststoreddataoccurringinthisdomain.1IntheearlydaysofArti cialIntelligenceandKnowledgeRepresentation,therewasaheateddiscussiononwhetherlogiccanatallbeusedasaformalismforKnowledgeRepresentation(seee.g.[135,91,92]).Oneaspectoftherequirementsonknowledgerepresentationformalismsthatcanbederivedfromtheconsiderationsinthissectionisverywellsatis edbylogicalformalisms.Weshallsee,however,thatsomeotheraspectsarenottreatedsatisfactorily,atleastnotbyclassical rst-orderpredicatelogic.Themainpurposeofthisarticleistodemonstratethatthesede cienciescanbeovercomewiththehelpofotherlogic-basedformalisms,namelyDescriptionLogics,ModalLogics,andNonmonotonicLogics.Morerecently,ithasbeenargued(seee.g.[110,23])thatLogicProgrammingcanserveasaconvenientanduniversalformalismforKnowledgeRepresentation.However,asindicatedbytheirname,LogicProgramminglanguagesareprogramminglanguages,andthusnotnecessarilyappropriateasrepresentationlanguages.Inanut-shell(andsomewhatexaggerated),thedi erencebetweenknowledge-basedprogramming(whichprocessesknowledge)andclassicalprogramming(whichprocessesdata)canbeformulatedasfollows.Inclassicalprogramming,onedesignsspecializedprogramsthataretailoredtoaspeci capplicationprob-lem.Theknowledgeabouttheproblemdescriptionandtheapplicationdomainisimplicitlyrepresentedinthestructureoftheprogram,andmustthusbeacquiredbytheprogrammer.Inknowledge-basedprogramming,theknowledgeaboutthe?Thisisanextendedandupdatedversionofanarticlethathasappeared(inGerman)inthejournalKI,3/96:8-16,1996.1Thedivisionbetweenknowledgeanddatais,ofcourse,notstrict,andthisarticlewillnotgiveade nitiveanswertotheproblemofdistinguishingbetweenboth.applicationdomainisrepresentedexplicitly(inanappropriaterepresentationformalism);ideally,theprocessingcanbedonewiththehelpofgeneral(i.e.,application-independent)problemsolvingmethods.Thus,theknowledgecanbeacquiredandrepresentedbyanapplicationdomainexpert,whoneednotbewell-acquaintedwithdetailsoftheimplementation.Asasimpleexample,letuscon-siderthetaskof ndingoutwhethertwonodesinadirectedgraph(whichmayrepresentthehierarchicalorganizationofacompany)areconnected(whetheroneemployeeisthebossofanotherone).A rstsolution,whichisveryfarawayfrombeingknowledge-based,mightbeaprogramthatencodesthestructureofthespeci cgraphinitscontrolstructure.Asecond,morereasonable,solutionmightexplicitlyrepresentthegraphinanappropriatedatastructure(whichlistthenodesthataredirectlyconnected),andthencodethemeaningof\con-nectedinaprogramthatisindependentofthespeci cgraph.Thisprogrammustbeabletocomputetheconnectednodesfromthegiveninformationaboutthedirectlyconnectednodes.Finally,anevenmoreknowledge-basedsolutioncouldbeoneinwhichtheknowledgeaboutthemeaningof\connectedisalsorepresentedinanexplicitway,forexample,bythefollowingHornclauses:directly-connected(x;y)!connected(x;y);directly-connected(x;z)^connected(z;y)!connected(x;y):Ageneralproblemsolvingcomponent,whichisabletohandlesuchclauses(e.g.,theinterpreterofaLogicProgramminglanguage),couldnowusetheseformulaetogetherwiththeexplicitinformationonthedirectlyconnectednodestoinfertheconnectednodes.Aknowledgerepresentation(KR)formalismshouldallowforthesymbolicrepresentationofalltheknowledgerelevantinagivenapplicationdomain.Fromwhatwehavesaidsofarabouttheuseofknowledgeinknowledge-basedpro-gramming,wecanderivetworequirementsthatsuchaformalismmustsatisfy.Ontheonehand,itmustbeequippedwithadeclarativesemantics,thatis,themeaningoftheentriesinaknowledgebase(KB)mustbede nedindependentlyoftheprogramsthatoperateontheKB(nopurelyproceduralsemantics).Oth-erwise,theknowledgecannotbeacquiredbyadomainexpertwithoutdetailedknowledgeoftheimplementationoftheseprograms.Usually,suchadeclarativesemanticsisgivenbymappingthesymbolicexpressionsinto(anabstractionof)therelevantsegmentofthe\world.Inaddition,oneneedsanotionof\truth,whichmakesitpossibletodeterminewhichofthesymbolicstatementsholdinthecurrent\world.Ontheotherhand,oneneedsan\intelligentretrievalmechanism,whichisabletorealizetheabove-mentionedgeneralproblemsolvingcomponent.ThismechanismshouldallowtoretrieveknowledgethatisonlyimplicitlypresentintheKB,thatis,itshouldbeabletodeduceimplicitlyrepresentedknowledgefromtheexplicitknowledge.Inouraboveexample,theinformationthattwonodesareconnectedisimplicitknowledge,whichmustbededucedfromtheexplicitknowledge(i.e.,theinformationaboutdirectlyconnectednodesandtheHornclausesspecifyingthemeaningof\connected)withthe
本文标题:Logic-based knowledge representation
链接地址:https://www.777doc.com/doc-5498215 .html