Question: In what administrative territorial body is Dallas located, Dallas being where Aaron Spelling was born, as well as Vanilla Ice?
Choices:
Georgian Soviet Socialist Republic
Ramenki District
New York
Texas
Syria
Kingdom of Lombardy–Venetia
Russian Soviet Federative Socialist Republic
Germany
British Raj
Oregon
Answer: Texas
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Vanilla Ice" . ?e_2 <pred:name> "Dallas" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Aaron Spelling" . ?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: Vanilla Ice
function: Find
inputs: Aaron Spelling
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Dallas
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
located in the administrative territorial entity