SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/branch> <http://dbpedia.org/resource/Militia> . ?uri <http://dbpedia.org/property/rank> <http://dbpedia.org/resource/Colonel_(United_States)> . }
List the colonel with branch as Militia?
SELECT DISTINCT ?u WHERE { ?u property:branch resource:Militia . ?u property:rank resource:Colonel_(_United_States) . }
James Madison
The colonel whose branch is Militia is [James Madison].
The colonel whose unit is the police, [James Madison].