typedb / biograkn

BioGrakn Knowledge Graph
https://blog.grakn.ai/biograkn-accelerating-biomedical-knowledge-discovery-with-a-grakn-knowledge-graph-84706768d7d4
181 stars 52 forks source link

Refactor migrateMentions function to catch error thrown by query execution #61

Closed Irtazaraza closed 5 years ago

Irtazaraza commented 5 years ago

Fix bug in migrateMentions which resulted in the failure of defining and interesting new schema types mined by CoreNLP.

Handle the exception thrown by Grakn when querying for a type that is not defined.