Question: What is the connection between Avril Lavigne to Belleville (the one whose country is Canada)?
Choices:
sibling
official residence
quotes work
location
place of birth
licensed to broadcast to
set in period
home venue
practiced by
twinned administrative body
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Avril Lavigne" . ?e_2 <pred:name> "Belleville" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Avril Lavigne
function: Find
inputs: Canada
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Belleville
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4