What is the {chapter} for {edition or translation of} of {Hamlet}
Which chapter is it in this form of Hamlet?
Which chapter is it in this version of Hamlet?
SELECT DISTINCT ?d WHERE { ?d property:edition_or_translation_of resource:Hamlet . ?d rdf:type ontology:chapter }
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/P629> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q41567> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q1980247> } 
 select distinct ?sbj where { ?sbj wdt:P629 wd:Q41567 . ?sbj wdt:P31 wd:Q1980247 } 
The tragedie of Hamlet, Prince of Denmarke The Tragedy of Hamlet, Prince of Denmark