Question: How many former French regions are located in France or have a native label of Bourgogne?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "France" .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> "Bourgogne" .  } }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: former French region
function: FindAll
function: FilterStr
dependencies: 3
inputs: native label
Bourgogne
function: FilterConcept
dependencies: 4
inputs: former French region
function: Or
dependencies: 2
5
function: Count
dependencies: 6