Question: What is the relationship between From the Earth to the Moon (the one whose duration is 60 minute) and Tom Hanks?
Choices:
designed by
participant
executive producer
discoverer or inventor
conferred by
place of publication
place of burial
derivative work
item operated
Wikidata property
Answer: executive producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "From the Earth to the Moon" . ?e_1 <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "60"^^xsd:double . ?e_2 <pred:name> "Tom Hanks" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: From the Earth to the Moon
function: FilterNum
dependencies: 0
inputs: duration
60 minute
=
function: Find
inputs: Tom Hanks
function: QueryRelation
dependencies: 1
2