What is {academic major} and {educated at} of {{Paolo Gentiloni} has {academic degree} as {Laurea magistrale (Italy)}}
What was the major of Paolo Gentiloni and when did he graduate as Laurea magistrate (Italy)?
Where did Paolo Gentiloni graduate as Laurea magistrale (Italy) and what was his major?
SELECT ?z ?h WHERE { ?u property:educated_at ?h . ?u property:academic_major ?z . resource:Paolo_Gentiloni property:academic_degree ?u . ?u property:academic_degree resource:laurea_magistrale }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1071031> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P512> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q4000966>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q1071031 p:P512 ?s . ?s ps:P512 wd:Q4000966 . ?s pq:P812 ?value1 . ?s pq:P69 ?value2 }