Question: What is the number of states Germany whose population is equal to 700000000 or that is a common property of death ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "700000000"^^xsd:double .  } UNION { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> "death" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
700000000
=
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: Find
inputs: death
function: Relate
dependencies: 3
inputs: properties for this type
forward
function: FilterConcept
dependencies: 4
inputs: state of Germany
function: Or
dependencies: 2
5
function: Count
dependencies: 6