Question: How is Adam Smith born Adam James Smith related to defender?
Choices:
publisher
replaced by
territory overlaps
mountain range
fabrication method
position played on team / speciality
headquarters location
film editor
color
make-up artist
Program:
function: Find
inputs: Adam Smith
function: FilterStr
dependencies: 0
inputs: birth name
Adam James Smith
function: Find
inputs: defender
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Adam Smith" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "Adam James Smith" . ?e_2 <pred:name> "defender" . ?e_1 ?p ?e_2 .  }
Answer: position played on team / speciality