Question: What is the number of counties town that is the twinned administrative body of the city of the United States that is the capital of Bristol County (the one whose area is 1790 square kilometre) ?
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> "county town" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_1 <capital_of> ?e_3 . ?e_3 <pred:name> "Bristol County" . ?e_3 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "1790"^^xsd:double .   }
Program:
function: Find
inputs: Bristol County
function: FilterNum
dependencies: 0
inputs: area
1790 square kilometre
=
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 4
inputs: county town
function: Count
dependencies: 5
Answer: 1