Question: When did Freddie Mercury receive the given name Frederick (which has the nickname Freddie)?
Choices:
1897-03-04
2009-01-21
1970
1959-10-02
2001-10-02
2014-07-09
2017-10-11
1828-01-22
2011-09-25
1494-01-01
Answer: 1970
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Freddie Mercury" . ?e_2 <pred:name> "Frederick" . ?e_2 <nickname> ?pv . ?pv <pred:value> "Freddie" . ?e_1 <given_name> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <given_name> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Freddie Mercury
function: Find
inputs: Frederick
function: FilterStr
dependencies: 1
inputs: nickname
Freddie
function: QueryRelationQualifier
dependencies: 0
2
inputs: given name
start time