Question: How many Canadian provinces whose native label is Terre-Neuve-et-Labrador and that contain Laval?
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> "province of Canada" . ?e <native_label> ?pv . ?pv <pred:value> "Terre-Neuve-et-Labrador" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Laval" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Terre-Neuve-et-Labrador
function: FilterConcept
dependencies: 1
inputs: province of Canada
function: Find
inputs: Laval
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: province of Canada
function: And
dependencies: 2
5
function: Count
dependencies: 6