Question: WHAT STUDENTS ARE IN GRYFFINDOR IN HARRY POTTER?
Paraphrase: WHAT STUDENTS ARE IN HARRY POTTER GRYFFINDOR?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q8337 wdt:P674 ?obj . ?obj wdt:P31 wd:Q33179355 } 
Answer: Ron Weasley, Hermione Granger, Ginny Weasley, Minerva McGonagall, Albus Dumbledore, James Potter, Lily Potter, Harry Potter