what is the {follows} for {Lamentations} has {part of} as {Five Megillot} ?
which has follows for Lamentations has part of as Five Megillot ?
SELECT ?value WHERE { wd:Q179058 p:P361 ?s . ?s ps:P361 wd:Q774446 . ?s pq:P155 ?value}
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q179058> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P361> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q774446> .
?statement <http://www.wikidata.org/entity/P155> ?value. 
} 

which of the following have lamentations which in part are Five Megillot?