Question: What is the connection between The Great Gatsby (the one that has Karen Black as a cast member) to romance film?
Choices:
use
genre
studied by
mother
designed by
sibling
cause of death
sidekick of
chairperson
original film format
Program:
function: Find
inputs: Karen Black
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Great Gatsby
function: And
dependencies: 1
2
function: Find
inputs: romance film
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Great Gatsby" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Karen Black" . ?e_2 <pred:name> "romance film" . ?e_1 ?p ?e_2 .  }
Answer: genre