Question: What number of capital of local dialing code 388 or its population smaller than 6800000?
Choices: 42
43
44
45
46
47
48
49
50
51
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" .  { ?e <local_dialing_code> ?pv . ?pv <pred:value> "388" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "6800000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
388
function: FilterConcept
dependencies: 1
inputs: capital
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
6800000
<
function: FilterConcept
dependencies: 4
inputs: capital
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 43