Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] transitive inference in sparql queries

Olivier Dameron olivier.dameron at
Mon Apr 7 15:15:41 PDT 2014

   I have a need for transitive inference in sparql queries (e.g.
retrieving all the superclasses of a class). The classic path-based
approach (rdfs:subClassOf*) does not seem to work:

PREFIX rdfs: <>
PREFIX skos: <>
PREFIX obol: <>
PREFIX do: <>
PREFIX omim: <>

SELECT ?anc ?label
    ?source obol:xref	omim:114500 .
    ?source rdfs:subClassOf* ?anc .
    ?anc rdfs:label ?label

However, a previous email by Ray suggests that this is possible:

Am I missing something?
thank you

More information about the bioontology-support mailing list