RTXteam / RTX-KG2

Build system for the RTX-KG2 biomedical knowledge graph, part of the ARAX reasoning system (https://github.com/RTXTeam/RTX)
MIT License
39 stars 8 forks source link

Some Inverse Node Pairs are Listed as a `biolink:subclass_of` Relationship #97

Open ecwood opened 3 years ago

ecwood commented 3 years ago

They have the relation rdfs:subPropertyOf, but the relation label inverse_of. However, due to their relation, they are being mapped to biolink:subclass_of:

match ()-[e {relation: "rdfs:subPropertyOf"}]->() return e.relation_label, e.knowledge_source, count(e)
e.relation_label e.knowledge_source count(e)
"sub_property_of" ["infores:biolink-ontology"] 583
"inverse_of" ["infores:biolink-ontology"] 70
"sub_property_of" ["infores:fma-obo"] 3
"sub_property_of" ["infores:cl", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:ino", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro", "infores:uberon"] 4
"sub_property_of" ["infores:cl", "infores:disease-ontology", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:ro"] 1
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:uberon"] 1
"sub_property_of" ["infores:cl", "infores:efo", "infores:go-plus", "infores:hpo", "infores:ino", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro", "infores:uberon"] 1
"sub_property_of" ["infores:go-plus", "infores:hpo", "infores:mondo", "infores:ro"] 3
"inverse_of" ["infores:go-plus", "infores:hpo", "infores:mondo", "infores:ro"] 1
"sub_property_of" ["infores:go-plus", "infores:ro"] 48
"sub_property_of" ["infores:cl", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro", "infores:uberon"] 10
"sub_property_of" ["infores:cl", "infores:hpo", "infores:mondo", "infores:nbo", "infores:ro", "infores:uberon"] 25
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro", "infores:uberon"] 52
"sub_property_of" ["infores:cl", "infores:disease-ontology", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro"] 1
"inverse_of" ["infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro", "infores:uberon"] 1
"inverse_of" ["infores:cl", "infores:hpo", "infores:mondo", "infores:nbo", "infores:ro", "infores:uberon"] 4
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:ro", "infores:uberon"] 17
"sub_property_of" ["infores:cl", "infores:foodon", "infores:genepio", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro", "infores:uberon"] 1
"inverse_of" ["infores:cl", "infores:genepio", "infores:ino", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro", "infores:uberon"] 1
"sub_property_of" ["infores:cl", "infores:foodon", "infores:genepio", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:ro", "infores:uberon"] 1
"sub_property_of" ["infores:cl", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:ino", "infores:mondo", "infores:nbo", "infores:ro", "infores:uberon"] 4
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:ino", "infores:mondo", "infores:nbo", "infores:ro", "infores:uberon"] 4
"sub_property_of" ["infores:cl", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:ro", "infores:uberon"] 2
"sub_property_of" ["infores:disease-ontology"] 8
"sub_property_of" ["infores:cl", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:ro"] 3
"sub_property_of" ["infores:cl", "infores:foodon", "infores:hpo", "infores:mondo", "infores:nbo", "infores:ro", "infores:uberon"] 3
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:ino", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro", "infores:uberon"] 34
"inverse_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:ino", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro", "infores:uberon"] 5
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:nbo", "infores:uberon"] 1
"inverse_of" ["infores:hpo", "infores:mondo", "infores:ro", "infores:uberon"] 1
"inverse_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro", "infores:uberon"] 3
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:uberon"] 19
"sub_property_of" ["infores:cl", "infores:disease-ontology", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro", "infores:uberon"] 1
"sub_property_of" ["infores:cl", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro"] 3
"sub_property_of" ["infores:hpo", "infores:mondo", "infores:ro"] 9
"sub_property_of" ["infores:cl", "infores:hpo", "infores:mondo", "infores:ro", "infores:uberon"] 2
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:ro", "infores:uberon"] 2
"sub_property_of" ["infores:cl", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:ino", "infores:mondo", "infores:ro", "infores:uberon"] 2
"sub_property_of" ["infores:foodon", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:ro"] 1
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:pato", "infores:ro", "infores:uberon"] 3
"sub_property_of" ["infores:bspo", "infores:cl", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:uberon"] 5
"sub_property_of" ["infores:bspo", "infores:go-plus", "infores:uberon"] 1
"sub_property_of" ["infores:bspo", "infores:cl", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:uberon"] 10
"sub_property_of" ["infores:bspo", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:uberon"] 2
"inverse_of" ["infores:cl", "infores:efo", "infores:hpo", "infores:mondo", "infores:nbo", "infores:ro", "infores:uberon"] 1
"inverse_of" ["infores:cl", "infores:genepio", "infores:hpo", "infores:mondo", "infores:ro"] 1
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:uberon"] 2
"inverse_of" ["infores:ro"] 47
"sub_property_of" ["infores:ro"] 304
"sub_property_of" ["infores:cl", "infores:ro"] 8
"sub_property_of" ["infores:foodon", "infores:ro"] 2
"inverse_of" ["infores:hpo", "infores:mondo", "infores:ro"] 2
"sub_property_of" ["infores:cl", "infores:hpo", "infores:mondo", "infores:nbo", "infores:ro"] 8
"inverse_of" ["infores:cl", "infores:ro"] 4
"inverse_of" ["infores:mondo", "infores:ro"] 4
"sub_property_of" ["infores:mondo", "infores:ro"] 23
"sub_property_of" ["infores:cl", "infores:hpo", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro"] 3
"sub_property_of" ["infores:cl", "infores:hpo"] 4
"sub_property_of" ["infores:disease-ontology", "infores:ro"] 3
"sub_property_of" ["infores:disease-ontology", "infores:foodon", "infores:ro"] 3
"inverse_of" ["infores:cl", "infores:hpo", "infores:mondo", "infores:ro"] 1
"inverse_of" ["infores:bspo", "infores:cl", "infores:go-plus", "infores:hpo", "infores:nbo", "infores:uberon"] 1
"inverse_of" ["infores:bspo", "infores:uberon"] 3
"inverse_of" ["infores:bspo"] 2
"inverse_of" ["infores:cl", "infores:go-plus", "infores:mondo", "infores:nbo"] 1
"sub_property_of" ["infores:efo"] 15
"sub_property_of" ["infores:cl", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:ro", "infores:uberon"] 1
"inverse_of" ["infores:cl", "infores:hpo", "infores:ino", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro", "infores:uberon"] 2
"sub_property_of" ["infores:cl", "infores:efo", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:ino", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro"] 2
"inverse_of" ["infores:bspo", "infores:cl", "infores:efo", "infores:go-plus", "infores:hpo", "infores:ino", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro"] 1
"inverse_of" ["infores:cl", "infores:go-plus", "infores:ino", "infores:ro"] 1
"inverse_of" ["infores:cl", "infores:genepio", "infores:go-plus", "infores:hpo", "infores:ino", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro", "infores:uberon"] 3
"inverse_of" ["infores:cl", "infores:hpo", "infores:mondo", "infores:pato", "infores:ro", "infores:uberon"] 1
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:ino", "infores:mondo", "infores:nbo", "infores:pato", "infores:uberon"] 1
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:nbo", "infores:ro"] 1
"sub_property_of" ["infores:go-plus", "infores:ino", "infores:ro"] 4
"sub_property_of" ["infores:go-plus", "infores:ino", "infores:mondo", "infores:ro"] 2
"sub_property_of" ["infores:ino", "infores:ro", "infores:uberon"] 2
"sub_property_of" ["infores:go-plus", "infores:uberon"] 2
"inverse_of" ["infores:go-plus", "infores:ino", "infores:mondo", "infores:ro"] 1
"sub_property_of" ["infores:cl", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:ro"] 1
"sub_property_of" ["infores:cl", "infores:hpo", "infores:mondo", "infores:ro"] 2
"sub_property_of" ["infores:hpo", "infores:ro"] 5
"sub_property_of" ["infores:cl", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:ino", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro"] 1
"sub_property_of" ["infores:cl", "infores:foodon", "infores:genepio", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:ro", "infores:uberon"] 1
"sub_property_of" ["infores:cl", "infores:nbo"] 3
"sub_property_of" ["infores:cl", "infores:efo", "infores:foodon", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:ro", "infores:uberon"] 1
"sub_property_of" ["infores:disease-ontology", "infores:ino"] 1
"inverse_of" ["infores:cl", "infores:mondo", "infores:ro"] 1
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro"] 1
"inverse_of" ["infores:cl", "infores:hpo", "infores:pato", "infores:ro", "infores:uberon"] 1
"sub_property_of" ["infores:cl", "infores:go-plus", "infores:hpo", "infores:ino", "infores:mondo", "infores:nbo", "infores:pato", "infores:ro"] 1
"sub_property_of" ["infores:go-plus"] 5
"sub_property_of" ["infores:bspo", "infores:uberon"] 2
"sub_property_of" ["infores:uberon"] 2
"sub_property_of" ["infores:go-plus", "infores:hpo", "infores:mondo", "infores:uberon"] 1
"inverse_of" ["infores:cl", "infores:nbo"] 1
"sub_property_of" ["infores:cl", "infores:disease-ontology", "infores:hpo", "infores:mondo", "infores:nbo", "infores:ro"] 1
"sub_property_of" ["infores:disease-ontology", "infores:mondo", "infores:ro"] 5
"sub_property_of" ["infores:disease-ontology", "infores:efo", "infores:mondo", "infores:ro"] 1
"inverse_of" ["infores:efo", "infores:mondo", "infores:ro"] 1
"sub_property_of" ["infores:efo", "infores:mondo", "infores:ro"] 1
"sub_property_of" ["infores:ino", "infores:ro"] 10
"sub_property_of" ["infores:cl", "infores:mondo", "infores:ro"] 2
"sub_property_of" ["infores:mondo"] 1
"inverse_of" ["infores:hpo", "infores:mondo", "infores:nbo", "infores:ro", "infores:uberon"] 1
"inverse_of" ["infores:cl", "infores:hpo", "infores:ro", "infores:uberon"] 1
"sub_property_of" ["infores:cl", "infores:foodon", "infores:hpo", "infores:mondo", "infores:ro", "infores:uberon"] 1
"sub_property_of" ["infores:cl", "infores:foodon", "infores:hpo", "infores:ro"] 2
"inverse_of" ["infores:cl", "infores:hpo", "infores:ro"] 1
"sub_property_of" ["infores:hpo", "infores:uberon"] 3
"sub_property_of" ["infores:genepio"] 11
"sub_property_of" ["infores:cl", "infores:hpo", "infores:mondo", "infores:nbo", "infores:pato"] 2
"sub_property_of" ["infores:efo", "infores:mondo"] 1
"sub_property_of" ["infores:foodon", "infores:genepio"] 1
"sub_property_of" ["infores:cl", "infores:hpo", "infores:mondo"] 2
"sub_property_of" ["infores:foodon", "infores:mondo"] 2
"sub_property_of" ["infores:foodon"] 1
"sub_property_of" ["infores:pato"] 2
"sub_property_of" ["infores:bspo"] 7

Here's an example: image

ecwood commented 3 years ago

This may be related to #63