Question: How many capitals have a population under 520000000 or are on the continent of Asia (demonym asiatiche)?
Choices:
41
42
43
44
45
46
47
48
49
50
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
520000000
<
function: FilterConcept
dependencies: 1
inputs: capital
function: Find
inputs: Asia
function: FilterStr
dependencies: 3
inputs: demonym
asiatiche
function: Relate
dependencies: 4
inputs: continent
backward
function: FilterConcept
dependencies: 5
inputs: capital
function: Or
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "520000000"^^xsd:double ) .  } UNION { ?e <continent> ?e_1 . ?e_1 <pred:name> "Asia" . ?e_1 <demonym> ?pv . ?pv <pred:value> "asiatiche" .  } }
Answer: 46