peripleo2
peripleo2 copied to clipboard
Related places
In the very first Pelagios API version (2012?) we had a feature to show a tag cloud of "related places", i.e. places that have strong co-ocurrence.
Turns out a query that has a places=...
filter set and top_places=true
will automatically return such related places. Add this as a feature in the UI (place card).
Note: we need to check how "large" items influence the ranking. Since we're using an aggregation, there's no TFIDF etc. I.e. something like the Iliad could overshadow every other relation, by e.g. making the most referred-to place in the book the most related place to any other place referred to in the book.
We may be able to address that by indexing references with a weight factor of 1 / total no. of references on item
.
The Place card now shows the no. of related places. But clicking on it doesn't do anything yet. Need to decide what to show on click: e.g. either a list or a network. The data is such is "list-y" (and the network would just be a star), but a network could have the advantage that we could support expanding it on click (with related places of a related places etc.)
But things might get too messy, as the star could be very big. (Athens will have 100s of related places, even if we cut off at a threshold.)