Hi,
import owlready
from owlready import *
onto = get_ontology("
http://test.org/onto.owl")
class Drug(Thing):
ontology = onto
class DrugAssociation(Drug):
pass
print(DrugAssociation.is_a)
output: [onto.Drug]
my_drug = Drug("my_drug")
print(my_drug)
output: my_drug
my_drug1=Drug("my_drug")
print(my_drug1)
output: my_drug_2
how can i stop this number generating instance number i.e. my_drug_2
I want second output same like previous one i.e. my_drug only not my_drug_2
Please reply soon.