Question: What is the number of literary works whose narrative location is Paris (that is the headquarters location of StudioCanal) or whose first line is "Mr and Mrs Dursley, of number four, Privet Drive, were proud to say that they were perfectly normal, thank you very much."?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: StudioCanal
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Paris
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
backward
function: FilterConcept
dependencies: 4
inputs: literary work
function: FindAll
function: FilterStr
dependencies: 6
inputs: first line
Mr and Mrs Dursley, of number four, Privet Drive, were proud to say that they were perfectly normal, thank you very much.
function: FilterConcept
dependencies: 7
inputs: literary work
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" .  { ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Paris" . ?e_2 <headquarters_location> ?e_1 . ?e_2 <pred:name> "StudioCanal" .  } UNION { ?e <first_line> ?pv . ?pv <pred:value> "Mr and Mrs Dursley, of number four, Privet Drive, were proud to say that they were perfectly normal, thank you very much." .  } }
Answer: 3