Skip to content

Instantly share code, notes, and snippets.

@gaurav
Created March 1, 2022 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gaurav/a3a51d2e8b0b8c6e75069b140db5284f to your computer and use it in GitHub Desktop.
Save gaurav/a3a51d2e8b0b8c6e75069b140db5284f to your computer and use it in GitHub Desktop.
Code to replicate error on Ubergraph
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix oboInOwl: <http://www.geneontology.org/formats/oboInOwl#>
SELECT ?cls ?pred ?val
from <http://reasoner.renci.org/ontology>
WHERE
{ ?cls ?pred ?val ;
a owl:Class .
FILTER (
?pred = oboInOwl:hasRelatedSynonym ||
?pred = oboInOwl:hasNarrowSynonym ||
?pred = oboInOwl:hasBroadSynonym ||
?pred = oboInOwl:hasExactSynonym
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment