Question: What is the connection between Fist of the North Star (the one that has Melvin Van Peebles as a cast member) to action film?
Choices:
uses
genre
owner of
capital
geographic distribution
lyrics by
instrumentation
characters
official religion
commander of
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Fist of the North Star" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Melvin Van Peebles" . ?e_2 <pred:name> "action film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Melvin Van Peebles
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Fist of the North Star
function: And
dependencies: 1
2
function: Find
inputs: action film
function: QueryRelation
dependencies: 3
4