Question: What is the administrative entity of Chicago, where Philip K. Dick and Robert Zemeckis were born?
Choices:
London
Stockholm Municipality
Ontario
Scotland
Archbishopric of Salzburg
Utah
Ohio
Quebec
Illinois
Missouri
Answer: Illinois
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Philip K. Dick" . ?e_2 <pred:name> "Chicago" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Robert Zemeckis" . ?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: Philip K. Dick
function: Find
inputs: Robert Zemeckis
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Chicago
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
located in the administrative territorial entity