Debugging Sort of an Ask query

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Debugging Sort of an Ask query

Joseph Padfield
Hi All,

I am trying to work out how to debug some odd behaviour found using the sort option with an inline ask query.

I am searching for pages with an number of semantic properties, which lead to other pages. The search works fine and return the expected pages with the correct values for the properties included in the query.

However, the results returned by the sort options are inconsistent.

The queries returns 3 values related to different properties, A, B and C. Sorting by A, B or C using the order desc work fine. Sorting by A and C using the order asc works fine, but Sorting by B  using the order asc fails to sort correctly and seems to simply return the pages sorted by the pages names instead. I have no way to explain or correct this inconsistency.

I have tried the "format=debug" option but the information returned all looks fine and has not helped at all.

I was just wondering if anyone might be able to suggest what I might try next to track down the reason for the results being displayed.



MediaWiki<>   1.28.2
Semantic MediaWiki<> 2.5.2
Semantic Result Formats<>        2.4.2
[The National Gallery, Trafalgar Square, London WC2N 5DN]<>
[The Credit Suisse Exhibition: Michelangelo & Sebastiano]<>

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
Semediawiki-user mailing list
[hidden email]