Question: What is the connection between Alabama (the one that is the filming location of Borat) to Shelby County (the one whose official website is http://www.shelbycountyalabama.com)?
Choices:
connects with
contains administrative territorial entity
partner
composer
registered with
quotes work
military branch
after a work by
voice type
symptoms
Answer: contains administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alabama" . ?e_3 <filming_location> ?e_1 . ?e_3 <pred:name> "Borat" . ?e_2 <pred:name> "Shelby County" . ?e_2 <official_website> ?pv . ?pv <pred:value> "http://www.shelbycountyalabama.com" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Borat
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Alabama
function: And
dependencies: 1
2
function: Find
inputs: Shelby County
function: FilterStr
dependencies: 4
inputs: official website
http://www.shelbycountyalabama.com
function: QueryRelation
dependencies: 3
5