计算机科学 ›› 2024, Vol. 51 ›› Issue (7): 362-372.doi: 10.11896/jsjkx.230800034
赵晓非1, 柴争义1, 袁超2, 张振2
ZHAO Xiaofei1, CHAI Zhengyi1, YUAN Chao2, ZHANG Zhen2
摘要: 约束增强的RDFS(RDFS(c))本体克服了RDFS描述约束能力欠缺的缺点,然而约束机制的引入给本体验证问题带来了挑战。文中提出了一种面向RDFS(c)本体的、支持可判定性推断的模式验证方法。该方法对约束之间的依赖关系进行解析。首先,将RDFS(c)模式转化为一阶谓词逻辑表达式,而将规约的检测问题转化为表达式的可满足性检测问题;在此基础上,建立反映约束之间的修复-违背关系的约束依赖图,并对其进行必要的约简;接着,通过识别图中的有限环路来推导模式验证任务的可判定性;最后,通过约束依赖关系之上的推理进行模式的验证。该方法有两方面特点:一方面,通过到一阶谓词逻辑表达式的转换以及基于相应的一阶约束的依赖关系的推理,所提出的方法具有强适用性,特别是约束依赖性解析可以最大程度地减少回溯的次数,从而确保了验证过程的高效性;另一方面,由于独立于任何特定的约束建模语言,其也是一种分析RDFS(c)模式验证任务的可判定性的通用方法。
中图分类号:
[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. |
|