Question: Miley Cyrus performed on which single on the RCA Records label?
Choices:
Monster
Barcelona
A View to a Kill
Stand by Me
Die Another Day
Malibu
Hello, Dolly!
Fame
The Way We Were
Brave
Answer: Malibu
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "single" . ?e <performer> ?e_1 . ?e_1 <pred:name> "Miley Cyrus" .  ?e <record_label> ?e_2 . ?e_2 <pred:name> "RCA Records" .  }
Program:
function: Find
inputs: Miley Cyrus
function: Relate
dependencies: 0
inputs: performer
backward
function: FilterConcept
dependencies: 1
inputs: single
function: Find
inputs: RCA Records
function: Relate
dependencies: 3
inputs: record label
backward
function: FilterConcept
dependencies: 4
inputs: single
function: And
dependencies: 2
5
function: What
dependencies: 6