Question: How many art schools were established after 1958 or originated in the United Kingdom?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "art school" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1958 ) .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1958
>
function: FilterConcept
dependencies: 1
inputs: art school
function: Find
inputs: United Kingdom
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: art school
function: Or
dependencies: 2
5
function: Count
dependencies: 6