Question: How are William S. Burroughs and the book Naked Lunch related?
Choices:
Wikidata property
author
political alignment
location of discovery
fictional universe described in
drafted by
mouth of the watercourse
place of publication
airline hub
member of
Answer: author
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Naked Lunch" . ?e_1 <ISBN-10> ?pv . ?pv <pred:value> "85-00-01649-3" . ?e_2 <pred:name> "William S. Burroughs" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Naked Lunch
function: FilterStr
dependencies: 0
inputs: ISBN-10
85-00-01649-3
function: Find
inputs: William S. Burroughs
function: QueryRelation
dependencies: 1
2