Question: Which American state has an ISO 3166-2 code of US-OK?
Choices:
Colorado
North Carolina
Florida
Hawaii
Missouri
South Carolina
Iowa
Illinois
Oklahoma
New York
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
US-OK
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "US-OK" .  }
Answer: Oklahoma