Question: Tell me the person who is Katy Perry's spouse
Choices:
Bruce Cohen
Colleen Dewhurst
Max Fleischer
Marilyn Monroe
Sylvester Stallone
Richard Gere
William Henry Harrison
Rebecca Romijn
Arthur Rankin Jr.
Russell Brand
Program:
function: Find
inputs: Katy Perry
function: Relate
dependencies: 0
inputs: spouse
forward
function: FilterConcept
dependencies: 1
inputs: human
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Katy Perry" .   }
Answer: Russell Brand