Question: Scottsdale is the official name of which United States city?
Choices:
Waukegan
New Haven
Franklin
Naperville
Tucson
Little Rock
Warwick
Columbus
Scottsdale
Hilo
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Scottsdale
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <official_name> ?pv . ?pv <pred:value> "Scottsdale" .  }
Answer: Scottsdale