Question: Tell me the relationship between Peter Berg (who uses the German language) and German.
Choices:
had as last meal
convicted of
successful candidate
relative
languages spoken, written or signed
original language of film or TV show
continent
geographic distribution
captain
employer
Answer: languages spoken, written or signed
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Berg" . ?e_1 <languages_spoken,_written_or_signed> ?e_3 . ?e_3 <pred:name> "German" . ?e_2 <pred:name> "German" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: German
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Peter Berg
function: And
dependencies: 1
2
function: Find
inputs: German
function: QueryRelation
dependencies: 3
4