Question: How many regions of France are located in France or have the NUTS code of FR92?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of France" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "France" .  } UNION { ?e <NUTS_code> ?pv . ?pv <pred:value> "FR92" .  } }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: region of France
function: FindAll
function: FilterStr
dependencies: 3
inputs: NUTS code
FR92
function: FilterConcept
dependencies: 4
inputs: region of France
function: Or
dependencies: 2
5
function: Count
dependencies: 6