What is {educated at} of {Daniel McFadden} and {academic degree}
What and where did Daniel McFadden study?
What and where did Daniel McFadden study?
SELECT ?n ?m WHERE { ?t property:educated_at ?m . ?t property:academic_degree ?n . . resource:Daniel_McFadden property:educated_at ?t }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q312560> . ?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:Q312560 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P512 ?value1 . }