SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/rank> <http://dbpedia.org/resource/Colonel_(United_States)> . ?uri <http://dbpedia.org/property/restingplace> <http://dbpedia.org/resource/Montpelier_(Orange,_Virginia)> . }
Name a colonel whose resting place is Montpelier ?
SELECT DISTINCT ?v WHERE { ?v property:restingplace resource:Montpelier_(_Orange,_Virginia) . . ?v property:rank resource:Colonel_(_United_States) }
James Madison
[James Madison] is the Colonel buried in Montpelier.
[James Madison] is a colonel who was buried in Montpellier.