Question: Which person is Dwyane Wade's (the marriage place of this statement is Miami) spouse?
Choices:
William Henry Harrison
Rahul Dev Burman
Simon Cowell
Max Fleischer
Richard Gere
James E. Reilly
Sylvester Stallone
Gabrielle Union
Dwyane Wade
David Byrne
Program:
function: Find
inputs: Dwyane Wade
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterStr
dependencies: 1
inputs: place of marriage
Miami
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Dwyane Wade" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <place_of_marriage> ?qpv . ?qpv <pred:value> "Miami" .  }
Answer: Gabrielle Union