Question: What association football club's headquarters is located in Lima (that is the capital of Peru) and official website is https://www.clubsportingcristal.pe/ (in the Spanish language)?
Choices:
Roda JC Kerkrade
S.C. Braga
Brisbane Roar FC
Middlesbrough F.C.
C.F. Os Belenenses
Rochester Rhinos
Sporting Cristal
Preston North End F.C.
Hibernian F.C.
Zamalek SC
Program:
function: Find
inputs: Peru
function: Relate
dependencies: 0
inputs: capital of
backward
function: Find
inputs: Lima
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: association football club
function: FindAll
function: FilterStr
dependencies: 6
inputs: official website
https://www.clubsportingcristal.pe/
function: QFilterStr
dependencies: 7
inputs: language of work or name
Spanish
function: FilterConcept
dependencies: 8
inputs: association football club
function: And
dependencies: 5
9
function: What
dependencies: 10
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Lima" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> "Peru" .  ?e <official_website> ?pv . ?pv <pred:value> "https://www.clubsportingcristal.pe/" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_website> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "Spanish" .  }
Answer: Sporting Cristal