Question: Which person lives in Windsor (the one whose country is United Kingdom) (the point in time of this statement is 1990)?
Choices:
David Byrne
Michael Caine
Simon Cowell
Jimmy Page
Richard Gere
James E. Reilly
Billy Connolly
Max Fleischer
Sylvester Stallone
Rahul Dev Burman
Answer: Billy Connolly
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <residence> ?e_1 . ?e_1 <pred:name> "Windsor" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "United Kingdom" .  [ <pred:fact_h> ?e ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 1990 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Windsor
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: residence
backward
function: QFilterYear
dependencies: 4
inputs: point in time
1990
=
function: FilterConcept
dependencies: 5
inputs: human
function: What
dependencies: 6