Question: How many humans have a significant event death or a date of death after 1716?
Choices:
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
Answer: 1750
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" .  { ?e <significant_event> ?e_1 . ?e_1 <pred:name> "death" .  } UNION { ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1716 ) .  } }
Program:
function: Find
inputs: death
function: Relate
dependencies: 0
inputs: significant event
backward
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterYear
dependencies: 3
inputs: date of death
1716
>
function: FilterConcept
dependencies: 4
inputs: human
function: Or
dependencies: 2
5
function: Count
dependencies: 6