Question: How many Netherlands municipalities have pronunciation audio Nl-delft.ogg or are the twinned administrative body of Athens (whose population is 30969)?
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> "municipality of the Netherlands" .  { ?e <pronunciation_audio> ?pv . ?pv <pred:value> "Nl-delft.ogg" .  } UNION { ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Athens" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "30969"^^xsd:double .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: pronunciation audio
Nl-delft.ogg
function: FilterConcept
dependencies: 1
inputs: municipality of the Netherlands
function: Find
inputs: Athens
function: FilterNum
dependencies: 3
inputs: population
30969
=
function: Relate
dependencies: 4
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 5
inputs: municipality of the Netherlands
function: Or
dependencies: 2
6
function: Count
dependencies: 7