Question: Which city was Friends set in?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q79784 wdt:P840 ?obj . ?obj wdt:P31 wd:Q515 } 
Answer: New York City