简体   繁体   English

如何创建本地本体

[英]How to create a local ontology

I want to create an ontology for my game application but it seems to me that I always have to choose an IRI for my ontology and then share the ontology online. 我想为我的游戏应用程序创建一个本体,但是在我看来,我总是必须为本体选择一个IRI,然后在线共享该本体。

How can I create a local ontology with local subject IDs that have relations inside the application ? 如何创建具有与应用程序内部相关的本地主题ID的本地本体?

Choosing an IRI for your ontology does not mean the IRI has to be a URL or that the URL needs to be resolvable and provide the ontology on retrieval. 为您的本体选择IRI并不意味着IRI必须是URL或URL必须是可解析的并在检索时提供本体。 A URN will do - eg, urn:games:myGame is valid ontology IRI. URN会这样做-例如, urn:games:myGame是有效的本体IRI。

Once you save your ontology to a file, you can load it through the file name. 将本体保存到文件后,可以通过文件名加载它。 This removes all needs for the ontology being shared online. 这消除了在线共享本体的所有需求。

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

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