Представяне на знания

Структура

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 е четно число.

Решение: Дефинирайте предложението по следния начин: P:aisчетно число;Q:a2isieчетно число,тогава:първоначалното знаниесе изразява като:P→Q

ThepredicatelogicisequivalenttothefunctioninmathematicsExpress.Example:Usepredicatelogictoexpressknowledge:naturalnumbersareallintegersgreaterthanorequaltozero

Решение: дефинирайте предиката по следния начин: N(x): x е естествено число; I (x): x е цяло число; GZ (x): x е число, по-голямо от или равно на нула. Така че първоначалното знание се изразява като: (∀x) (N (x) (GZ(x)∧I(x)),∀( x) е универсалният квантор.

(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.Theattributevalues​​oftheslotandthesidearecalledtheslotvalueandthesidevalue,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) Нотация, базирана на XML

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

Компютър(x):x е студент от катедрата по компютърни науки

Like(x,y):xlikesy

Второ, изразява се чрез предикатна формула:

Компютър(xiaopan)∧¬Like(xiaopan,програмиране)

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.

Related Articles
TOP