Question: What is the connection between William Morris (the one that belongs to the allegiance of United Kingdom) to United Kingdom?
Choices:
field of work
military casualty classification
producer
allegiance
notable work
culture
studied by
medical treatment
language used
nutrient
Answer: allegiance
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William Morris" . ?e_1 <allegiance> ?e_3 . ?e_3 <pred:name> "United Kingdom" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: allegiance
backward
function: Find
inputs: William Morris
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4