Question: What does London (which has Joy Bryant as a cast member) have to do with Jessica Biel?
Choices:
kit supplier
studied by
vehicle normally used
board member
notable people with this condition
cast member
filming location
location
political alignment
place served by transport hub
Program:
function: Find
inputs: Joy Bryant
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: London
function: And
dependencies: 1
2
function: Find
inputs: Jessica Biel
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "London" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Joy Bryant" . ?e_2 <pred:name> "Jessica Biel" . ?e_1 ?p ?e_2 .  }
Answer: cast member