Question: What is the relation of The Princess and the Frog to Pinocchio (the one whose production company is The Walt Disney Company)?
Choices:
operating area
spouse
cites
narrative location
occupation
country of origin
this taxon is source of
mascot
father
sponsor
Answer: cites
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Princess and the Frog" . ?e_2 <pred:name> "Pinocchio" . ?e_2 <production_company> ?e_3 . ?e_3 <pred:name> "The Walt Disney Company" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Princess and the Frog
function: Find
inputs: The Walt Disney Company
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Pinocchio
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4