Search code examples
sparqlowlontologyprotege

Create new ObjectProperty in Protege .The tag name is different


I found something different when I create a new ObjectProperty. This is my ontology.

This ObjectProperty hasSymptom is been created

But now when I create new ObjectProperty hasObject

I founded when I create new Object Property. The tag name will different 1)rdf:about="http://www.semanticweb.org/pllab/ontologies/2013/11/untitled-ontology-2#"hasSymptom/>

2)rdf:about="&ont;hasObject"

Why this happend? Thanks


Solution

  • Obviously, as I already told you, you have changed something in the settings of Protege - because the default namespace for the creation of new entities doesn't change by chance.

    File -> Preferences -> New Entities tab -> Click on Active ontology IRI (or change the Specified IRI to the one that you want)

    enter image description here

    By the way, you should use your own namespace and not that one that is auto-generated by Protege.