Question: Which association-football club has John Osborne (the one whose date of death is 1998-11-07) as a member (the number of games played of this statement is 3)?
Choices:
Preston North End F.C.
Walsall F.C.
Hibernian F.C.
Stade Brestois 29
Middlesbrough F.C.
Brisbane Roar FC
Shamrock Rovers F.C.
Chesterfield F.C.
Zamalek SC
Roda JC Kerkrade
Program:
function: Find
inputs: John Osborne
function: FilterDate
dependencies: 0
inputs: date of death
1998-11-07
=
function: Relate
dependencies: 1
inputs: member of sports team
forward
function: QFilterNum
dependencies: 2
inputs: number of matches played/races/starts
3
=
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 Osborne" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1998-11-07"^^xsd:date .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "3"^^xsd:double .  }
Answer: Walsall F.C.