Question: What Canadian province has the Statistics Canada Geographic code of 47?
Choices:
New Brunswick
Quebec
Prince Edward Island
Ontario
British Columbia
Newfoundland and Labrador
Alberta
Manitoba
Saskatchewan
Nova Scotia
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Statistics Canada Geographic code
47
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 <Statistics_Canada_Geographic_code> ?pv . ?pv <pred:value> "47" .  }
Answer: Saskatchewan