Question: What is the relationship between Roger Moore (the one that works as computer science) and Bachelor of Science?
Choices:
hair color
art director
country for sport
official symbol
partially contains
risk factor
academic degree
named after
significant person
student of
Answer: academic degree
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roger Moore" . ?e_1 <field_of_work> ?e_3 . ?e_3 <pred:name> "computer science" . ?e_2 <pred:name> "Bachelor of Science" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: computer science
function: Relate
dependencies: 0
inputs: field of work
backward
function: Find
inputs: Roger Moore
function: And
dependencies: 1
2
function: Find
inputs: Bachelor of Science
function: QueryRelation
dependencies: 3
4