Question: I want to know the relationship between Ted Kennedy (who participated in 103rd United States Congress) to politician.
Choices:
occupation
designed to carry
named after
tributary
military branch
educated at
filming location
terminus
position played on team / speciality
field of this occupation
Program:
function: Find
inputs: 103rd United States Congress
function: Relate
dependencies: 0
inputs: participant
forward
function: Find
inputs: Ted Kennedy
function: And
dependencies: 1
2
function: Find
inputs: politician
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ted Kennedy" . ?e_3 <participant> ?e_1 . ?e_3 <pred:name> "103rd United States Congress" . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Answer: occupation