Question: How many law schools were founded after 1858 or were child organizations of the University of California, Berkeley?
Choices:
13
14
15
16
17
18
19
20
21
22
Answer: 16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "law school" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1858 ) .  } UNION { ?e <parent_organization> ?e_1 . ?e_1 <pred:name> "University of California, Berkeley" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1858
>
function: FilterConcept
dependencies: 1
inputs: law school
function: Find
inputs: University of California, Berkeley
function: Relate
dependencies: 3
inputs: parent organization
backward
function: FilterConcept
dependencies: 4
inputs: law school
function: Or
dependencies: 2
5
function: Count
dependencies: 6