Question: How many metropolitan boroughs are located in West Yorkshire?
Choices: 3
4
5
6
7
8
9
10
11
12
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "West Yorkshire" .   }
Program:
function: Find
inputs: West Yorkshire
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: metropolitan borough
function: Count
dependencies: 2
Answer: 3