Question: What is the relationship between Hamlet (the one whose publication date is 1961-01-01) and Germany?
Choices:
architect
business division
health specialty
has effect
director/manager
country of origin
military casualty classification
location of final assembly
depicts
doctoral student
Program:
function: Find
inputs: Hamlet
function: FilterDate
dependencies: 0
inputs: publication date
1961-01-01
=
function: Find
inputs: Germany
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hamlet" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1961-01-01"^^xsd:date . ?e_2 <pred:name> "Germany" . ?e_1 ?p ?e_2 .  }
Answer: country of origin