How to import geosparql to your ontology?

守給你的承諾、 提交于 2019-12-11 10:43:16

问题


Based on this: How to extend ontology with other standard ontologies in Protégé?, I am really worried on how to import geosparql in an ontology I just created.

I think that importing geosparql means to import this to my ontology in Protege: http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf

My ontology is Saved As RDF/XML syntax and the file that contains it has a .owl extension.

How to safely import geosparql in my ontology (Protege 5.0.0 beta)?


回答1:


Both .rdf and .owl are acceptable extensions for OWL ontologies saved as RDF/XML.

If your ontology imports the geosparql ontology, the extension is not important - what's important is that Protege can find an ontology whose ontology IRI is http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf.

This can happen in multiple ways: Protege might remember that a local file it has parsed before contains this ontology (the file name is not relevant - this is called IRI redirection or IRI mapping), or it will attempt to download the ontology taking the ontology IRI as a document URL.

In this case, the only constraint is that the ontology IRI is a resolvable URL.



来源:https://stackoverflow.com/questions/36239706/how-to-import-geosparql-to-your-ontology

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!