Question: What association football club has members named Ricardo Fuller (having scored 5 points) and Colin Powell (who is the United Kingdom citizen)?
Choices:
Middlesbrough F.C.
Roda JC Kerkrade
Rochester Rhinos
S.C. Braga
Brisbane Roar FC
C.F. Os Belenenses
Charlton Athletic F.C.
Hibernian F.C.
Zamalek SC
Preston North End F.C.
Program:
function: Find
inputs: Ricardo Fuller
function: Relate
dependencies: 0
inputs: member of sports team
forward
function: QFilterNum
dependencies: 1
inputs: number of points/goals/set scored
5
=
function: FilterConcept
dependencies: 2
inputs: association football club
function: Find
inputs: United Kingdom
function: Relate
dependencies: 4
inputs: country of citizenship
backward
function: Find
inputs: Colin Powell
function: And
dependencies: 5
6
function: Relate
dependencies: 7
inputs: member of sports team
forward
function: FilterConcept
dependencies: 8
inputs: association football club
function: And
dependencies: 3
9
function: What
dependencies: 10
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> "Ricardo Fuller" .  [ <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> "5"^^xsd:double . ?e_2 <member_of_sports_team> ?e . ?e_2 <pred:name> "Colin Powell" . ?e_2 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "United Kingdom" .  }
Answer: Charlton Athletic F.C.