What is the {human} for {chief executive officer} of {Qantas}
Who is the CEO of Qantas?
Who is the CEO of Qantas?
SELECT DISTINCT ?n WHERE { resource:Qantas property:chief_executive_officer ?n . ?n rdf:type ontology:human }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q32491> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P169> . ?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/Q5> } 
 select distinct ?obj where { wd:Q32491 wdt:P169 ?obj . ?obj wdt:P31 wd:Q5 } 
Alan Joyce