SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/rank> <http://dbpedia.org/resource/Colonel_(United_States)> . ?uri <http://dbpedia.org/property/spouse> <http://dbpedia.org/resource/Dolley_Madison> . }
Which colonel consort is Dolley Madison?
SELECT DISTINCT ?j WHERE { ?j property:rank resource:Colonel_(_United_States) . ?j property:spouse resource:Dolley_Madison . }
James Madison
[James Madison] is the colonel and partner of Dolley Madison.
[James Madison] is a colonel and spouse of Day Madison.