Question: Which association football club has John Spencer (the one whose height is 170 centimetre) as a member (the end time of this statement is 1992)?
Choices:
Roda JC Kerkrade
Chelsea F.C.
Rangers F.C.
Stade Brestois 29
Brisbane Roar FC
Zamalek SC
Everton F.C.
Middlesbrough F.C.
Hibernian F.C.
Greenock Morton F.C.
Program:
function: Find
inputs: John Spencer
function: FilterNum
dependencies: 0
inputs: height
170 centimetre
=
function: Relate
dependencies: 1
inputs: member of sports team
forward
function: QFilterYear
dependencies: 2
inputs: end time
1992
=
function: FilterConcept
dependencies: 3
inputs: association football club
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "John Spencer" . ?e_1 <height> ?pv . ?pv <pred:unit> "centimetre" . ?pv <pred:value> "170"^^xsd:double .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1992 .  }
Answer: Rangers F.C.