Question: How many high schools are there that either Ellen Barkin or Paul Riser attended?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "high school" .  { ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Ellen Barkin" .  } UNION { ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Paul Reiser" .  } }
Program:
function: Find
inputs: Ellen Barkin
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: high school
function: Find
inputs: Paul Reiser
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: high school
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2