Question: Defender Michael Madsen played 13 games as a member of which soccer club?
Choices:
Dunfermline Athletic F.C.
Roda JC Kerkrade
Hibernian F.C.
Lyngby Boldklub
F.C. Bari 1908
Middlesbrough F.C.
VfL Wolfsburg
Zamalek SC
Brisbane Roar FC
Preston North End F.C.
Program:
function: Find
inputs: defender
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Michael Madsen
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
13
=
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> "Michael Madsen" . ?e_1 <position_played_on_team_/_speciality> ?e_2 . ?e_2 <pred:name> "defender" .  [ <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> "13"^^xsd:double .  }
Answer: Lyngby Boldklub