作为W3C(WWW Consortium)的推荐标准,RIF(Rule Interchange Format)致力于语义web中不同规则语言之间以及不同规则系统之间的规则互换.以RIF为中心互换规则是规则互换发展的必然趋势.本文首先定义RIF的元模型.给出RIF规则的UML Profile;然后构建以RIF为中心的规则互换结构RIA(Rule Interchange Architecture),它支持RIF与主要规则语言SWRL(Semantic web Rule Language),RuleML(Rule Markup Language)和R2ML(REWERSE Rule Markup Language)之间的互换以及这四种语言的抽象语法和具体语法之间的互换;此外分析互换过程中出现的信息缺失问题并提出相应的对策;最后基于ATL(Arias Transformation Language)转换语言,设计实现规则互换原型系统RIA1.0.
As a recommendation of the W3C (WWW Consortium), RIF (Rule Interchange Format) is dedicated to rule interchange between different rule languages and between different rule systems in the Semantic Web. Interchanging rules centered on RIF is an inevitable trend for the development of rule interchange. In the paper, we first define RIF metamodel and give a UML profile for RIF rules. And then, we construct RIA (Rule Interchange Architecture), a rule interchange architecture centered on RIF, which supports transformations between RIF and the main rule languages SWRL ( Semantic Web Rule Language ) , RuleML ( Rule Markup Language ) and R2ML ( REWERSE Rule Markup Language ), and transformations between abstract syntaxes and concrete syntaxes of the above four languages. In addition, we analyze the issue of information loss which is unavoidable in the process of rule interchange. and propose corresponding remedial measures. In the end, based on ATL ( Atlas Transformation Language), we design and implement RIA 1.0 which is a prototype system of rule interchange.