rukmal / precis

A personal professional metadata ontology and toolkit
http://precis.rukmal.me/
MIT License
1 stars 0 forks source link

Improve object property extraction from ontology during initialization #4

Open rukmal opened 5 years ago

rukmal commented 5 years ago

Related file: precis/__init__.py.

Currently, object properties are extracted from the ontology through a (super hacky) process of listing the object properties in the base ontology using owlready2, and then string-splitting on the '.' character to extract the object property labels.

rukmal commented 5 years ago

The same enhancement needs to be applied to the dynamic class constructor extraction.