Question: Which association football club has Mark Williams (the one that is a member of St. Mirren F.C.) and David Robb (the one that died in Burnley) as members?
Choices:
Roda JC Kerkrade
Zamalek SC
St. Mirren F.C.
Preston North End F.C.
Dundee F.C.
Stade Brestois 29
Arbroath F.C.
Middlesbrough F.C.
Chesterfield F.C.
Brisbane Roar FC
Program:
function: Find
inputs: St. Mirren F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Mark Williams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: FilterConcept
dependencies: 4
inputs: association football club
function: Find
inputs: Burnley
function: Relate
dependencies: 6
inputs: place of death
backward
function: Find
inputs: David Robb
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: member of sports team
forward
function: FilterConcept
dependencies: 10
inputs: association football club
function: And
dependencies: 5
11
function: What
dependencies: 12
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> "Mark Williams" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "St. Mirren F.C." .  ?e_3 <member_of_sports_team> ?e . ?e_3 <pred:name> "David Robb" . ?e_3 <place_of_death> ?e_4 . ?e_4 <pred:name> "Burnley" .  }
Answer: Arbroath F.C.