Question: What is the demonym for the city whose postal code is LA1?
Choices:
Virginian
גרנדי
benines
Egypťané
Sanmarinänan
Lancastrian
porto-alegrense
letons
dominikaner
eritree
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
LA1
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttr
dependencies: 2
inputs: demonym
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "LA1" . ?e <demonym> ?pv .  }
Answer: Lancastrian