Question: In which administrative territorial entity is Long Beach (the birthplace of Phil Alden Robinson and Ed Lauter)?
Choices:
Transcaucasian Socialist Federative Soviet Republic
United States Virgin Islands
Germany
Scotland
Armenian Soviet Socialist Republic
North Carolina
Illinois
California
New York
Saint Petersburg
Program:
function: Find
inputs: Ed Lauter
function: Find
inputs: Phil Alden Robinson
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Long Beach
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ed Lauter" . ?e_2 <pred:name> "Long Beach" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Phil Alden Robinson" . ?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 .  }
Answer: New York