Question: What administrative territorial entity is the location of Portland that has the subreddit Portland and is the birthplace of Joel David Moore?
Choices:
Michigan
Duchy of Rome
Cape Colony
Pennsylvania
Indiana
Oregon
Massachusetts
North Rhine-Westphalia
Minnesota
City of Westminster
Answer: Oregon
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Joel David Moore" . ?e_2 <pred:name> "Portland" . ?e_2 <subreddit> ?pv . ?pv <pred:value> "Portland" . ?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: Joel David Moore
function: Find
inputs: Portland
function: FilterStr
dependencies: 1
inputs: subreddit
Portland
function: QueryRelationQualifier
dependencies: 0
2
inputs: place of birth
located in the administrative territorial entity