Question: How many sports seasons are related to the sport baseball or have a beginning date that is not in 1980?
Choices:
53
54
55
56
57
58
59
60
61
62
Answer: 58
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sports season" .  { ?e <sport> ?e_1 . ?e_1 <pred:name> "baseball" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1980 ) .  } }
Program:
function: Find
inputs: baseball
function: Relate
dependencies: 0
inputs: sport
backward
function: FilterConcept
dependencies: 1
inputs: sports season
function: FindAll
function: FilterYear
dependencies: 3
inputs: point in time
1980
!=
function: FilterConcept
dependencies: 4
inputs: sports season
function: Or
dependencies: 2
5
function: Count
dependencies: 6