Question: What is the number of art schools that were incepted in a year other than 1989 or that is part of University of North Dakota
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 11
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 != 1989 ) .  } UNION { ?e_1 <has_part> ?e . ?e_1 <pred:name> "University of North Dakota" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1989
!=
function: FilterConcept
dependencies: 1
inputs: art school
function: Find
inputs: University of North Dakota
function: Relate
dependencies: 3
inputs: has part
forward
function: FilterConcept
dependencies: 4
inputs: art school
function: Or
dependencies: 2
5
function: Count
dependencies: 6