Question: What is the connection between From the Earth to the Moon (the one whose number of seasons is 1) to Tom Hanks?
Choices:
indigenous to
executive producer
distributor
headquarters location
domain of saint or deity
filmography
narrator
foundational text
cast member
position played on team / speciality
Program:
function: Find
inputs: From the Earth to the Moon
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: Tom Hanks
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "From the Earth to the Moon" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1"^^xsd:double . ?e_2 <pred:name> "Tom Hanks" . ?e_1 ?p ?e_2 .  }
Answer: executive producer