Question: How many contemporary folk music entities were created in a year other than 1998 or come from England, the one which contains Lancashire?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1998
!=
function: FilterConcept
dependencies: 1
inputs: contemporary folk music
function: Find
inputs: Lancashire
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: Find
inputs: England
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: country of origin
backward
function: FilterConcept
dependencies: 7
inputs: contemporary folk music
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "contemporary folk music" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1998 ) .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "England" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Lancashire" .  } }
Answer: 3