Question: How many non-metropolitan counties are not Northamptonshire or have a TOID of 7000000000013688?
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> "non-metropolitan county" .  { ?e_1 <different_from> ?e . ?e_1 <pred:name> "Northamptonshire" .  } UNION { ?e <TOID> ?pv . ?pv <pred:value> "7000000000013688" .  } }
Program:
function: Find
inputs: Northamptonshire
function: Relate
dependencies: 0
inputs: different from
forward
function: FilterConcept
dependencies: 1
inputs: non-metropolitan county
function: FindAll
function: FilterStr
dependencies: 3
inputs: TOID
7000000000013688
function: FilterConcept
dependencies: 4
inputs: non-metropolitan county
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1