Question: How many metro boroughs are the twinned administrative body of Luton or of Livorno?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" .  { ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Luton" .  } UNION { ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Livorno" .  } }
Program:
function: Find
inputs: Luton
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 1
inputs: metropolitan borough
function: Find
inputs: Livorno
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 4
inputs: metropolitan borough
function: Or
dependencies: 2
5
function: Count
dependencies: 6