Question: What administrative territorial entity is Syracuse (in the USA) where Bobcat Goldthwait was born?
Choices:
Stockholm County
Kentucky
New York
Kilo
London
Texas
New Jersey
Scotland
Makkah Region
Greater Manchester
Answer: New York
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bobcat Goldthwait" . ?e_2 <pred:name> "Syracuse" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }
Program:
function: Find
inputs: Bobcat Goldthwait
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Syracuse
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
located in the administrative territorial entity