Question: Which person married Katy Perry in 2010?
Choices:
William Henry Harrison
Sylvester Stallone
David Byrne
Rahul Dev Burman
Simon Cowell
Russell Brand
Max Fleischer
John Krasinski
Megan Fox
Richard Gere
Program:
function: Find
inputs: Katy Perry
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterYear
dependencies: 1
inputs: start time
2010
=
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> "Katy Perry" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 2010 .  }
Answer: Russell Brand