Question: Veronica Mars, with Dianna Agron as a cast member, has what connection to Jane Lynch?
Choices:
dissertation submitted to
location of final assembly
cast member
make-up artist
mother
fabrication method
worshipped by
interested in
narrative role
geographic distribution
Program:
function: Find
inputs: Dianna Agron
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Veronica Mars
function: And
dependencies: 1
2
function: Find
inputs: Jane Lynch
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> "Dianna Agron" . ?e_2 <pred:name> "Jane Lynch" . ?e_1 ?p ?e_2 .  }
Answer: cast member