Question: How many non-metropolitan districts are the filming location of Sense and Sensibility (whose genre is romance film) and are located in Surrey (whose native label is Surrey)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Sense and Sensibility" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "romance film" .  ?e <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Surrey" . ?e_3 <native_label> ?pv . ?pv <pred:value> "Surrey" .  }
Program:
function: Find
inputs: romance film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Sense and Sensibility
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: filming location
forward
function: FilterConcept
dependencies: 4
inputs: non-metropolitan district
function: Find
inputs: Surrey
function: FilterStr
dependencies: 6
inputs: native label
Surrey
function: Relate
dependencies: 7
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 8
inputs: non-metropolitan district
function: And
dependencies: 5
9
function: Count
dependencies: 10
Answer: 0