Administrator
|
Hi,
Yes, it's possible. You need to load the ontology and to iterate over all properties (as explained in the documentation), and then you can FunctionalProperty in the list of parent classes of the property, as follows:
prop.is_a.append(FunctionalProperty)
Finally, save the ontology.
Jiba
|