Question: How many landforms are either headed by the Governor of Kentucky or have a population greater than 6100?
Choices: 20
21
22
23
24
25
26
27
28
29
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" .  { ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "Governor of Kentucky" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "6100"^^xsd:double ) .  } }
Program:
function: Find
inputs: Governor of Kentucky
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: FilterConcept
dependencies: 1
inputs: landform
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
6100
>
function: FilterConcept
dependencies: 4
inputs: landform
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 26