Question: What is the relationship between Ice Age (the one whose release region is France) and David Newman (the one that has the occupation of musician)?
Choices:
manufacturer
shares border with
godparent
cast member
conferred by
movement
composer
series spin-off
grants
notable work
Answer: composer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ice Age" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "France" . ?e_2 <pred:name> "David Newman" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> "musician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Ice Age
function: And
dependencies: 1
2
function: Find
inputs: musician
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: David Newman
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7