Question: Did Hamlet create the characters Gertrude and The Ghost?
Paraphrase: Was it Hamlet that created the characters of Gertrude and The Ghost?
SPARQL (Wikidata): ASK WHERE { wd:Q41567 wdt:P674 wd:Q546616 . wd:Q41567 wdt:P674 wd:Q1813659 }