Question: What association football club has a member who is the person having the sport team number 99 and scoring 12 points?
Choices:
Leicester City F.C.
1. FC Kaiserslautern
Tamworth F.C.
Coritiba F.C.
Tranmere Rovers F.C.
Middlesbrough F.C.
Coventry City F.C.
Esporte Clube Bahia
FC Schalke 04
Stade Brestois 29
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: sport number
99
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: member of sports team
forward
function: QFilterNum
dependencies: 3
inputs: number of points/goals/set scored
12
=
function: FilterConcept
dependencies: 4
inputs: association football club
function: What
dependencies: 5
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:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <sport_number> ?pv . ?pv <pred:value> "99" .  [ <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> "12"^^xsd:double .  }
Answer: 1. FC Kaiserslautern