Question: What first-level administrative country subdivision's country is the People's Republic of China and location is in the People's Republic of China?
Choices:
England
Hebei
Liaoning
Xinjiang
Podlaskie Voivodeship
Lublin Voivodeship
Shanxi
Minas Gerais
Upper Austria
Hubei
Answer: Xinjiang
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <country> ?e_1 . ?e_1 <pred:name> "People's Republic of China" .  ?e <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "People's Republic of China" .  }
Program:
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: first-level administrative country subdivision
function: And
dependencies: 2
5
function: What
dependencies: 6