SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/relative> <http://dbpedia.org/resource/David_Hume> . ?x <http://dbpedia.org/property/education> ?uri . }
Where did the relatives of David Hume study?
SELECT DISTINCT ?p WHERE { ?w property:education ?p . . ?w property:relative resource:David_Hume }
Yale University
The university where the relative of David Hume studied is [Yale University].
The university where David Hume's relative studied is [Yale University].
The university where the relative of David Hume studied is [Yale University].
The university where David Hume's relative studied is [Yale University].