Closed skwlilac closed 7 years ago
I've added a fix for this. I've made the sort order for property p
be _sort=p.label,p.prefLabel,p
, so that some stable order is achieved even if the resource has no labels
I've decided to back out this change for now. Arguably it will give unexpected results in other ways (sorting by bathing water URI will cluster the results geographically), and it makes calculating the sort removal links complicated. My suggestion is that we leave it as sorting lexically by URI, and see what user feedback we get.
There hasn't been any negative feedback on this, so closing.
I see that you can sort on property values, even URI nodes. Sorting URI nodes on the 'spelling' of the URI may not be the best approach. It's probably more useful to sort on an rdfs:label or skos:prefLabel associated with the URI. Give appropriate shortname decls and some non-literal valued property,:
will sort by prefLabel and (in the absence of a prefLabel) by label.