Question: Which US city has postal code 93009 (the country of this statement is United States of America)?
Choices:
Oakland
New Haven
Compton
Columbus
Ventura
Franklin
Waukegan
Boulder
Englewood
Olympia
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
93009
function: QFilterStr
dependencies: 1
inputs: country
United States of America
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <postal_code> ?pv . ?pv <pred:value> "93009" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv . ?qpv <pred:value> "United States of America" .  }
Answer: Ventura