Question: Who sang Yellow Submarine (from the United Kingdom)?
Choices:
William Henry Harrison
George Martin
Rahul Dev Burman
Max Fleischer
The Beatles
Sylvester Stallone
Osamu Tezuka
David Byrne
Roger Moore
Richard Gere
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: place of publication
backward
function: Find
inputs: Yellow Submarine
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: performer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <performer> ?e . ?e_1 <pred:name> "Yellow Submarine" . ?e_1 <place_of_publication> ?e_2 . ?e_2 <pred:name> "United Kingdom" .   }
Answer: George Martin