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