callahantiff / PheKnowLator

PheKnowLator: Heterogeneous Biomedical Knowledge Graphs and Benchmarks Constructed Under Alternative Semantic Models
https://github.com/callahantiff/PheKnowLator/wiki
Apache License 2.0
159 stars 29 forks source link

Bug: Instance-based OWL-NETS build have anonymous nodes #57

Closed callahantiff closed 3 years ago

callahantiff commented 3 years ago

Bug: Thanks to @MSBradshaw for noticing that the OWL-NETS code, applied to the instance-based builds, includes blank nodes.

TODO: Clean up code to identify what the blank nodes are and add tests to catch this type of error in the future. Potential fixes could be something as simple as needing to replace the instance URI with the node URI that is represented by that instance.

callahantiff commented 3 years ago

Looks to impact the updates_class_instance_identifiers() method in owlnest.py (lines: 88-111).