Question: How many London areas are in the United Kingdom or correspond to local dialing code 020?
Choices:
15
16
17
18
19
20
21
22
23
24
Answer: 16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "area of London" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  } UNION { ?e <local_dialing_code> ?pv . ?pv <pred:value> "020" .  } }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: area of London
function: FindAll
function: FilterStr
dependencies: 3
inputs: local dialing code
020
function: FilterConcept
dependencies: 4
inputs: area of London
function: Or
dependencies: 2
5
function: Count
dependencies: 6