Question: What administrative territory is Portland, the birthplace of Joel David Moore and Matt Groening, located in ?
Choices: British Raj
Illinois
Maharashtra
Greater London
Oregon
Kentucky
Nevada
North Rhine-Westphalia
Washington
Louisiana
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Matt Groening" . ?e_2 <pred:name> "Portland" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Joel David Moore" . ?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: Matt Groening
function: Find
inputs: Joel David Moore
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Portland
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
located in the administrative territorial entity
Answer: Oregon