Question: What is the relationship between Andrea Martin (the one whose genre is contemporary R&B) and Andrea Martin (the one that is educated at Emerson College)?
Choices: general manager
lowest point
has cause
has part
different from
start point
terminus
currency
cause of death
afflicts
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Andrea Martin" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "contemporary R&B" . ?e_2 <pred:name> "Andrea Martin" . ?e_2 <educated_at> ?e_4 . ?e_4 <pred:name> "Emerson College" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: contemporary R&B
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Andrea Martin
function: And
dependencies: 1
2
function: Find
inputs: Emerson College
function: Relate
dependencies: 4
inputs: educated at
backward
function: Find
inputs: Andrea Martin
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: different from