Question: What is the relationship between V for Vendetta (the one that mainly depicts LGBT) to LGBT?
Choices:
military branch
chairperson
legislative body
main subject
executive producer
separated from
had as last meal
member of political party
depicts
nominated for
Answer: main subject
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "V for Vendetta" . ?e_1 <main_subject> ?e_3 . ?e_3 <pred:name> "LGBT" . ?e_2 <pred:name> "LGBT" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: LGBT
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: V for Vendetta
function: And
dependencies: 1
2
function: Find
inputs: LGBT
function: QueryRelation
dependencies: 3
4