Question: What is the connection between Harlow (the one whose color is black-and-white) to Ginger Rogers?
Choices:
country
has parts of the class
distributor
location of discovery
cast member
partially contains
legal form
platform
territory claimed by
enclave within
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Harlow
function: And
dependencies: 1
2
function: Find
inputs: Ginger Rogers
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harlow" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> "black-and-white" . ?e_2 <pred:name> "Ginger Rogers" . ?e_1 ?p ?e_2 .  }
Answer: cast member