Question: Tell me the relationship between Toto (who has the Frontiers Records record label) to Frontiers Records.
Choices:
military conflicts
statistical leader
has quality
does not have part
record label
lifestyle
member of political party
capital
conferred by
killed by
Answer: record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Toto" . ?e_1 <record_label> ?e_3 . ?e_3 <pred:name> "Frontiers Records" . ?e_2 <pred:name> "Frontiers Records" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Frontiers Records
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: Toto
function: And
dependencies: 1
2
function: Find
inputs: Frontiers Records
function: QueryRelation
dependencies: 3
4