owl

Add new Individuals to an existing ontology from a dataframe using owlready 2

Add new Individuals to an existing ontology from a dataframe using owlready 2 Question: I have the following dataframe: import pandas as pd data = [[‘onto.modify’, ‘onto.ModificationAction1’]] df = pd.DataFrame(data, columns=[‘queries’, ‘corpus’]) queries corpus 0 onto.modify onto.ModificationAction1 The elements of corpus column are Individuals of a particular Class of an ontology called ontology2. I want …

Total answers: 1