Extend DBpedia entity in Protege ontology

删除回忆录丶 提交于 2019-12-24 04:00:16

问题


I'm using Protege to develop an ontology that will include some things that are already described in DBpedia. Let's say I want to include a class 'Cities' and have 'Berlin' as an individual. My Berlin will have some properties the DBpedia Berlin doesn't but otherwise I'd like to 'reuse' DBpedia's Berlin.

Do I need to define my own Berlin and then use rdf:seeAlso or can I somehow import DBpedia's Berlin and add some properties?


回答1:


Just use the DBpedia IRI,

If it's sufficient to simply talk about the same individual, just add the individual to your ontology (i.e., create an individual with the IRI http://dbpedia.org/resource/Berlin) and add whatever else you need.

or use your own IRI and add an owl:sameAs assertion,

You could also create an individual with your own IRI, e.g., http://stackoverflow.com/questions/19703414/Berlin and assert that it's owl:sameAs http://dbpedia.org/resource/Berlin. You're creating OWL individuals with Protege, and DBpedia is using an OWL ontology, and owl:sameAs is what you'd use to express the fact that two individuals are the same.

and be aware that rdfs:seeAlso might not do what you think it does.

rdfs:seeAlso is just for finding related information, e.g., a document about some resource, or the standard in which it's defined, etc. Even in the if you have

http://stackoverflow.com/questions/19703414/Berlin rdfs:seeAlso http;//dbpedia.org/resource/Berlin

and someone retrieves http;//dbpedia.org/resource/Berlin and sees a bunch of triples with that subject, there's nothing telling them that

http;//dbpedia.org/resource/Berlin owl:sameAs http://stackoverflow.com/questions/19703414/Berlin

which is really the important thing.



来源:https://stackoverflow.com/questions/19703414/extend-dbpedia-entity-in-protege-ontology

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