Question: What territorial entity is Toledo, where Katie Holmes and Alyson Stoner were born?
Choices: Archbishopric of Salzburg
Habsburg Monarchy
Maharashtra
Nevada
Ohio
New York City
Latvian Soviet Socialist Republic
Germany
Texas
Rome
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Katie Holmes" . ?e_2 <pred:name> "Toledo" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Alyson Stoner" . ?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: Katie Holmes
function: Find
inputs: Alyson Stoner
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Toledo
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
located in the administrative territorial entity
Answer: Ohio