Question: Who is Claire Danes's (the marriage place of this statement is France) spouse?
Choices:
James E. Reilly
Paul Simon
Rahul Dev Burman
William Henry Harrison
Richard Gere
Simon Cowell
Sylvester Stallone
Hugh Dancy
Max Fleischer
Claire Danes
Program:
function: Find
inputs: Claire Danes
function: Relate
dependencies: 0
inputs: spouse
backward
function: QFilterStr
dependencies: 1
inputs: place of marriage
France
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 <spouse> ?e_1 . ?e_1 <pred:name> "Claire Danes" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <place_of_marriage> ?qpv . ?qpv <pred:value> "France" .  }
Answer: Hugh Dancy