Question: Who was a cast member of Dune (the one whose genre is film based on literature) and has virginiamadsen Instagram username?
Choices: Sting
Kyle MacLachlan
William Henry Harrison
David Byrne
Richard Gere
Rahul Dev Burman
Sylvester Stallone
Virginia Madsen
Max von Sydow
Max Fleischer
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Dune" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "film based on literature" .  ?e <Instagram_username> ?pv . ?pv <pred:value> "virginiamadsen" .  }
Program:
function: Find
inputs: film based on literature
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Dune
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: human
function: FindAll
function: FilterStr
dependencies: 6
inputs: Instagram username
virginiamadsen
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9
Answer: Virginia Madsen