Question: What person is a cast member of the 3 episode long Mobile?
Choices:
Henry Gibson
Jess Harnell
Keith Allen
Sylvester Stallone
Eric Idle
Andy Williams
Robert Morley
Richard Gere
Shatrughan Sinha
Max Fleischer
Program:
function: Find
inputs: Mobile
function: FilterNum
dependencies: 0
inputs: number of episodes
3
=
function: Relate
dependencies: 1
inputs: cast member
forward
function: FilterConcept
dependencies: 2
inputs: human
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Mobile" . ?e_1 <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3"^^xsd:double .   }
Answer: Keith Allen