Table for the 2 triples with object "Hamlet" sorted by label

SubjectPredicate
?:713db3a37852ns1:produced_work
?:Hamletfoaf:primaryTopic