Question: How many officials there are as the head of government of Arkansas or that have the same occupation of Christopher Wren (who died in 1658-05-29)?
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> "official" .  { ?e_1 <office_held_by_head_of_government> ?e . ?e_1 <pred:name> "Arkansas" .  } UNION { ?e_1 <occupation> ?e . ?e_1 <pred:name> "Christopher Wren" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1658-05-29"^^xsd:date .  } }
Program:
function: Find
inputs: Arkansas
function: Relate
dependencies: 0
inputs: office held by head of government
forward
function: FilterConcept
dependencies: 1
inputs: official
function: Find
inputs: Christopher Wren
function: FilterDate
dependencies: 3
inputs: date of death
1658-05-29
=
function: Relate
dependencies: 4
inputs: occupation
forward
function: FilterConcept
dependencies: 5
inputs: official
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 2