Question: what is the city that has the zip code of 35121–35143 and that has a license plate code of PD
Choices:
Cairo
Santo Domingo
Bergen
Kingston
Padua
Abidjan
Trieste
Cork
Chihuahua
Kilkenny
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
35121–35143
function: FilterConcept
dependencies: 1
inputs: city
function: FindAll
function: FilterStr
dependencies: 3
inputs: licence plate code
PD
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <postal_code> ?pv . ?pv <pred:value> "35121–35143" . ?e <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> "PD" .  }
Answer: Padua