Question: What Canadian province has a ISO 3166-2 code of CA-AB?
Choices:
Newfoundland and Labrador
Manitoba
Ontario
Saskatchewan
Quebec
British Columbia
New Brunswick
Alberta
Prince Edward Island
Nova Scotia
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
CA-AB
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Canada" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "CA-AB" .  }
Answer: Alberta