Question: How many popular musics are a facet of The Moody Blues or have an inception time not in 1979?
Choices:
110
111
112
113
114
115
116
117
118
119
Answer: 115
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "popular music" .  { ?e <facet_of> ?e_1 . ?e_1 <pred:name> "The Moody Blues" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1979 ) .  } }
Program:
function: Find
inputs: The Moody Blues
function: Relate
dependencies: 0
inputs: facet of
backward
function: FilterConcept
dependencies: 1
inputs: popular music
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1979
!=
function: FilterConcept
dependencies: 4
inputs: popular music
function: Or
dependencies: 2
5
function: Count
dependencies: 6