whalebone is the parent of which organism?
Entity
m.08lrfn
Sir Hercules
class entity
biology.organism m.0h_9_gk
biology.organism biology.organism
Organism Whalebone
none none
biology.organism.parents
Parents
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :biology.organism . 
VALUES ?x1 { :m.0h_9_gk } 
?x0 :biology.organism.parents ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND biology.organism (JOIN biology.organism.parents m.0h_9_gk))