Question: How many London areas have the OS grid reference TQ275775 or are the death place of Jimi Hendrix (who influenced The Who)?
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> "area of London" .  { ?e <OS_grid_reference> ?pv . ?pv <pred:value> "TQ275775" .  } UNION { ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Jimi Hendrix" . ?e_2 <influenced_by> ?e_1 . ?e_2 <pred:name> "The Who" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OS grid reference
TQ275775
function: FilterConcept
dependencies: 1
inputs: area of London
function: Find
inputs: The Who
function: Relate
dependencies: 3
inputs: influenced by
forward
function: Find
inputs: Jimi Hendrix
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: place of death
forward
function: FilterConcept
dependencies: 7
inputs: area of London
function: Or
dependencies: 2
8
function: Count
dependencies: 9