Question: Halloween, released on 2018-10-25, has what link to the USA?
Choices:
office held by head of state
country of origin
office held by head of government
located on terrain feature
convicted of
Wikidata property
main subject
location
is a list of
soundtrack album
Program:
function: Find
inputs: Halloween
function: FilterDate
dependencies: 0
inputs: publication date
2018-10-25
=
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Halloween" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2018-10-25"^^xsd:date . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of origin