What is the {comics character} for {sidekick of} of {Batman}
Who is the sidekick of Batman?
Who is the sidekick of Batman?
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:comics_character . ?s property:sidekick_of resource:Batman }
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/P2546> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2695156> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q1114461> } 
 select distinct ?sbj where { ?sbj wdt:P2546 wd:Q2695156 . ?sbj wdt:P31 wd:Q1114461 } 
Barbara Gordon Stephanie Brown Cassandra Cain Dick Grayson Damian Wayne Tim Drake Jason Todd Bluebird Arkham Knight Robin