Question: What does Aurora (which uses the Portuguese language) have to do with Spanish?
Choices:
fabrication method
field of work
notable work
territory claimed by
theme music
language of work or name
sex or gender
owned by
narrative location
home port
Answer: language of work or name
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Aurora" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "Portuguese" . ?e_2 <pred:name> "Spanish" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Portuguese
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Aurora
function: And
dependencies: 1
2
function: Find
inputs: Spanish
function: QueryRelation
dependencies: 3
4