Question: How many governors have the native label of Governor of Texas or are government heads of New York (the one whose population is 13479142)?
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> "governor" .  { ?e <native_label> ?pv . ?pv <pred:value> "Governor of Texas" .  } UNION { ?e_1 <office_held_by_head_of_government> ?e . ?e_1 <pred:name> "New York" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "13479142"^^xsd:double .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Governor of Texas
function: FilterConcept
dependencies: 1
inputs: governor
function: Find
inputs: New York
function: FilterNum
dependencies: 3
inputs: population
13479142
=
function: Relate
dependencies: 4
inputs: office held by head of government
forward
function: FilterConcept
dependencies: 5
inputs: governor
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 2