Question: Tell me the person born on 1960-06-18 and that was born after 1945.
Choices:
William Henry Harrison
Iqbal Theba
Mickey Rourke
Roger Moore
Richard Gere
Akira Ishida
Max Fleischer
Mark Johnson
Christopher Lloyd
Sylvester Stallone
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: date of birth
1960-06-18
=
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterYear
dependencies: 3
inputs: date of birth
1945
>
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> "1960-06-18"^^xsd:date . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v > 1945 ) .  }
Answer: Christopher Lloyd