Question: How many high schools had Joseph L. Mankiewicz as a student or had a founding date prior to 1961?
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> "Joseph L. Mankiewicz" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1961 ) .  } }
Program:
function: Find
inputs: Joseph L. Mankiewicz
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: high school
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1961
<
function: FilterConcept
dependencies: 4
inputs: high school
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3