Question: How does Alan Ball (the one that belongs to United States of America) relate to safety?
Choices:
symptoms
given name
programming paradigm
cast member
position played on team / speciality
next higher rank
model item
located in or next to body of water
item operated
legislative body
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: Alan Ball
function: And
dependencies: 1
2
function: Find
inputs: safety
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alan Ball" . ?e_1 <country_for_sport> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "safety" . ?e_1 ?p ?e_2 .  }
Answer: position played on team / speciality