Question: What association football club has a member named Gordon Brown (that was born in Dunfermline) having played 137 games?
Choices:
Gillingham F.C.
Roda JC Kerkrade
Newport County A.F.C.
Blackburn Rovers F.C.
Zamalek SC
Brisbane Roar FC
Stade Brestois 29
S.C. Braga
Middlesbrough F.C.
Hibernian F.C.
Program:
function: Find
inputs: Dunfermline
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Gordon Brown
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: QFilterNum
dependencies: 4
inputs: number of matches played/races/starts
137
=
function: FilterConcept
dependencies: 5
inputs: association football club
function: What
dependencies: 6
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> "Gordon Brown" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> "Dunfermline" .  [ <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> "137"^^xsd:double .  }
Answer: Newport County A.F.C.