Question: What is the connection between Steven Wright (the one that was born in Torrance) to baseball?
Choices:
interests
present in work
legal form
sport
discoverer or inventor
relative
said to be the same as
enclave within
student of
ancestral home
Program:
function: Find
inputs: Torrance
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Steven Wright
function: And
dependencies: 1
2
function: Find
inputs: baseball
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Steven Wright" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Torrance" . ?e_2 <pred:name> "baseball" . ?e_1 ?p ?e_2 .  }
Answer: sport