What is {headquarters location} of {University of Paris VI: Pierre-and-Marie-Curie University} that is {country} is {France} ?
IN PARIS
Where in France is the headquarters of Pierre and Marie Curie University?
SELECT ?d WHERE { resource:Pierre_and_Marie_Curie_University property:headquarters_location ?c . ?c property:headquarters_location ?d . ?c property:country resource:France }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1144549> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P159> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P17> <http://wikidata.dbpedia.org/resource/Q142>
} 

SELECT ?obj WHERE { wd:Q1144549 p:P159 ?s . ?s ps:P159 ?obj . ?s pq:P17 wd:Q142 }