What is the {superhero} for {said to be the same as} of {Goofy}
[]
Who is the superhero that is said to be the same as Goofy?
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:superhero . resource:Goofy property:said_to_be_the_same_as ?q }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q111135> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P460> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q188784> } 
 select distinct ?obj where { wd:Q111135 wdt:P460 ?obj . ?obj wdt:P31 wd:Q188784 } 
Super Goof