What is {film director} of {Akira}, that has {first name} is {Katsuhiro} ?
"Which film executive of Akira, has the primary title Katsuhiro?"
"Which film director of Akira, has the first name Katsuhiro?"
SELECT ?g WHERE { resource:Akira property:director ?g . ?g property:given_name resource:Katsuhiro }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1905968> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P57>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P735> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q6378087> . }
SELECT ?answer WHERE { wd:Q1905968 wdt:P57 ?answer . ?answer wdt:P735 wd:Q6378087}
Katsuhiro Otomo