Question: How many of Japan's prefectures has Japan as a country or was established after 1873?
Choices:
13
14
15
16
17
18
19
20
21
22
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: prefecture of Japan
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1873
>
function: FilterConcept
dependencies: 4
inputs: prefecture of Japan
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> "prefecture of Japan" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Japan" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1873 ) .  } }
Answer: 16