Question: What is the relationship between Roger Moore (the one whose academic degree is Bachelor of Science) and Redlands?
Choices:
designated as terrorist by
publisher
coextensive with
creator
location of discovery
sibling
notable people with this condition
producer
place of birth
student
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roger Moore" . ?e_1 <academic_degree> ?e_3 . ?e_3 <pred:name> "Bachelor of Science" . ?e_2 <pred:name> "Redlands" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bachelor of Science
function: Relate
dependencies: 0
inputs: academic degree
backward
function: Find
inputs: Roger Moore
function: And
dependencies: 1
2
function: Find
inputs: Redlands
function: QueryRelation
dependencies: 3
4