问题描述
基于此:,我真的很担心如何在刚刚创建的本体中导入geosparql.
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.
我认为,导入geosparql意味着将其导入到Protege中的本体中: http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf
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
我的本体另存为 RDF/XML语法,并且包含它的文件具有 .owl 扩展名.
My ontology is Saved As RDF/XML syntax and the file that contains it has a .owl extension.
如何在本体(Protege 5.0.0 beta)中安全导入geosparql?
How to safely import geosparql in my ontology (Protege 5.0.0 beta)?
推荐答案
对于保存为RDF/XML
的OWL
本体,.rdf
和.owl
都是可接受的扩展.
Both .rdf
and .owl
are acceptable extensions for OWL
ontologies saved as RDF/XML
.
如果您的本体导入了geosparql本体,则扩展并不重要-重要的是Protege可以找到其本体IRI为http://schemas.opengis.net/geosparql/1.0/geosparql_vocab_all.rdf
的本体.
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
.
这可能以多种方式发生:Protege可能记得它之前解析过的本地文件包含此本体(文件名不相关-这称为IRI重定向或IRI映射),否则它将尝试下载该本体.以本体IRI作为文档URL.
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.
在这种情况下,唯一的约束是本体IRI是可解析的URL.
In this case, the only constraint is that the ontology IRI is a resolvable URL.
这篇关于如何将geosparql导入您的本体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!