Question: What is the relationship between Resident Evil: Apocalypse to Resident Evil (the one whose country is Japan)?
Choices:
organisation directed from the office or person
public holiday
architect
present in work
based on
medical treatment
located on astronomical location
software engine
lowest point
honorific suffix
Answer: based on
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Resident Evil: Apocalypse" . ?e_2 <pred:name> "Resident Evil" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> "Japan" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Resident Evil: Apocalypse
function: Find
inputs: Japan
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Resident Evil
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4