Question: How many Canadian provinces are either officially named Prince Edward Island or are designated by FIPS 10-4 (countries and regions) code CA10?
Choices:
2
3
4
5
6
7
8
9
10
11
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Prince Edward Island
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: FindAll
function: FilterStr
dependencies: 3
inputs: FIPS 10-4 (countries and regions)
CA10
function: FilterConcept
dependencies: 4
inputs: province of Canada
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Canada" .  { ?e <official_name> ?pv . ?pv <pred:value> "Prince Edward Island" .  } UNION { ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "CA10" .  } }
Answer: 2