Question: What human is a part of Tom Petty and the Heartbreakers and a cast member of George Harrison: Living in the Material World?
Choices:
Terry Gilliam
Max Fleischer
Jeff Lynne
Sylvester Stallone
Tom Petty
Richard Gere
Bob Dylan
William Henry Harrison
George Harrison
Yoko Ono
Program:
function: Find
inputs: Tom Petty and the Heartbreakers
function: Relate
dependencies: 0
inputs: has part
forward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: George Harrison: Living in the Material World
function: Relate
dependencies: 3
inputs: cast member
forward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "Tom Petty and the Heartbreakers" .  ?e_2 <cast_member> ?e . ?e_2 <pred:name> "George Harrison: Living in the Material World" .  }
Answer: Tom Petty