SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/allegiance> <http://dbpedia.org/resource/Colony_of_Virginia> . ?uri <http://dbpedia.org/property/rank> <http://dbpedia.org/resource/Colonel_(United_States)> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/OfficeHolder>}
Which colonel has allegiance to Colony of Virginia ?
SELECT DISTINCT ?d WHERE { ?d property:allegiance resource:Colony_of_Virginia . ?d property:rank resource:Colonel_(_United_States) . ?d rdf:type ontology:Office_Holder }
James Madison
The office holder whose allegiance is Colony of Virginia and rank is Colonel (United States) is [James Madison].
An office holder led by the Colony of Virginia, whose title is Colonel (United States) is [James Madison].
[James Madison] is the office holder whose allegiance is Colony of Virginia and rank is Colonel (the country).
[James Madison] is the office holder which allegiance is the Colony of Virginia and whose rank is Colonel (the country).