计算机科学 ›› 2024, Vol. 51 ›› Issue (7): 362-372.doi: 10.11896/jsjkx.230800034

• 人工智能 • 上一篇    下一篇

一种约束增强的RDFS本体的模式验证方法

赵晓非1, 柴争义1, 袁超2, 张振2   

  1. 1 天津工业大学计算机科学与技术学院 天津 300387
    2 天津工业大学软件学院 天津 300387
  • 收稿日期:2023-08-07 修回日期:2024-01-14 出版日期:2024-07-15 发布日期:2024-07-10
  • 通讯作者: 赵晓非(zhaoxiaofei1978@hotmail.com)
  • 基金资助:
    国家自然科学基金(62172298,61972456);江苏省计算机信息处理技术重点实验室开放基金(KJS1737)

Schema Validation Approach for Constraint-enhanced RDFS Ontology

ZHAO Xiaofei1, CHAI Zhengyi1, YUAN Chao2, ZHANG Zhen2   

  1. 1 School of Computer Science and Technology,Tiangong University,Tianjin 300387,China
    2 School of Software Engineering,Tiangong University,Tianjin 300387,China
  • Received:2023-08-07 Revised:2024-01-14 Online:2024-07-15 Published:2024-07-10
  • About author:ZHAO Xiaofei,born in 1978,Ph.D,associate professor.His main research interests include knowledge engineering and distributed intelligence.
  • Supported by:
    National Natural Science Foundation of China(62172298,61972456) and Open Foundation of Jiangsu Provincial Key Laboratory for Computer Information Processing Technology(KJS1737).

摘要: 约束增强的RDFS(RDFS(c))本体克服了RDFS描述约束能力欠缺的缺点,然而约束机制的引入给本体验证问题带来了挑战。文中提出了一种面向RDFS(c)本体的、支持可判定性推断的模式验证方法。该方法对约束之间的依赖关系进行解析。首先,将RDFS(c)模式转化为一阶谓词逻辑表达式,而将规约的检测问题转化为表达式的可满足性检测问题;在此基础上,建立反映约束之间的修复-违背关系的约束依赖图,并对其进行必要的约简;接着,通过识别图中的有限环路来推导模式验证任务的可判定性;最后,通过约束依赖关系之上的推理进行模式的验证。该方法有两方面特点:一方面,通过到一阶谓词逻辑表达式的转换以及基于相应的一阶约束的依赖关系的推理,所提出的方法具有强适用性,特别是约束依赖性解析可以最大程度地减少回溯的次数,从而确保了验证过程的高效性;另一方面,由于独立于任何特定的约束建模语言,其也是一种分析RDFS(c)模式验证任务的可判定性的通用方法。

关键词: :RDFS, 本体验证, 约束依赖性, 可判定性

Abstract: The constraint-enhanced RDFS(RDFS(c)) ontology overcomes the deficiency of RDFS's ability to describe constraints.However,the introduction of constraints brings challenges to ontology validation.This paper proposes a decidable schema validation approach for RDFS(c) ontology.This approach is based on analyzing the dependency between constraints.First,the RDFS(c) schema is transformed into the first-order predicate logic expressions,and the checking tasks of the characteristics are transformed into the satisfiability checking of the first-order expressions.On this basis,a constraint dependence graph reflecting the mend-violation relationships between constraints is established and made necessary reductions,we then derive the decidability of the schema validation tasks by identifying the finite loops in the graph,and finally validate the schema by reasoning on the constraint dependency.The contribution of this paper is twofold.On the one hand,through the transformation to the first-order expressions and the reasoning based on the dependency of the corresponding first-order constraints,the proposed approach has strong applicability,especially the constraint dependency analysis can minimize the number of backtracking,thereby ensuring the efficiency of the validation process;on the other hand,because it is independent of any specific constraint modeling language,this approach is also a general solution for analyzing the decidability of the RDFS(c) schema validation tasks.

Key words: RDFS, Ontology validation, Constraint dependency, Decidability

中图分类号: 

  • TP182
[1]TOMASZUK D,HAUDEBOURG T.RDF Schema 1.2.W3CRecommendation [EB/OL].www.w3.org/TR/2023/WD-rdf12-schema-20230615.
[2]JOSE E L,HERMINIO G,DANIEL F,et al.Challenges in RDF Validation[C]//Current Trends in Semantic Web Technologies:Theory and Practice.Berlin:Springer-Verlag,2019:121-151.
[3]MEESTER B D,HEYVAERT P,ARNDT D,et al.RDF graph validation using rule-based reasoning[J].Semantic Web,2021,12(1):117-142.
[4]WEYNS M,BONTE P,STEENWINCKEL B,et al.Conditional Constraints for Knowledge Graph Embeddings[C]//Procee-dings of the 17th Extended Semantic Web Conference(ESWC 2020).Berlin:Springer-Verlag,2020:1-10.
[5]LIEBER S,DEMEESTER B,HEYVAERT P.Visual notations for viewing RDF constraints with UnSHACLed [J].Semantic Web,2022,13(5):757-792.
[6]LE N L,ABEL M H,GOUSPILLOU P.A Constraint-basedRecommender System via RDF Knowledge Graphs[C]//Proceedings of the 26th International Conference on Computer Supported Cooperative Work in Design(CSCWD2023).New York:IEEE Press,2023:849-854.
[7]NANDANA M.A framework for linked data quality based on data profiling and rdf shape induction [D].Madrid:Universidad Politécnica de Madrid,2020.
[8]CHMUROVIC A,SIMKUS M.Well-founded Semantics for Recursive SHACL[C]//Proceedings of the 4th International Workshop on the Resurgence of Datalog in Academia and Industry.Berlin:Springer-Verlag,2022:2-13.
[9]GARCIA-GONZALEZ H,LABRA-GAYO J E.XMLSchema2-ShEx:Converting XML validation to RDF validation [J].Semantic Web,2020,11(2):235-253.
[10]FERNANDEZ-ALVAREZ D,LABRA-GAYO J E,GAYO-AVEL-LO D.Automatic extraction of shapes using sheXer [J].Know-ledge-Based Systems,2022,238:107975.
[11]ROBALDO L,PACENZA F,ZANGARI J,et al.Efficient compliance checking of RDF data[J].Journal of Logic and Computation,2023,34(6):98-121.
[12]PRUDHOMMEAUX E,COLLINS J,BOOTH D,et al.Development of a FHIR RDF data transformation and validation framework and its evaluation[J].Journal of Biomedical Informatics,2021,117:103755.
[13]PUBLIO G C,GAYO J E L,COLUNGA G F.Ontolo-CI:Continuous Data Validation With ShEx[C]//Proceedings of the 18th International Conference on Semantic Systems.Germany:CEUR-WS.org,2022:32-37.
[14]LENZERINI M,NOBILI P.On the satisfiability of dependency constraints in entity-relationship schemata[C]//Proceedings of the 13th International Conference on Very Large Databases(VLDB 1987).Brighton:Morgan Kaufmann,1987:147-154.
[15]FITTING M.First-order logic and automated theorem proving [M].Berlin:Springer Science & Business Media,2012.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!