Question: I need to know the number of Summer Olympic Games that derive The History Boys or which has a point in time not in 1956.
Choices:
25
26
27
28
29
30
31
32
33
34
Answer: 26
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Summer Olympic Games" .  { ?e_1 <based_on> ?e . ?e_1 <pred:name> "The History Boys" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1956 ) .  } }
Program:
function: Find
inputs: The History Boys
function: Relate
dependencies: 0
inputs: based on
forward
function: FilterConcept
dependencies: 1
inputs: Summer Olympic Games
function: FindAll
function: FilterYear
dependencies: 3
inputs: point in time
1956
!=
function: FilterConcept
dependencies: 4
inputs: Summer Olympic Games
function: Or
dependencies: 2
5
function: Count
dependencies: 6