Question: How is Laura Bailey, who has the occupation of model, related to an actor?
Choices: contains administrative territorial entity
filming location
diplomatic relation
location of discovery
next lower rank
statistical leader
affiliation
public holiday
member of political party
occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Laura Bailey" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "model" . ?e_2 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: model
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Laura Bailey
function: And
dependencies: 1
2
function: Find
inputs: actor
function: QueryRelation
dependencies: 3
4
Answer: occupation