Question: What number of Chinese provinces are administrative divisions of the People's Republic of China or have a population equaling 5100000?
Choices:
12
13
14
15
16
17
18
19
20
21
Answer: 15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of China" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "5100000"^^xsd:double .  } UNION { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "People's Republic of China" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
5100000
=
function: FilterConcept
dependencies: 1
inputs: province of China
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: province of China
function: Or
dependencies: 2
5
function: Count
dependencies: 6