what is the {instance of} for {Joe Scarborough} has {educated at} as {primary school} ?
What was Joe Scarbourough's elementary school?
Which primary school did Joe Scarborough attend?
SELECT ?l WHERE { ?x property:educated_at resource:primary_school . ?x rdf:type ?l . resource:Joe_Scarborough property:educated_at ?x }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1280288> .
?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> <http://wikidata.dbpedia.org/resource/Q9842> .
?statement <http://www.wikidata.org/entity/P31> ?value. 
} 

SELECT ?value WHERE { wd:Q1280288 p:P69 ?s . ?s ps:P69 wd:Q9842 . ?s pq:P31 ?value}