`wikidata=` for `=chronology`

Ok, I forgot about the place= . Let’s not complicate the topic with it. Though I must say “History of” Wikipedia articles are less obscure to me than “Territorial evolution of” ones.
Mainly, I expected to associate OHM with the main item, not the “meta” one. The situation now still causes the OSM and OHM id to be split between the main item (Q30), and the meta one (Q787170) .
How is it currently proposed for the Wikidata side to arrive at the =chronology from ?country wdt:P31 wd:Q3624078 Wikidata:SPARQL query service/queries/examples - Wikidata ? The example I saw only starts with the id. OpenHistoricalMap/QLever - OpenStreetMap Wiki
Neither Q30 nor Q787170 seems to have anything linking to the other one. Even it has, it necessitates less simple query of having to find item with P402 in the list of wdt:P31 wd:Q3624078 , plus the wdt:P31 wd:Q114348619 for them?..