openworm / owmeta-core

Core library for owmeta
MIT License
3 stars 2 forks source link

Automatically add imports to class definition contexts when processing the classes #18

Open mwatts15 opened 6 years ago

mwatts15 commented 6 years ago

Should find contexts containing classes which have a rdfs:subClassOf relationship with another class and add import declarations between those contexts and the super-class's definition context. This is so that when someone retrieves a context, they know where to get the definitions the super-class and the reference to the source code (i.e., super class's RegistryEntry, the entry's PythonClassDescription, and the ModuleAccess for that PCD's module).