Question: What is the connection between Jena to Berkeley (the one that is the headquarter location of Image Comics)?
Choices:
field of work
distribution
depicts
present in work
twinned administrative body
domain of saint or deity
officially opened by
cause of death
sibling
registered with
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jena" . ?e_2 <pred:name> "Berkeley" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Image Comics" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jena
function: Find
inputs: Image Comics
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Berkeley
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4