Question: How many liberal arts colleges have postal code 01002-5001 and are located in Shanghai which is the twinned administrative body of Dunedin?
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> "liberal arts college" . ?e <postal_code> ?pv . ?pv <pred:value> "01002-5001" . ?e <location> ?e_1 . ?e_1 <pred:name> "Shanghai" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Dunedin" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
01002-5001
function: FilterConcept
dependencies: 1
inputs: liberal arts college
function: Find
inputs: Dunedin
function: Relate
dependencies: 3
inputs: twinned administrative body
forward
function: Find
inputs: Shanghai
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: location
backward
function: FilterConcept
dependencies: 7
inputs: liberal arts college
function: And
dependencies: 2
8
function: Count
dependencies: 9