Структура
Therepresentationofknowledgeisadescriptionofknowledge,orasetofconventionsonknowledge,adatastructureacceptabletocomputersfordescribingknowledge.Inasense,representationcanberegardedasasynthesisofdatastructureanditsprocessingmechanism:representation=datastructure+processingmechanism.Therefore,knowledgerepresentationinESisaseriesoftechnicalmeansthatcancompletethecomputerprocessingofexpertknowledgeinES.Thecommononesareproductionrules,semanticweb,framemethodandsoon.
Представља предмет
Knowledgeisthecorrectconclusionobtainedbytheinformationreceiverthroughtherefiningandreasoningoftheinformation;itisthehuman'sunderstandingofthenaturalworld,humansociety,andthelawofthinkingandmovement.Recognitionandmasteryaretherecombinationandsystematicinformationcollectionofthehumanbrainthroughthinking.
InKR,themeaningofknowledgeisdifferentfromthemeaningofknowledgegenerallyknowntous.Itreferstoconcepts,eventsandprocessesexpressedinacertainstructuredway.Therefore,inKR,notallknowledgeindailylifecanbeembodied,butonlywhenthescopeandstructurearelimited,theknowledgethathasbeencodedandtransformedcanbecometheknowledgeinKR.TheknowledgeinKRgenerallyhasthefollowingcategories:
Conceptsabouttheobjectsofinterestintherealworld,thatis,usedtodescribetheabstractandsummarizedconceptsintherealworld.
Abouteventsthatoccurintherealworld,thebehaviorsandstatesofrelatedobjects,etc.,thatistosay,therearenotonlystaticconcepts,butalsodynamicinformation.
Knowledgeabouttheprocess,thatis,notonlythedescriptionofthecurrentstateandbehavior,butalsothedescriptionofthechangesinitsdevelopmentanditsrelatedconditions,causality,etc.
Мета-знање, то јест, знање о знању, на пример, укључујући знање о употреби знања.
Метод
Throughthejointeffortsofdomesticandforeignscholars,manyknowledgerepresentationmethodshavebeenstudiedindepth,andthemostusedknowledgerepresentationmethodsmainlyincludethefollowingknowledgerepresentationmethods.
(1)Логицалнотатион
Logicalnotationexpressesthesubjectandobjectofactionsintheformofpredicates,whichisanarrativeknowledgerepresentationmethod.Usinglogicalformulas,peoplecandescribeobjects,properties,conditions,andrelationships.Itismainlyusedfortheproofofautomatictheorems.Logicalnotationismainlydividedintopropositionallogicandpredicatelogic.
Logicalrepresentationstudiestheimplicationrelationshipbetweenhypothesisandconclusion,thatis,thelawofreasoningwithlogicalmethods.Itcanbeseenasasimplifiedformofnaturallanguage.Becauseofitsaccuracyandunambiguousness,itiseasytounderstandandoperatebycomputers,andatthesametimeitissimilartonaturallanguage.
Propositionallogicisakindofmathematicallogic.Mathematicallogicusesformallanguage(logicalsymbollanguage)forprecise(withoutambiguity)descriptionandmathematicalresearch.Whatwearemostfamiliarwithistherepresentationofunknownsinmathematics.Example:Usepropositionallogictoexpressthefollowingknowledge:
Ифаисаневеннумбер, тхена2исаневеннумбер.
Решење:Дефинишите предлог на следећи начин:П:аисаневеннумбер;К:а2исаневеннумбер, затим:изворно знање је изражено као:П→К
ThepredicatelogicisequivalenttothefunctioninmathematicsExpress.Example:Usepredicatelogictoexpressknowledge:naturalnumbersareallintegersgreaterthanorequaltozero
Решење:дефинишите предикате како следи:Н(к):кисан природни број;И(к):кисанинтегер;ГЗ(к):кисанброј већи од или једнак нули. Дакле, изворно знање је изражено као:(∀к)(Н(к)(ГЗ(к)∧И(к)),∧И(к) к)исттхеуниверсалкуантифиер.
(2)Израз производње
Productionexpression,alsoknownasruleexpression,sometimescalledIF-THENexpression,itexpressesacondition-resultform,whichisarelativelysimplewayofexpressingknowledge.ThefollowingpartofIFdescribesTheprerequisiteoftherule,andthefollowingpartofTHENdescribestheconclusionoftherule.Theruleexpressionmethodismainlyusedtodescribeknowledgeandstatethecontrolbetweenvariousprocessknowledge,andthemechanismofinteraction.
Example:TheMYCINsystemhasthefollowingproductionknowledge(whereinconfidenceiscalledrulestrength):
IFThestainofthisorganismisGram-negative,theshapeofthisorganismisrod-shaped,andthepatientisanintermediatehost
THENThemicroorganismisPseudomonasaeruginosa,withaconfidenceof0.6
(3)Фрамерепресентатион
FrameisaspecialeventorobjectAcomplexdatastructureinwhichalloftheknowledgeisstoredtogether.Itsmainbodyisfixed,representingafixedconcept,objectorevent,anditslowerlayeriscomposedofslots,whichrepresenttheattributesofeachaspectofthemainbody.FrameworkItisahierarchicaldatastructure.Theslotinthelowerlayeroftheframecanberegardedasasub-frame,andthesub-frameitselfcanbefurtherdividedintosides.Theattributevaluesoftheslotandthesidearecalledtheslotvalueandthesidevalue,respectively.TheslotvaluecanbeLogicalornumeric,thespecificvaluecanbeaprogram,condition,defaultvalueorasubframe.Interrelatedframesareconnectedtoformaframesystem,orframenetwork.
Example:UseaframeSaidthefollowingearthquakeevents:[VirtualXinhuaNewsAgency,March15th]Yesterday,anearthquakeoccurredinYuxi,Yunnan,causingpropertylossesofabout100,000yuan.Ifthestatisticsdepartmentneedsdetailedlossfigures,pleasecall62332931.AccordingtoexpertsThemagnitudewillnotexceed4,anditisbelievedthatthelocationinnoman’slandwillnotcausecasualties.
(4)Објектно оријентисана метода представљања
Theobject-orientedknowledgerepresentationmethodisAccordingtotheprincipleofobject-orientedprogramming,aformofmixedknowledgerepresentationisformed,thatis,takingtheobjectasthecenter,encapsulatingrelatedknowledgesuchasobjectattributes,dynamicbehavior,domainknowledgeandprocessingmethodsinthestructureofexpressingtheobject.Inthismethod,Thebasicunitofknowledgeisanobject,andeachobjectiscomposedofasetofattributes,relationships,andmethods.Thevalueofanobject’sattributesetandrelationshipsetdescribestheknowledgeoftheobject;themethodsetrelatedtotheobject,Thevalueoftheoperationontheattributesetandtherelationshipsetrepresentstheknowledgeprocessingmethodthattheobjectactsontheknowledge,includingknowledgeacquisitionmethod,reasoningmethod,messagetransmissionmethodandknowledgeupdatemethod.
(5)СемантицВебРепресентатион
SemanticWebisoneofthemostimportantmethodsofknowledgerepresentation.Itisahighlyexpressiveandflexibleknowledgerepresentationmethod.ItAnetworkgraphthatexpressesknowledgethroughconceptsandtheirsemanticrelations.Fromthepointofviewofgraphtheory,itisa"markeddirectedgraph".Thesemanticnetworkusesadirectedgraphcomposedofnodesandlabelededgestodescribetherelationshipbetweenevents,concepts,conditions,actions,andobjects.Thelabeleddirectedgraphcandescribetherelationshipbetweenobjectsverynaturally.
Example:Useasemanticnetworktoexpressthefollowingknowledge:XiangyaMedicalCollegeofCentralSouthUniversityisauniversitylocatedinChangshaCity,andwasestablishedin1914.
(6)Нотација заснована на КСМЛ-у
InXML(eXtensibleMarkuplanguage,extensiblemarkuplanguage),dataobjectsaredescribedbyelements,andtheattributesofdataobjectscanbedescribedasTheelement'schildelementsorelementattributes.AnXMLdocumentiscomposedofseveralelements,andtherelationshipbetweendataisembodiedinthenestedformofparentelementsandchildelements.IntheprocessofXML-basedknowledgerepresentation,XMLDTD(DocumentTypedefinitions,documenttypedefinitions)isusedtodefineagrammaticalsystemofknowledgerepresentationmethods.InterprettheinstantiatedknowledgerepresentationdocumentthroughacustomXMLapplication.Intheprocessofknowledgeutilization,thecontentmarkedbyaspecifictagisparsedbymaintainingadatadictionaryandanXMLparsingprogram,andthespecificknowledgecontentisexpressedintheformatof"tag"+"content".Knowledgerepresentationisthekeytoconstructingaknowledgebase.Whethertheknowledgerepresentationmethodissuitableornotisnotonlyrelatedtotheeffectivestorageofknowledgeintheknowledgebase,butalsodirectlyaffectstheefficiencyofthesystem'sknowledgereasoningandtheabilitytoacquirenewknowledge.
(7)Онтолошко представљање
Ontologyisaformal,shared,clear,andconceptualspecification.Ontologycanexpresssemanticsinanexplicitandformalway,improvetheinteroperabilitybetweenheterogeneoussystems,andpromoteknowledgesharing.Therefore,inrecentyears,ontologyhasbeenwidelyusedinthefieldofknowledgerepresentation.Thepurposeofusingontologytoexpressknowledgeistounifytheconceptsintheapplicationdomain,andconstructanontologyhierarchysystemtoexpressthesemanticrelationshipbetweenconcepts,soastorealizethesharingandreuseofknowledgebetweenhumansandcomputers.Fivebasicmodelingprimitivesarethebasiccomponentsoftheontologyhierarchy.Theseprimitivesare:class,relationship,function,axiomandinstance.UsuallyalsoClasses(class)iswrittenasConcepts.Theontologyisintroducedintotheknowledgemodelingoftheknowledgebase,andthedomainontologyknowledgebaseisestablished.Theknowledgecanbeexpressedwithconceptsandtheinherentrelationshipbetweentheseknowledgescanberevealedatthesametime.Theknowledgeinthedomainontologyknowledgebaseisnotonlyclassifiedthroughtheverticalcategory,butalsoorganizedandrelatedthroughthesemanticassociationoftheontology.Theinferenceenginereusesthisknowledgeforreasoning,therebyimprovingtherecallandaccuracyofretrieval.
Theabovebrieflyintroducesandanalyzescommonknowledgerepresentationmethods.Inaddition,therearesomeknowledgerepresentationmethodssuitableforspecialfields,suchas:conceptmap,Petri,grid-basedknowledgerepresentationmethods,roughsets,Theknowledgerepresentationmethodofcloudtheory,etc.,willnotbeintroducedindetailhere.Intheactualapplicationprocess,anintelligentsystemoftencontainsmultiplerepresentationmethods.
Тхецомплетепроцесс
Inageneralsense,knowledgerepresentationisasetofconventionsfordescribingtheworld,whichisthesymbolization,formalizationormodelingofknowledge;fromcomputerscienceFromthepointofview,knowledgerepresentationisageneralmethodtostudythefeasibilityandeffectivenessofcomputerrepresentationofknowledge.Itisastrategytorepresenthumanknowledgeasadatastructureandsystemcontrolstructurethatcanbeprocessedbyamachine.
Acompleteknowledgerepresentationprocessis:first,thedesignerdesignsavarietyofknowledgerepresentationmethodsforvarioustypesofproblems;thentheuseroftherepresentationmethodselectsasuitablerepresentationmethodtorepresentacertaintypeofknowledge;finallytheknowledgeTheuserusesorlearnstheknowledgeprocessedbytherepresentationmethod.Therefore,theobjectofknowledgerepresentationisknowledge;thesubjectofknowledgerepresentationincludesthreecategories:designersofrepresentationmethods,usersofrepresentationmethods,andusersofknowledge.Specifically,thesubjectofknowledgerepresentationmainlyreferstopeople(individualsorcollectives),andsometimescomputers.
TheprocessofknowledgerepresentationisshowninFigure1."KnowledgeI"inFigure1referstotacitknowledgeorexplicitknowledgeexpressedusingotherrepresentationmethods;"KnowledgeII"referstoexplicitknowledgeexpressedusingthisknowledgerepresentationmethod.Thedeepstructureof"KnowledgeI"and"KnowledgeII"arethesame,buttherepresentationisdifferent.Therefore,theprocessofknowledgerepresentationistheprocessoftransformingtacitknowledgeintoexplicitknowledge,ortheprocessoftransformingknowledgefromoneformofrepresentationintoanother.
Повезани примери
Supposethereissuchaknowledgethatneedstobeexpressed:XiaoPanisastudentintheDepartmentofComputerScience,buthedoesnotlikeprogramming.Ifweusefirst-orderpredicatelogictoexpressit,weneedtotakethefollowingsteps:First,definethepredicate
Компјутер(к):киастудент одељења за рачунарство
Свиђа ми се(к,и):кликеси
Друго, изражено је предикатном формулом:
Рачунар(киаопан)∧¬Лике(киаопан,програмирање)
Productionrules:Amethodofexpressingknowledgeusedinthejudgmentofconditions,causationandothertypes.ThebasicformisP→Q,orifPthenQ.Herethisproductionruleisdifferentfromtheexpressionof"implication(→)"inthepredicatelogicjustnow.Thelatterisanexactmatch,thatis,ifx,100%willbey,whiletheformercanbeRepresentsafuzzymatchwithacertaindegreeofconfidence,thatis,theprobabilityofoccurrence.
Forexample:if"coughandfever",then"cold",theconfidencelevelis80%.Heretheifpartindicatestheconditionpart,thethenpartindicatestheconclusionpart,andtheconfidencedegreeindicatestheprobabilityofobtainingaconclusionwhentheconditionismet.Thiswholepartformsarulethatexpressesthiskindofcausalknowledge:"Ifthepatienthasafeverandcough,thenheislikelytohaveacold."
Therefore,formorecomplexsituations,wecanusethisknowledgerepresentationofproductionrulestoformaseriesofrules.