Question: How many of the administrative territorial entities in Canada with the ISNI of 0000 0004 0500 1061 share a border with Newfoundland and Labrador?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity of Canada" . ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0500 1061" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Newfoundland and Labrador" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0500 1061
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity of Canada
function: Find
inputs: Newfoundland and Labrador
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity of Canada
function: And
dependencies: 2
5
function: Count
dependencies: 6