Question: How many New York counties are located in New York (the one that is the release region of Beasts of the Southern Wild)?
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 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "New York" . ?e_2 <film_release_region> ?e_1 . ?e_2 <pred:name> "Beasts of the Southern Wild" .   }
Program:
function: Find
inputs: Beasts of the Southern Wild
function: Relate
dependencies: 0
inputs: film release region
forward
function: Find
inputs: New York
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: county of New York
function: Count
dependencies: 5