What is the {literary work} for {characters} of {Rama}
In Rama, what is the scholarly work for the characters?
In Rama, what is the literary work for the characters?
SELECT DISTINCT ?z WHERE { ?z property:characters resource:Rama . ?z rdf:type ontology:literary_work }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P674> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q160213> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q7725634> } 
 select distinct ?sbj where { ?sbj wdt:P674 wd:Q160213 . ?sbj wdt:P31 wd:Q7725634 } 
Ramakien Ramayana