Question: How many novels have a publication date not in 1850 or have an OCLC control number of 221513427?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1850
!=
function: FilterConcept
dependencies: 1
inputs: novel
function: FindAll
function: FilterStr
dependencies: 3
inputs: OCLC control number
221513427
function: FilterConcept
dependencies: 4
inputs: novel
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> "novel" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1850 ) .  } UNION { ?e <OCLC_control_number> ?pv . ?pv <pred:value> "221513427" .  } }
Answer: 5