Question: How many ceremonial counties of England whose official website is http://www.suffolk.gov.uk/ or that has the captital Taunton whose local dialing code is 01823?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.suffolk.gov.uk/" .  } UNION { ?e <capital> ?e_1 . ?e_1 <pred:name> "Taunton" . ?e_1 <local_dialing_code> ?pv . ?pv <pred:value> "01823" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.suffolk.gov.uk/
function: FilterConcept
dependencies: 1
inputs: ceremonial county of England
function: Find
inputs: Taunton
function: FilterStr
dependencies: 3
inputs: local dialing code
01823
function: Relate
dependencies: 4
inputs: capital
backward
function: FilterConcept
dependencies: 5
inputs: ceremonial county of England
function: Or
dependencies: 2
6
function: Count
dependencies: 7