Question: What is the relationship between William Shakespeare (the one that is involved in the conflict World War II) and halfback?
Choices:
replaced by
legal form
registered with
dedicated to
owned by
noble title
eye color
position played on team / speciality
director/manager
located in the administrative territorial entity
Program:
function: Find
inputs: World War II
function: Relate
dependencies: 0
inputs: conflict
backward
function: Find
inputs: William Shakespeare
function: And
dependencies: 1
2
function: Find
inputs: halfback
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William Shakespeare" . ?e_1 <conflict> ?e_3 . ?e_3 <pred:name> "World War II" . ?e_2 <pred:name> "halfback" . ?e_1 ?p ?e_2 .  }
Answer: position played on team / speciality