Question: How many secondary schools did either Imelda Staunton attend or works in the performing arts?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Imelda Staunton
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: secondary school
function: Find
inputs: performing arts
function: Relate
dependencies: 3
inputs: field of work
backward
function: FilterConcept
dependencies: 4
inputs: secondary school
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "secondary school" .  { ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Imelda Staunton" .  } UNION { ?e <field_of_work> ?e_1 . ?e_1 <pred:name> "performing arts" .  } }
Answer: 2