What is the {mythological dog} for {killed by} of {Heracles}
Which is the legendary puppy that was murdered by Heracles?
Which is the mythical dog that was killed by Heracles?
SELECT DISTINCT ?t WHERE { ?t property:killed_by resource:Heracles . ?t rdf:type ontology:mythological_dog }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P157> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q122248> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q30307328> } 
 select distinct ?sbj where { ?sbj wdt:P157 wd:Q122248 . ?sbj wdt:P31 wd:Q30307328 } 
Orthrus