What is {public office} of {portrait of} of {The Last Supper} ?
WHERE IS THE PUBLIC OFFICE OF THE PORTRAIT IF THE LAST SUPPER?
WHERE IS THE PUBLIC OFFICE OF THE PORTRAIT IF THE LAST SUPPER?
SELECT ?l WHERE { ?e property:position_held ?l . resource:The_Last_Supper property:depicts ?e }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q128910> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P180>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q128910 wdt:P180 ?X . ?X wdt:P39 ?answer}
Apostle pope Apostle Catholic bishop Patriarch of Antioch Ecumenical Patriarch of Constantinople Apostle Apostle Apostle Apostle Apostle Apostle Apostle Apostle Apostle