Question: What is the relation of David Brown (the one that has the occupation of businessperson) to Huddersfield?
Choices: located in the administrative territorial entity
programming paradigm
contributor(s) to the creative work
place of birth
filmography
update method
residence
drug used for treatment
has parts of the class
screenwriter
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Brown" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "businessperson" . ?e_2 <pred:name> "Huddersfield" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: businessperson
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: David Brown
function: And
dependencies: 1
2
function: Find
inputs: Huddersfield
function: QueryRelation
dependencies: 3
4
Answer: place of birth