Question: Teen movie Crossroads has what link to Britney Spears?
Choices:
natural product of taxon
affiliation
use
field of this occupation
located on astronomical location
cast member
operating area
continent
risk factor
kit supplier
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Crossroads" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "teen film" . ?e_2 <pred:name> "Britney Spears" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: teen film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Crossroads
function: And
dependencies: 1
2
function: Find
inputs: Britney Spears
function: QueryRelation
dependencies: 3
4