You need to have the events put in chronological order inside the database.
It is not the case in the Olaf's problem because the dates come from different pages.
Bruno
Le 27/01/2022 à 14:48, James Heald a écrit :
Agreed. I don't think it's guaranteed that the GROUP_CONCAT will respect the order of items it's given. (I believe this is a standing well-known requested feature in SPARQL circles).
But yet, it seems to work.
eg here's a version of the previous query, sorted by longitude https://w.wiki/4kXS and the points *do* seem to be being joined together in the right order.
-- J.
On 27/01/2022 13:39, Bruno BELHOSTE wrote:
The real problem is how to order the events in the query according to their dates in order to draw the line from one event place to the next event place.
It is clearly not easy.
Best,
Bruno
Le 27/01/2022 à 14:04, James Heald a écrit :
You're looking for a query like this one, I think
but adapted to your data.
All best,
James.
Wikidata mailing list -- wikidata@lists.wikimedia.org To unsubscribe send an email to wikidata-leave@lists.wikimedia.org