Question: What is the relationship between Hamlet (the one whose publication date is 1921-01-01) to black-and-white?
Choices:
influenced by
part of the series
color
currency
languages spoken, written or signed
organizer
original film format
practiced by
member of sports team
office contested
Program:
function: Find
inputs: Hamlet
function: FilterDate
dependencies: 0
inputs: publication date
1921-01-01
=
function: Find
inputs: black-and-white
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hamlet" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1921-01-01"^^xsd:date . ?e_2 <pred:name> "black-and-white" . ?e_1 ?p ?e_2 .  }
Answer: color