Question: How many non-metropolitan counties have the TOID 7000000000017765 or are unlike Gloucestershire whose area is 3150 square kilometers?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
7000000000017765
function: FilterConcept
dependencies: 1
inputs: non-metropolitan county
function: Find
inputs: Gloucestershire
function: FilterNum
dependencies: 3
inputs: area
3150 square kilometre
=
function: Relate
dependencies: 4
inputs: different from
forward
function: FilterConcept
dependencies: 5
inputs: non-metropolitan county
function: Or
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan county" .  { ?e <TOID> ?pv . ?pv <pred:value> "7000000000017765" .  } UNION { ?e_1 <different_from> ?e . ?e_1 <pred:name> "Gloucestershire" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "3150"^^xsd:double .  } }
Answer: 2