What is {worked for} of {Adriana Lima}, that has {office of head of government} is {Prime Minister of Serbia} ?
What's that?
What is it?
SELECT ?p WHERE { ?p property:office_held_by_head_of_government resource:Prime_Minister_of_Serbia . resource:Adriana_Lima property:employer ?p }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q151866> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P108>. ?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/P1313> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q835586> . }
SELECT ?answer WHERE { wd:Q151866 wdt:P108 ?answer . ?answer wdt:P1313 wd:Q835586}