Rakenne
Therepresentationofknowledgeisadescriptionofknowledge,orasetofconventionsonknowledge,adatastructureacceptabletocomputersfordescribingknowledge.Inasense,representationcanberegardedasasynthesisofdatastructureanditsprocessingmechanism:representation=datastructure+processingmechanism.Therefore,knowledgerepresentationinESisaseriesoftechnicalmeansthatcancompletethecomputerprocessingofexpertknowledgeinES.Thecommononesareproductionrules,semanticweb,framemethodandsoon.
Edustaa aihetta
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.
Meta-tieto, eli esimerkiksi tietoa tiedosta, mukaan lukien tietämys tiedon käytöstä.
Menetelmä
Throughthejointeffortsofdomesticandforeignscholars,manyknowledgerepresentationmethodshavebeenstudiedindepth,andthemostusedknowledgerepresentationmethodsmainlyincludethefollowingknowledgerepresentationmethods.
(1)Looginen merkintä
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:
Josparillinenluku,niin2onparillinenluku.
Ratkaisu:Määritäehdotusseuraavasti:P:parillinen luku;Q:a2onparillinen luku, sitten:alkuperäinenalkutieto ilmaistaan seuraavasti:P→Q
ThepredicatelogicisequivalenttothefunctioninmathematicsExpress.Example:Usepredicatelogictoexpressknowledge:naturalnumbersareallintegersgreaterthanorequaltozero
Ratkaisu:määritä predikaattiseuraavasti:N(x):xisanaluonnollinen luku;I(x):xisankokonaisluku;GZ(x):xisluku suurempi kuin anorequaltzero.Jotenalkuperäinen tieto ilmaistaan seuraavasti:(∀x)(N(x)(GZ(x)∧I(x)),∀ x)onuniversaalikvantori.
(2) Tuotantoilmaisu
Productionexpression,alsoknownasruleexpression,sometimescalledIF-THENexpression,itexpressesacondition-resultform,whichisarelativelysimplewayofexpressingknowledge.ThefollowingpartofIFdescribesTheprerequisiteoftherule,andthefollowingpartofTHENdescribestheconclusionoftherule.Theruleexpressionmethodismainlyusedtodescribeknowledgeandstatethecontrolbetweenvariousprocessknowledge,andthemechanismofinteraction.
Example:TheMYCINsystemhasthefollowingproductionknowledge(whereinconfidenceiscalledrulestrength):
IFThestainofthisorganismisGram-negative,theshapeofthisorganismisrod-shaped,andthepatientisanintermediatehost
THENThemicroorganismisPseudomonasaeruginosa,withaconfidenceof0.6
(3) Kehysesitys
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) Oliolähtöinen esitysmenetelmä
Theobject-orientedknowledgerepresentationmethodisAccordingtotheprincipleofobject-orientedprogramming,aformofmixedknowledgerepresentationisformed,thatis,takingtheobjectasthecenter,encapsulatingrelatedknowledgesuchasobjectattributes,dynamicbehavior,domainknowledgeandprocessingmethodsinthestructureofexpressingtheobject.Inthismethod,Thebasicunitofknowledgeisanobject,andeachobjectiscomposedofasetofattributes,relationships,andmethods.Thevalueofanobject’sattributesetandrelationshipsetdescribestheknowledgeoftheobject;themethodsetrelatedtotheobject,Thevalueoftheoperationontheattributesetandtherelationshipsetrepresentstheknowledgeprocessingmethodthattheobjectactsontheknowledge,includingknowledgeacquisitionmethod,reasoningmethod,messagetransmissionmethodandknowledgeupdatemethod.
(5)Semantic WebRepresentation
SemanticWebisoneofthemostimportantmethodsofknowledgerepresentation.Itisahighlyexpressiveandflexibleknowledgerepresentationmethod.ItAnetworkgraphthatexpressesknowledgethroughconceptsandtheirsemanticrelations.Fromthepointofviewofgraphtheory,itisa"markeddirectedgraph".Thesemanticnetworkusesadirectedgraphcomposedofnodesandlabelededgestodescribetherelationshipbetweenevents,concepts,conditions,actions,andobjects.Thelabeleddirectedgraphcandescribetherelationshipbetweenobjectsverynaturally.
Example:Useasemanticnetworktoexpressthefollowingknowledge:XiangyaMedicalCollegeofCentralSouthUniversityisauniversitylocatedinChangshaCity,andwasestablishedin1914.
(6)XML-pohjainen merkintä
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) Ontologian esitys
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.
Täydellinen prosessi
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.
Liittyvätesimerkit
Supposethereissuchaknowledgethatneedstobeexpressed:XiaoPanisastudentintheDepartmentofComputerScience,buthedoesnotlikeprogramming.Ifweusefirst-orderpredicatelogictoexpressit,weneedtotakethefollowingsteps:First,definethepredicate
Tietokone(x):xontietokonetieteen laitoksen opiskelija
Tykkää(x,y):xlikesy
Toiseksi se ilmaistaan predikaattikaavalla:
Tietokone(xiaopan)∧¬Like(xiaopan,ohjelmointi)
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.