Question: How many literary works are known for their OCLC control number being 685254914, or for having  England (the one that is the narrative location of The Best Exotic Marigold Hotel) as their narrative location?
Choices: 4
5
6
7
8
9
10
11
12
13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" .  { ?e <OCLC_control_number> ?pv . ?pv <pred:value> "685254914" .  } UNION { ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "England" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "The Best Exotic Marigold Hotel" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: OCLC control number
685254914
function: FilterConcept
dependencies: 1
inputs: literary work
function: Find
inputs: The Best Exotic Marigold Hotel
function: Relate
dependencies: 3
inputs: narrative location
forward
function: Find
inputs: England
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: narrative location
backward
function: FilterConcept
dependencies: 7
inputs: literary work
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 4