peripleo2 icon indicating copy to clipboard operation
peripleo2 copied to clipboard

Related places

Open rsimon opened this issue 7 years ago • 2 comments

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).

rsimon avatar May 29 '17 19:05 rsimon

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.

rsimon avatar May 29 '17 19:05 rsimon

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.)

rsimon avatar Jul 24 '17 18:07 rsimon