Question: What is the connection between Mona Lisa (the one that origins from United Kingdom) to George Harrison (the one that has the occupation of film producer)?
Choices:
soundtrack album
record label
mascot
executive producer
subsidiary
significant person
twinned administrative body
talk show guest
stated in
geography of topic
Answer: executive producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mona Lisa" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "George Harrison" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> "film producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Mona Lisa
function: And
dependencies: 1
2
function: Find
inputs: film producer
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: George Harrison
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7