Question: What is the beginning date that Sir (that is the honorific prefix of Van Morrison) is the honorific prefix of Edward Woodward (whose occupation is lawyer)?
Choices:
2001-03-01
1950-03-07
1922-02-28
1982-06-12
1998-03-26
1908-01-01
1533-01-01
2013-09-24
1960-01-20
1850-01-01
Answer: 1982-06-12
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Edward Woodward" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "lawyer" . ?e_2 <pred:name> "Sir" . ?e_4 <honorific_prefix> ?e_2 . ?e_4 <pred:name> "Van Morrison" . ?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: lawyer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Edward Woodward
function: And
dependencies: 1
2
function: Find
inputs: Van Morrison
function: Relate
dependencies: 4
inputs: honorific prefix
forward
function: Find
inputs: Sir
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: honorific prefix
start time