Question: What is the connection between David Copperfield (the one whose number of seasons is 1) to Daniel Radcliffe?
Choices:
executive producer
contains administrative territorial entity
public holiday
dialect of
home world
capital of
located in the administrative territorial entity
voice type
parent organization
cast member
Program:
function: Find
inputs: David Copperfield
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: Daniel Radcliffe
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Copperfield" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1"^^xsd:double . ?e_2 <pred:name> "Daniel Radcliffe" . ?e_1 ?p ?e_2 .  }
Answer: cast member