Question: What is the subreddit of the United States city that is located in the Portland metropolitan area?
Choices:
Kentucky
belgium
Luxembourg
logic
doctorwho
startrek
manhattan
sichuan
Lesotho
Portland
Answer: Portland
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Portland metropolitan area" .  ?e <subreddit> ?pv .  }
Program:
function: Find
inputs: Portland metropolitan area
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: QueryAttr
dependencies: 2
inputs: subreddit