What is {educated at} of {Narendra Modi} and {academic degree}
Where was the education given to Narendra Modi and what academic degree was earned?
Where was Narendra Modi educated and what academic degree was earned?
SELECT ?c ?q WHERE { resource:Narendra_Modi property:educated_at ?f . ?f property:educated_at ?q . ?f property:academic_degree ?c . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1058> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P69> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q1058 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P512 ?value1 . }