Question: What is the connection between Oz (the one that publicates in Sydney) to humor magazine?
Choices:
home port
genre
said to be the same as
voice actor
edition or translation of
office held by head of government
conferred by
donated by
exported to
operating area
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Oz" . ?e_1 <place_of_publication> ?e_3 . ?e_3 <pred:name> "Sydney" . ?e_2 <pred:name> "humor magazine" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sydney
function: Relate
dependencies: 0
inputs: place of publication
backward
function: Find
inputs: Oz
function: And
dependencies: 1
2
function: Find
inputs: humor magazine
function: QueryRelation
dependencies: 3
4