简体   繁体   English

使用OCL进行验证

[英]Use OCL for validation

I have a RDF dataset and a some OCL files which discribe the expected shape of the data. 我有一个RDF数据集和一些OCL文件,它们描述了数据的预期形状。

Is there a way verify the data with the OCL files with Jena? 有没有一种方法可以通过Jena使用OCL文件验证数据?

Jena appears to be a complete solution, so extending it is hard. Jena似乎是一个完整的解决方案,因此很难对其进行扩展。 (If it was OSGI plugins, you could install it in Eclipse and exploit complimentary Eclipse functionality.) (如果是OSGI插件,则可以将其安装在Eclipse中并利用Eclipse的免费功能。)

If you save your RDF as XML, and have a UML/Ecore metamodel for RDF, then you may use Eclipse OCL tooling in a separate tool. 如果将RDF保存为XML,并且具有用于RDF的UML / Ecore元模型,则可以在单独的工具中使用Eclipse OCL工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM