Question: What is the official name of the association football club that has a member named Adam Smith (who is a member of Milton Keynes Dons F.C.) having scored 2 points?
Choices:
Meidericher Spielverein von 1902 e. V.
République de Pologne
Milton Keynes Dons Football Club
Delft
Freie und Hansestadt Hamburg
Sportvereniging Roda Juliana Combinatie Kerkrade
Jamaica
St. John's
the United States of America
Türkmenistan
Program:
function: Find
inputs: Milton Keynes Dons F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Adam Smith
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: QFilterNum
dependencies: 4
inputs: number of points/goals/set scored
2
=
function: FilterConcept
dependencies: 5
inputs: association football club
function: QueryAttr
dependencies: 6
inputs: official name
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Adam Smith" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Milton Keynes Dons F.C." .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e ] <number_of_points/goals/set_scored> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "2"^^xsd:double . ?e <official_name> ?pv .  }
Answer: Milton Keynes Dons Football Club