Question: How many first-level administrative country subdivisions we know  whose ISO 3166-2 code is MY-08 or that comprise twinned administrative body of Tokyo (formation location of Shochiku) ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Shochiku
function: Relate
dependencies: 0
inputs: location of formation
forward
function: Find
inputs: Tokyo
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 4
inputs: first-level administrative country subdivision
function: FindAll
function: FilterStr
dependencies: 6
inputs: ISO 3166-2 code
MY-08
function: FilterConcept
dependencies: 7
inputs: first-level administrative country subdivision
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" .  { ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Tokyo" . ?e_2 <location_of_formation> ?e_1 . ?e_2 <pred:name> "Shochiku" .  } UNION { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "MY-08" .  } }
Answer: 2