Question: What U.S. city has Dewey Decimal Classification 2--79452 and postal code 94589–94592?
Choices:
Franklin
New Haven
Fairfield
Greenville
Vallejo
Lansing
Oakland
Boulder
Waukegan
Columbus
Answer: Vallejo
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--79452" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "94589–94592" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--79452
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
94589–94592
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6