Question: How many New York counties are an administrative division of a United States state that equals the narrative location of Final Destination (the one that mainly depicts death)?
Choices:
42
43
44
45
46
47
48
49
50
51
Answer: 45
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New York" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of the United States" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "Final Destination" . ?e_2 <main_subject> ?e_3 . ?e_3 <pred:name> "death" .   }
Program:
function: Find
inputs: death
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Final Destination
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
forward
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: Relate
dependencies: 5
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 6
inputs: county of New York
function: Count
dependencies: 7