Question: Tell me the Academy Awards ceremony that comes after 48th Academy Awards or that has point in time other than 2007
Choices:
54
55
56
57
58
59
60
61
62
63
Answer: 63
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Academy Awards ceremony" .  { ?e <follows> ?e_1 . ?e_1 <pred:name> "48th Academy Awards" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2007 ) .  } }
Program:
function: Find
inputs: 48th Academy Awards
function: Relate
dependencies: 0
inputs: follows
backward
function: FilterConcept
dependencies: 1
inputs: Academy Awards ceremony
function: FindAll
function: FilterYear
dependencies: 3
inputs: point in time
2007
!=
function: FilterConcept
dependencies: 4
inputs: Academy Awards ceremony
function: Or
dependencies: 2
5
function: Count
dependencies: 6