Question: How many counties of Maryland are located in Maryland (the one that is the narrative location of The Bourne Legacy)?
Choices:
11
12
13
14
15
16
17
18
19
20
Answer: 13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maryland" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Maryland" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "The Bourne Legacy" .   }
Program:
function: Find
inputs: The Bourne Legacy
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: Maryland
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: county of Maryland
function: Count
dependencies: 5