Question: Rama was a character of which national epic ?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P674 wd:Q160213 . ?sbj wdt:P31 wd:Q1521512 } 
Answer: Ramayana