Question: How is Nelson (published on 1918-01-01) related to the United Kingdom?
Choices:
creator
based on
occupation
country of origin
used by
head coach
original network
official color
inspired by
tributary
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nelson" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1918-01-01"^^xsd:date . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Nelson
function: FilterDate
dependencies: 0
inputs: publication date
1918-01-01
=
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 1
2