What is {educated at} of {Leon Festinger} and {academic major}
When did child of Louis VIII of France and date of birth?
When did child of Louis VIII of France and date of birth?
SELECT ?d ?p WHERE { ?b property:academic_major ?d . . resource:Leon_Festinger property:educated_at ?b . ?b property:educated_at ?p }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q315916> . ?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:Q315916 p:P69 ?s . ?s ps:P69 ?obj . ?s pq:P812 ?value1 . }