Question: What are number of music whose starting time is not in 1990 or that is the genre of Flight of the Conchords (the one whose inception time is 1998)
Choices:
137
138
139
140
141
142
143
144
145
146
Answer: 139
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "music" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1990 ) .  } UNION { ?e_1 <genre> ?e . ?e_1 <pred:name> "Flight of the Conchords" . ?e_1 <inception> ?pv . ?pv <pred:year> 1998 .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1990
!=
function: FilterConcept
dependencies: 1
inputs: music
function: Find
inputs: Flight of the Conchords
function: FilterYear
dependencies: 3
inputs: inception
1998
=
function: Relate
dependencies: 4
inputs: genre
forward
function: FilterConcept
dependencies: 5
inputs: music
function: Or
dependencies: 2
6
function: Count
dependencies: 7