Question: How many English ceremonial countries comprise the twinned administrative body of Fremont and are headquartered in Walsall, which is the twinned administrative body of Amritsar ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Fremont
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 1
inputs: ceremonial county of England
function: Find
inputs: Amritsar
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: Find
inputs: Walsall
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: headquarters location
backward
function: FilterConcept
dependencies: 7
inputs: ceremonial county of England
function: And
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Fremont" .  ?e <headquarters_location> ?e_2 . ?e_2 <pred:name> "Walsall" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Amritsar" .  }
Answer: 0