Question: Who has allegiance is Colony of Virginia and buried in Montpelier?
SPARQL query: SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/allegiance> <http://dbpedia.org/resource/Colony_of_Virginia> . ?uri <http://dbpedia.org/property/restingplace> <http://dbpedia.org/resource/Montpelier_(Orange,_Virginia)>  . }
Answer: [James Madison] is the person with allegiance in the Colony of Virginia and resting place in Montpelier.