Question: How is Uttar Pradesh that uses Urdu as the official language related to Rajasthan that has the capital Jaipur?
Choices:
shares border with
award disciplines or subjects
child
affiliation
work location
member of
original language of film or TV show
office held by head of state
cites
owner of
Program:
function: Find
inputs: Urdu
function: Relate
dependencies: 0
inputs: official language
backward
function: Find
inputs: Uttar Pradesh
function: And
dependencies: 1
2
function: Find
inputs: Jaipur
function: Relate
dependencies: 4
inputs: capital of
forward
function: Find
inputs: Rajasthan
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Uttar Pradesh" . ?e_1 <official_language> ?e_3 . ?e_3 <pred:name> "Urdu" . ?e_2 <pred:name> "Rajasthan" . ?e_4 <capital_of> ?e_2 . ?e_4 <pred:name> "Jaipur" . ?e_1 ?p ?e_2 .  }
Answer: shares border with