Question: What is the relationship between Norwich City F.C. and Norwich (the one that is the birthplace of Stuart Craig)?
Choices: mountain range
dissertation submitted to
sibling
instrument
contributor(s) to the creative work
operating system
headquarters location
editor
said to be the same as
doctoral student
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Norwich City F.C." . ?e_2 <pred:name> "Norwich" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Stuart Craig" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Norwich City F.C.
function: Find
inputs: Stuart Craig
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Norwich
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: headquarters location