Question: What is the connection between Roger Moore (the one that has the occupation of television producer) to blue (the one that is color of Alison Brie's eyes)?
Choices:
worshipped by
official symbol
member of political party
editor
eye color
natural product of taxon
influenced by
student
theme music
significant event
Answer: eye color
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roger Moore" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "television producer" . ?e_2 <pred:name> "blue" . ?e_4 <eye_color> ?e_2 . ?e_4 <pred:name> "Alison Brie" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: television producer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Roger Moore
function: And
dependencies: 1
2
function: Find
inputs: Alison Brie
function: Relate
dependencies: 4
inputs: eye color
forward
function: Find
inputs: blue
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7