ExposuresProvider / cam-pipeline

Data loading pipeline for CAM database
https://exposuresprovider.github.io/cam-pipeline/
MIT License
2 stars 4 forks source link

Connect biolink terms directly to instances #7

Closed balhoff closed 4 years ago

balhoff commented 4 years ago

The indirection between biolink terms and instance type assertions slows down queries. We should add axioms or rules to directly connect instances to their biolink types.

balhoff commented 4 years ago

@patrickkwang there are two ways this can be done:

  1. Whenever an ontology term is mapped to a biolink term, make the ontology term a subclass of the biolink term. This will automatically make the reasoner create rdf:type links from instances to biolink terms.
  2. Whenever an ontology term is mapped to a biolink term, create a SWRL rule which causes the reasoner to link individuals to biolink terms with some other custom relation.

So basically my question is, do you want to distinguish connections from instances to biolink terms from other ontology types they have (do we need to use a different relation)?