Question: In what way is there a relationship between Julia from Lithuania and Germany?
Choices:
child astronomical body
country of origin
candidacy in election
noble title
languages spoken, written or signed
filmography
member of sports team
musical conductor
film regional debut venue
derivative work
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Julia" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Lithuania" . ?e_2 <pred:name> "Germany" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Lithuania
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Julia
function: And
dependencies: 1
2
function: Find
inputs: Germany
function: QueryRelation
dependencies: 3
4