Question: How many territories in Italy are the twinned administrative body of Bethlehem (that is the twinned administrative body of Brescia) or have citizens called the marchigiana people?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Brescia
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Bethlehem
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 4
inputs: region of Italy
function: FindAll
function: FilterStr
dependencies: 6
inputs: demonym
marchigiana
function: FilterConcept
dependencies: 7
inputs: region of Italy
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> "region of Italy" .  { ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Bethlehem" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Brescia" .  } UNION { ?e <demonym> ?pv . ?pv <pred:value> "marchigiana" .  } }
Answer: 3