Question: Which human has a date of birth of 1871-01-01 and after 1865?
Choices:
Lily Tomlin
Max Fleischer
William Henry Harrison
John Logan
Timothy Spall
Eileen Brennan
Pritam Chakraborty
January Jones
Portia de Rossi
Sylvester Stallone
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: date of birth
1871-01-01
=
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterYear
dependencies: 3
inputs: date of birth
1865
>
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_birth> ?pv . ?pv <pred:date> "1871-01-01"^^xsd:date . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v > 1865 ) .  }
Answer: John Logan