I have made 2 ontologies
using owlready2
library
list(ontology1.classes())
[old_dataset_ontology.weather,
old_dataset_ontology.season]
list(ontology1.individuals())
[old_dataset_ontology.rainy,
old_dataset_ontology.windy,
old_dataset_ontology.cold,
old_dataset_ontology.clouds]
list(ontology2.classes())
[new_dataset_ontology.weather,
new_dataset_ontology.season,
new_dataset_ontology.season1]
list(ontology2.individuals())
[new_dataset_ontology.rainy,
new_dataset_ontology.windy,
new_dataset_ontology.cold1]
I want to merge
them but I do not find a way with olwready2
. There is not something in the documentation. I want just a simple string matching and to delete the duplicate classes and indiv
Any ideas?