Question: Franz Liszt is buried or Pierre Boulez died in how many independent German cities?
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> "independent city of Germany" .  { ?e_1 <place_of_burial> ?e . ?e_1 <pred:name> "Franz Liszt" .  } UNION { ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Pierre Boulez" .  } }
Program:
function: Find
inputs: Franz Liszt
function: Relate
dependencies: 0
inputs: place of burial
forward
function: FilterConcept
dependencies: 1
inputs: independent city of Germany
function: Find
inputs: Pierre Boulez
function: Relate
dependencies: 3
inputs: place of death
forward
function: FilterConcept
dependencies: 4
inputs: independent city of Germany
function: Or
dependencies: 2
5
function: Count
dependencies: 6