Question: What is the connection between Veronica Mars (the one that has Lucy Lawless as a cast member) to Leighton Meester?
Choices:
set in period
academic degree
narrator
different from
office held by head of state
production company
characters
enclave within
producer
cast member
Program:
function: Find
inputs: Lucy Lawless
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Veronica Mars
function: And
dependencies: 1
2
function: Find
inputs: Leighton Meester
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Veronica Mars" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Lucy Lawless" . ?e_2 <pred:name> "Leighton Meester" . ?e_1 ?p ?e_2 .  }
Answer: cast member