Question: How many art movements are in the classics field or were founded in a year other than 1890?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "art movement" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1890 ) .  } UNION { ?e <field_of_work> ?e_1 . ?e_1 <pred:name> "classics" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1890
!=
function: FilterConcept
dependencies: 1
inputs: art movement
function: Find
inputs: classics
function: Relate
dependencies: 3
inputs: field of work
backward
function: FilterConcept
dependencies: 4
inputs: art movement
function: Or
dependencies: 2
5
function: Count
dependencies: 6