Question: What is the beginning date that the honorific prefix of Edward Woodward (whose date of birth is 1928-08-06) is Sir (that is the honorific prefix of Barry Gibb)?
Choices:
1860-08-01
1993-04-08
2009-01-21
1994-05-07
1984-10-09
2009-05-02
2018-10-14
1982-06-12
2005-03-31
2006-06-28
Answer: 1982-06-12
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Edward Woodward" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1928-08-06"^^xsd:date . ?e_2 <pred:name> "Sir" . ?e_3 <honorific_prefix> ?e_2 . ?e_3 <pred:name> "Barry Gibb" . ?e_1 <honorific_prefix> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <honorific_prefix> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Edward Woodward
function: FilterDate
dependencies: 0
inputs: date of birth
1928-08-06
=
function: Find
inputs: Barry Gibb
function: Relate
dependencies: 2
inputs: honorific prefix
forward
function: Find
inputs: Sir
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: honorific prefix
start time