Question: What is the relationship between One Tree Hill (the one that has Barry Corbin as a cast member) to United States of America?
Choices:
mountain range
time period
composer
model item
cast member
place of burial
fabrication method
founded by
country of origin
production designer
Program:
function: Find
inputs: Barry Corbin
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: One Tree Hill
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "One Tree Hill" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Barry Corbin" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of origin