Question: What are the number of people whose honorific prefix is Sir (the one that is the honorific prefix of Ringo Starr) or whose date of death is after 1915
Choices: 1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" .  { ?e <honorific_prefix> ?e_1 . ?e_1 <pred:name> "Sir" . ?e_2 <honorific_prefix> ?e_1 . ?e_2 <pred:name> "Ringo Starr" .  } UNION { ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1915 ) .  } }
Program:
function: Find
inputs: Ringo Starr
function: Relate
dependencies: 0
inputs: honorific prefix
forward
function: Find
inputs: Sir
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: honorific prefix
backward
function: FilterConcept
dependencies: 4
inputs: human
function: FindAll
function: FilterYear
dependencies: 6
inputs: date of death
1915
>
function: FilterConcept
dependencies: 7
inputs: human
function: Or
dependencies: 5
8
function: Count
dependencies: 9
Answer: 1557