Question: For the headquarter-location city of the association football club that has Hugo (the one that is a member of Esporte Clube Bahia) as a member (the number of games played of this statement is 0), what city is it?
Choices:
Berlin
Salvador
Abidjan
Kilkenny
Hanoi
Kingston
Trieste
Santo Domingo
Bergen
Cork
Answer: Salvador
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "association football club" . ?e_2 <member_of_sports_team> ?e_1 . ?e_2 <pred:name> "Hugo" . ?e_2 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Esporte Clube Bahia" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <member_of_sports_team> ; <pred:fact_t> ?e_1 ] <number_of_matches_played/races/starts> ?qpv . ?qpv <pred:unit> "1" . ?qpv <pred:value> "0"^^xsd:double .   }
Program:
function: Find
inputs: Esporte Clube Bahia
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Hugo
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
0
=
function: FilterConcept
dependencies: 5
inputs: association football club
function: Relate
dependencies: 6
inputs: headquarters location
forward
function: FilterConcept
dependencies: 7
inputs: city
function: What
dependencies: 8