Question: What is the nickname for the association football club that has Adam Smith (the one that is a member of Millwall F.C.) as a member (the number of points of this statement is 2)?
Choices:
the Big O
Мать городов русских
Der Club
ACA
The Dons
Old Dominion
Baires
The Glovers
The Candystripes
Rossoneri
Program:
function: Find
inputs: Millwall 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: nickname
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> "Millwall 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 <nickname> ?pv .  }
Answer: The Dons