Question: How is Ted Kennedy, whose Libris-URI is 42gjksfn1grm15p, related to Robert F. Kennedy?
Choices:
next higher rank
organisation directed from the office or person
headquarters location
sibling
candidacy in election
geographic distribution
had as last meal
office held by head of the organisation
honorific prefix
heritage designation
Answer: sibling
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ted Kennedy" . ?e_1 <Libris-URI> ?pv . ?pv <pred:value> "42gjksfn1grm15p" . ?e_2 <pred:name> "Robert F. Kennedy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ted Kennedy
function: FilterStr
dependencies: 0
inputs: Libris-URI
42gjksfn1grm15p
function: Find
inputs: Robert F. Kennedy
function: QueryRelation
dependencies: 1
2