Question: what is the number of officials that have United Kingdom as the country or that is Tony Blair's position
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "official" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  } UNION { ?e_1 <position_held> ?e . ?e_1 <pred:name> "Tony Blair" .  } }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: official
function: Find
inputs: Tony Blair
function: Relate
dependencies: 3
inputs: position held
forward
function: FilterConcept
dependencies: 4
inputs: official
function: Or
dependencies: 2
5
function: Count
dependencies: 6