Question: What association football club has a headquarters location in the city with a native label of Leipzig?
Choices:
Gaziantepspor
Leipzig University
RB Leipzig
Sevilla FC
Portsmouth F.C.
Barnet F.C.
Sporting Cristal
Danubio F.C.
A.E.K. Athens F.C.
Perth Glory FC
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Leipzig
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: FilterConcept
dependencies: 3
inputs: association football club
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <native_label> ?pv . ?pv <pred:value> "Leipzig" .   }
Answer: RB Leipzig