Question: What's the relationship between Tom Hardy (nickname Tom) and the single season TV show Oliver Twist?
Choices:
office held by head of state
cast member
capital of
time period
member of
chairperson
culture
material used
contains administrative territorial entity
head coach
Program:
function: Find
inputs: Oliver Twist
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: Tom Hardy
function: FilterStr
dependencies: 2
inputs: nickname
Tom
function: QueryRelation
dependencies: 1
3
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Oliver Twist" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1"^^xsd:double . ?e_2 <pred:name> "Tom Hardy" . ?e_2 <nickname> ?pv_1 . ?pv_1 <pred:value> "Tom" . ?e_1 ?p ?e_2 .  }
Answer: cast member