Question: How many associations, whose ISNI is 0000 0004 1936 7478, are located in Manhattan (the narrative location of Annie Hall) ?
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> "association" . ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 1936 7478" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Manhattan" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "Annie Hall" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 1936 7478
function: FilterConcept
dependencies: 1
inputs: association
function: Find
inputs: Annie Hall
function: Relate
dependencies: 3
inputs: narrative location
forward
function: Find
inputs: Manhattan
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 7
inputs: association
function: And
dependencies: 2
8
function: Count
dependencies: 9
Answer: 0