Question: How many high schools are the educational sites of Ron Silver or have an establishment date that is after 1778?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
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> "Ron Silver" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1778 ) .  } }
Program:
function: Find
inputs: Ron Silver
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: high school
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1778
>
function: FilterConcept
dependencies: 4
inputs: high school
function: Or
dependencies: 2
5
function: Count
dependencies: 6