simphony / simphony-osp

A framework that aims to achieve interoperability between software such as simulation engines, databases and data repositories using a knowledge graph as the common language.
https://simphony.readthedocs.io
Other
16 stars 12 forks source link

test and fix examples in various scenarios. #855

Open adhamhashibon opened 1 year ago

adhamhashibon commented 1 year ago

e.g., the simphony-osp/examples/assertional_knowledge.py fails when the user has multiple name spaces loaded and adding superclasses which also have attributes (e.g., memo and foaf) leading to failure of execution:

image

The code in simphony-osp/simphony_osp/ontology/individual.py:933 basically is not able to deal with such cases, even though only one attribute is actually used.