Question: What is the connection between Warren Ellis (the one that was born in Ballarat) to musician?
Choices:
place of origin (Switzerland)
country
broadcast by
occupation
risk factor
office contested
source of income
copyright holder
hair color
depicted by
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Warren Ellis" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Ballarat" . ?e_2 <pred:name> "musician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ballarat
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Warren Ellis
function: And
dependencies: 1
2
function: Find
inputs: musician
function: QueryRelation
dependencies: 3
4