急!!!哪位大神战狼2有owl+SWRL——》jess的java实现代码

该项目主页:
本分类【】其它开源项目
&&相关的文档 ->
&对于 JavaScr ipt 来说,除了动态语言的基本特性之外,它还有着与其创生
时代背景密切相关的一些语言特性。直到如今, JavaScr ipt 的创建者还在小心
翼翼地增补着它的语言特性。在特性集的设定方面, JavaScr ipt 一直以来都是
一个典范。&flex动态树,动态图表&动态SQL运用实例&Richfaces实现动态表格和动态树示例说明&android 动态换肤,Android系统已经完美解决换肤问题,看到网上好多的朋友还在询问如何换肤。我示例一下Android换肤
&&相关的经验 ->
Mochi是一个动态类型的编程语言,用于函数式编程和actor风格的编程。
它的解析器采用Python3编写。这个解析器将一个采用Mochi编写的程序转换成Python3的AST / bytecode。
类似于Python的语法
Tail recursion optimizatio... ...
Julia是一个新的高性能动态高级编程语言。语法和其他编程语 言类似,易于其他语言用户学习。Julia拥有丰富的函数库,提供了数字精度、精致的增幅器(sophisticated amplifier)和分布式并行运行方式。核心函数库等大多数库是由Julia编写,但也用成熟的C和FORTRAN库来处... ...MoonScript 是一个动态的脚本语言,最终是编译成 Lua 脚本。MoonScript 给强大的,运行速度最快的脚本语言,同时还提供丰富的功能。
官方网站:http://www./lib/view/home/6
...来自: http://www.oschina.net/p/ink-lang?fromerr=vxMdp97c
ink是一种跨平台的(目前支持Linux和Windows),基于原型的动态语言,专注于语法层面上的灵活性,给予开发者近乎无限制的拓展空间。
ink的许多思想借鉴于Ruby... ...原文& //android_dynamic_dex/
首先如果仅仅是因为64K method的问题可以直接看这里 DexGuard、Proguard、Multi-dex 给出的解决方案
本文主... ...
&&相关资讯 ->
&&相关代码 ->54OWLSWRL representation methodology for EXPRESS-driven product information model-第2页
上亿文档资料,等你来发现
54OWLSWRL representation methodology for EXPRESS-driven product information model-2
W.Zhao,J.K.Liu/Computers;Fig.5.Themappingontology;Example1(Continued).5.2.;Thisworkissupportedbythe;W.Zhao,J.K.Liu/Computers;AppendixBThetranslationr;[1]WorldWideWebConsortiu;2004.
W.Zhao,J.K.Liu/ComputersinIndustry59(595Fig.5.ThemappingontologyandrelationshipdiagramfortheentitiesvehicleandownerofExample2.AstheoldOWL2JessandSWRL2JesstoolsmaptheA-BoxandT-BoxofOWL/SWRLasfactscreatedusingapre-de?nedtemplate(giveninAppendixA),inordertomapthe‘‘function_array_LOIN-DEX’’intoJess,?rstletusseethemappingresultof‘‘ARRAY_IN-TEGER_TYPE_x’’,aninstanceof‘‘APPAY_INTEGER_TYPE’’,themapresultofline39C47inExample1ofPartIaboutthefunctionde?nitionisgivenasthefollowingTable3.Thefactaboutthelowerboundofthearrayisthethirdfact,sothede?nitionof‘‘function_array_LOINDEX’’canbede?nedasAppendixBaccordingtoJesssyntax(hereweuseJess61p8),whichisaddedtotheoldOWL2Jess?le.Wede?nea‘‘defquery’’tosearchthematchingrulesandthende?nethefunctionfunction_array_LOINDEXwithanargument‘‘?array_instance’’togetthevalueoftheslot‘‘LowerBound’’representingthelowerboundofanarray.Ifwantto?ndthelowerboundof‘‘ARRAY_INTEGER_TYPE_x’’,wecancallthisfunctionwiththeargumentvalue‘‘ARRAY_INTEGER_TYPE_x’’,andthengetaninteger3asthereturnvalue.Exceptforthoseexecutablestatementsthathavenodepen-dencieswiththemappedfacts,wecanmapthemwithXSLTtotheJessexecutablestatementsthathavethesamefunctions.Forinstance,theifCthenCelseCendifstructurecanbetranslatedinto‘‘(if...then...else...)’’structure.5.Reasoning,queryingproductinformationandsomepracticalexperienceOnceloadingfacts,rulesandfunctionsisaccomplished,theruleenginescanperforminference.Asrules?res,newassertionswillcomeintobeing,andthentheseassertionscanbetransformedintoOWL/SWRLandstoredbackintothepreviousknowledgebasebymeansofsuchasJavaAPI.Atthesametime,astheOWLtoolssuch′ge′provideabundantqueryingmethodssuchasasJenaandProte′ge′AxiomLanguage(PAL)[12],etc.,theusercanSPARQL[17],Proteusethesetoolsinthestand-aloneapplicationstogeneratequeriesanddisplayqueryanswersthroughform-basedinterfaces.5.1.PracticalexperienceBelow(Example2)isasimpleexampleofanEXPRESSschemarepresentedwiththeEXPRESSlanguageelementsanditscorrespondingEXPRESS-Grepresentation(Fig.2),thisexampleFig.6.ThemappingSWRLinstanceforthewhere-clauseoftheentityownerinExample2.596W.Zhao,J.K.Liu/ComputersinIndustry59(isborrowedfrom[6]andrevisedalittle.Forthesakeofsimplicityitdoesnotattempttoincludealltheconstructingelementsshownabove.Inthisexample,wehavefourentities,i.e.,vehicle,car,vanandowner.TheentityvehicleisanabstractSUPERTYPE,ithasregistration,year,colorandowned_byasexplicitattributeswhichcanbeinheritedbythesubtypeentitiescarandvan.TheUNIQUEconstrainttoregistrationattributeofentityvehiclecontrolstheuniquenessoftheattributevaluesamongalltheinstancesofentityvehicle.Theinverseattributevehicles_ownedofentityownerandtheattributeofvehiclecapturethemutualrelationshipofthetwoentities.Thewhere-clauseofentityownerspeci?esthattheageofanownermustbegreaterthan16yearsold.WeuseExample2asatestcaseandbuildtheontology-based′ge′3.2Beta,theinstancesorindividualsknowledgebasewithProteoftheontologiescomingfromitscorrespondingSTEP?leisalsoconstructed.Wedevelopseveralexperimentalmodulesasstand-aloneapplicationsinJavacodeaccordingtothepreviousstatedmethodology,whichmainlyincludetransformationmodulethroughXSL,loadingfacts,rulesandinferencemoduleembeddingJessinJavacodeandquerymodule.Limitedtothepages,wedonotpresentthecodehereinOWL/SWRLofExample2,andtheontologydiagrammappingfromthevehiclemodelispresentedasFigs.3C6.ThemappingconsequenceisjustaswhathasbeendoneinPartI,?rstisthebasicdatatypes(Fig.3),thenentities(Figs.4and5),andlasttheconstraintsonthem(Fig.6).Example1.ThescalefunctioninEXPRESSanditsrepresentationinOWL.W.Zhao,J.K.Liu/ComputersinIndustry59(597Example1(Continued).5.2.DiscussionsAlthoughthispaperhasemployedtheJessinferenceengineasthereasoningmechanism,thesameapproachcanbeappliedtotheotherrule-basedinferencesystemssuchasAlgernon[18]whichalsohasJava-basedAPIs.AndastheJess7.07bVersion(releasedon11May2006)nowsupportsanXML-basedrulelanguage(JessML)akininstructuretotheJesslanguageitself,itismoreconvenienttouseJessastheruleinferencesystemandbridgethegapbetweentheWebandtheruleengine.Furthermore,JessMLmayalsoproveusefulinpermittingtheimportofgraphicalrepresentationssuchasUni?edModelingLanguage(UML)diagrams.Thismeans,thattheclassdiagramsinUMLcanbeusedtorepresenttheJessfactsandrulestranslatedfromtheOWLontologiesandSWRLrules,canbedevelopedwithoutXSLTandbuiltinavisualorintuitivemanner.Inaddition,constructingontologiesfromEXPRESSbyhandistedious.The?rstreasonisthenumberoftheobjectstobehandled,moreentitiesneedtobehandledinmorecomplicatedenviron-ments.Thesecondreason,theontologiesshouldnotbeconstructedbyhand,iscodemaintenance.OncetheEXPRESSSchemaandtheSTEP?lesaremodi?ed,theontologiesmustbealsochanged.6.ConclusionsandfutureworkOnthebasisofthepresentationoftheproductinformationmodelinEXPRESSlanguage,thispaperhasproposedtheintegratedandapplicationframeworkfortheproductinformationmodelencodedinOWL/SWRL.Inaddition,asacaseinpoint,theJessruleengithesyntaxtranslationbetweenOWL/SWRLandJessthroughXSLTandsomestand-aloneapplicationsaredeveloped.Oneofthedrawbacksisthattheintegrationoftheapplicationsisnotgoodenough.Forexample,thetranslationfromOWL/SWRLtoJessisaccomplishedbyXSL?lesandJavaapplication,thisoperationisontheseparate?lesnotwithintheOWL/SWRLknowledgebaseorJessknowledgebase.AndJesshasaverygoodimplementationofaforwardchainingruleenginebuthasweakbackwardchainingsupport,soareasoningenginelikeAlgernonmaybemoreappropriateforusersdemandingthissupport.Inaddition,ECA(eventCconditionCactions,whenaneventoccursandtheconditionsevaluateastrue,thecorrespondingactionsareexecuted)knowledgeofproductinformationasactiverulesisneededto′ge′-supportdynamicenvironment[11],andthetoolssuchasProteOWLAPIsprovideamechanismtoreactonchangesoftheontologyinOWLusinglisteners,sotheECArulescanbeimplementedbythismeans.Ourfutureworkaimstoprovethisframeworkinamorecomplexscenario,buildaparsertoconstructontologiesfromEXPRESSandSTEP?les,developastand-aloneapplicationtoimplementthetranslationfromOWL/SWRLtoJesswithJavaAPIsbutnotwithXSLT,integratethethreemodulesstatedinSection5.1asastand-aloneapplicationorasaplug-ininthe′ge′,de?netheOWL/SWRLsemanticrelatedenvironmentofProte598W.Zhao,J.K.Liu/ComputersinIndustry59(Example2.AschemaofvehiclemodelinEXPRESS.factsandrulesinJessMLandprovidetheECAsupportintheapplication.AcknowledgementsThisworkissupportedbytheNSFC(),DoctoralProgramFoundationofMOEofChina(),GDSF(03295).AppendixA.Apre-de?nedruleItcanbeusedtochecktheconsistency,tocomputethetaxonomicclassi?cation,thecharacteristicsofRDF&OWLvocabulary,etc.Theinferredassertionsarehelpfulfortheontologyengineertoevaluateandre?netheoriginalOWLontology.W.Zhao,J.K.Liu/ComputersinIndustry59(599AppendixBThetranslationresultinJesssyntaxofthede?nitionof‘‘function_array_LOINDEX’’References[1]WorldWideWebConsortium,OWLWebOntologyLanguageOverview,February2004.Availableathttp://www.w3.org/TR/2004/REC-owl-features-/.[2]TheRuleMLInitiative,http://www.ruleml.org/.[3]H.Knublauch,M.A.Musen,N.F.Noy,CreatingSemanticWeb(OWL)ontologieswithProte′ge′,Tutorialat2ndInternationalSemanticWebConference,SanibelIsland,FL,USA,2003.[4]WorldWideWebConsortium,SWRL:asemanticwebrulelanguagecombiningOWLandRuleML,May2004.Availableathttp://www.w3.org/Submission/2004/SUBM-SWRL-/.[5]J.Mei,E.P.Bontas,Z.Lin,OWL2Jess:atransformationalimplementationoftheOWLsemantics,in:ISPAWorkshops,.[6]R.M.Botting,A.N.Godwin,AnalysisoftheSTEPstandarddataaccessinterfaceusingformalmethods,ComputerStandards&Interfaces17(5C6)(.[7]WorldWideWebConsortium,ExtensibleMarkupLanguage(XML)1.0,2nded.,2000.Availableathttp://www.w3.org/TR/2000/REC-xml-.[8]TheOilEdEditor,http://oiled.man.ac.uk/.[9]I.Lera,C.Juiz,R.Puigjaner,Performance-relatedontologiesandsemanticwebapplicationsforon-lineperformanceassessmentofintelligentsystems,ScienceofComputerProgramming61(1)(.[10]A.Malucelli,D.Palzer,E.Oliveira,Ontology-basedServicestohelpsolvingtheheterogeneityproblemine-commercenegotiations,ElectronicCommerceResearchandApplications5(1)(.[11]Y.Dong,C.F.Y.Chee,Y.He,A.Goh,ActivedatabasesupportforSTEP/EXPRESSmodels,JournalofIntelligentManufacturing8(4)(.[12]Prote′ge′,http://protege.stanford.edu/.[13]V.Haarslev,R.Mo¨ller,Racer:anOWLreasoningagentfortheSemanticWeb,in:ProceedingsoftheInternationalWorkshoponApplications,ProductsandServicesofWeb-basedSupportSystems,inConjunctionwith2003IEEE/WICInternationalConferenceonWebIntelligence,Halifax,Canada,October13,2003,pp.91C95.[14]JessRuleengine,http://herzberg.ca.sandia.gov/jess.[15]S.Bechhofer,R.Mo¨ller,P.Crowther,TheDIGdescriptioninterface,in:ProceedingsoftheInternationalWorkshoponDescriptionLogics―DL’03,2003.[16]WorldWideWebConsortium,XSLTransformations,November1999.[17]RDFDataAccessWorkingGroup,SPARQLQueryLanguageforRDF,2004.Avail-ableathttp://www.w3.org/TR/2004/WD-rdf-sparql-query-/.[18]Algernonrule-basedprogramming,http://algernon-j.sourceforge.net/.[19]SweetRules,http://www.sweetrules.projects.semwebcentral.org.[20]D.Connolly,F.V.Harmelen,I.Horrocks,D.L.McGuinness,P.F.Patel-Schneider,L.A.Stein,DAML+OILReferenceDescription,W3CNote18December2001.http://www.w3.org/TR/2001/NOTE-daml+oil-reference-.WeiZhaoreceivedhisengineeringdegreeinMechanicalEngineeringin2001andhispostgraduatecerti?catein2004fromWuhanUniversityofHydraulicandElectricEngineeringandThreeGorgesUniversity,China,respec-tively.HeiscurrentlyaPhDstudentinEngineeringMechanicsintheDepartmentofMechanicsofSunYat-sen(Zhongshan)University.Hismainresearchinterestsincludestructuralreliabilityanalysisinmechanicalengineering,knowledge-basedsystem,collaborationandinformationsharingbetweenCAD,CAMandCAE,computer-aidedsystemsforreliabilityanalysisinengineering,etc.600W.Zhao,J.K.Liu/ComputersinIndustry59(Ji-keLiuisaprofessorintheDepartmentofMechanicsofSunYat-sen(Zhongshan)University,P.R.China.Hegraduatedin1988,andreceivedhisMaster’sdegreein1991andPhDdegreein1993fromNorthwesternPolytechnicalUniversity.HeworkedasaPostdoctoralResearchFellowintheInstituteofDynamics,NoiseandControlfrom.HewasinvitedtoTheUniversityofHongKong12timesasaResearchAssociate.Hisresearchinterestsareorientedonvibrationtheoryanditsapplicationsofcomplexstructuralsystems,theoryandapplicationsofstructuralreliabilityanalysis,computersandstructuresinengineering,etc.Hehaspublishedmorethan100journalandconferencepapers.三亿文库包含各类专业文献、专业论文、各类资格考试、外语学习资料、高等教育、生活休闲娱乐、文学作品欣赏、54OWLSWRL representation methodology for EXPRESS-driven product information model等内容。  上传我的文档
 下载
 收藏
该文档贡献者很忙,什么也没留下。
 下载此文档
正在努力加载中...
基于SWRL的鳜鱼疾病诊断知识表示与语义推理实现
下载积分:999
内容提示:基于SWRL的鳜鱼疾病诊断知识表示与语义推理实现
文档格式:PDF|
浏览次数:5|
上传日期: 07:20:13|
文档星级:
全文阅读已结束,如果下载本文需要使用
 999 积分
下载此文档
该用户还上传了这些文档
基于SWRL的鳜鱼疾病诊断知识表示与语义推理实现
官方公共微信总数:145762,共2916页
最后更新时间
最后更新时间
总数:145762,共2916页Jess Information
Documentation
More information
®, the Rule Engine for the JavaTM Platform
Related Web Sites
Jess has many thousand some of these uses have
invariably found their way into print or onto the Web. This is a
collection of random links to pages about or related to Jess, in no
particular order. If you want to add a link, just
Miscellaneous
Courseware
Presentations

我要回帖

更多关于 一下哪位大神没有参与 的文章

 

随机推荐