Question: What is the publication date for Yellow Submarine (the one that publicates in United Kingdom) which publishes in the United Kingdom?
Choices:
1981-11-20
2008-05-02
2007-02-01
1969-01-17
1919-01-01
1976-11-14
2006-09-25
2011-04-06
2005-01-12
1957-03-12
Answer: 1969-01-17
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Yellow Submarine" . ?e_1 <place_of_publication> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "United Kingdom" . ?e_1 <place_of_publication> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_publication> ; <pred:fact_t> ?e_2 ] <publication_date> ?qpv .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: place of publication
backward
function: Find
inputs: Yellow Submarine
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelationQualifier
dependencies: 3
4
inputs: place of publication
publication date