Question: How many market towns have a local dialing code of 01267 or are a twinned administrative body of Darmstadt?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "market town" .  { ?e <local_dialing_code> ?pv . ?pv <pred:value> "01267" .  } UNION { ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Darmstadt" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
01267
function: FilterConcept
dependencies: 1
inputs: market town
function: Find
inputs: Darmstadt
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 4
inputs: market town
function: Or
dependencies: 2
5
function: Count
dependencies: 6