Question: How many activities have a Richard Wright (the one that is educated at Glasgow School of Art) movement or a publication date not in 1995?
Choices:
173
174
175
176
177
178
179
180
181
182
Answer: 181
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" .  { ?e_1 <movement> ?e . ?e_1 <pred:name> "Richard Wright" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "Glasgow School of Art" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1995 ) .  } }
Program:
function: Find
inputs: Glasgow School of Art
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Richard Wright
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: movement
forward
function: FilterConcept
dependencies: 4
inputs: activity
function: FindAll
function: FilterYear
dependencies: 6
inputs: publication date
1995
!=
function: FilterConcept
dependencies: 7
inputs: activity
function: Or
dependencies: 5
8
function: Count
dependencies: 9