Question: How many German states are with the most death or are the twinned administrative body of Western Cape ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of Germany" .  { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> "death" .  } UNION { ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Western Cape" .  } }
Program:
function: Find
inputs: death
function: Relate
dependencies: 0
inputs: properties for this type
forward
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: Find
inputs: Western Cape
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 4
inputs: state of Germany
function: Or
dependencies: 2
5
function: Count
dependencies: 6