Question: How is Stephen King whose genre is fantasy related to The Stand whose native label is The Stand?
Choices:
production company
sponsor
producer
architect
executive producer
notable people with this condition
notable work
military conflicts
organisation directed from the office or person
musical conductor
Answer: notable work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Stephen King" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "fantasy" . ?e_2 <pred:name> "The Stand" . ?e_2 <native_label> ?pv . ?pv <pred:value> "The Stand" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: fantasy
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Stephen King
function: And
dependencies: 1
2
function: Find
inputs: The Stand
function: FilterStr
dependencies: 4
inputs: native label
The Stand
function: QueryRelation
dependencies: 3
5