Question: How many Japanese prefectures are designated by Corporate Number (Japan) 7000020070009 or ISO 3166-2 code JP-12?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "prefecture of Japan" .  { ?e <Corporate_Number_(Japan)> ?pv . ?pv <pred:value> "7000020070009" .  } UNION { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "JP-12" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Corporate Number (Japan)
7000020070009
function: FilterConcept
dependencies: 1
inputs: prefecture of Japan
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISO 3166-2 code
JP-12
function: FilterConcept
dependencies: 4
inputs: prefecture of Japan
function: Or
dependencies: 2
5
function: Count
dependencies: 6