Question: Which office holder owes its allegiance to a state whose capital town is Jamestown, Virginia?
SPARQL query: SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/capital> <http://dbpedia.org/resource/Jamestown,_Virginia> . ?uri <http://dbpedia.org/property/allegiance> ?x  . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/OfficeHolder>}
Answer: The office holder whose state that owes his allegiance has Jamestown, Virginia as a capital is [James Madison].