Question: How many literary works have an inception time outside of 1885 or have the title 'The Lost Weekend'?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1885
!=
function: FilterConcept
dependencies: 1
inputs: literary work
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
The Lost Weekend
function: FilterConcept
dependencies: 4
inputs: literary work
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1885 ) .  } UNION { ?e <title> ?pv . ?pv <pred:value> "The Lost Weekend" .  } }
Answer: 7