Sorting ValueTableViewer

21 views
Skip to first unread message

Marie Valadez

unread,
Mar 4, 2024, 11:55:56 AMMar 4
to TopBraid Suite Users
We are working in TopBraid EDG 7.7.1. We are setting up a dash:ValueTableViewer and wondering if you are able to sort the table differently?
Example: Table with three columns:
  1. concept
  2. map
  3. description
All show the rdfs:label associated with them. We would like to sort on the map column by the skos:notation for the map. Is there a way to do this with ValueTableViewer?

Thank you!

Marie Valadez

Holger Knublauch

unread,
Mar 5, 2024, 6:00:54 AMMar 5
to 'Richard Nagelmaeker' via TopBraid Suite Users
Are the values computed via a sh:values rule? If yes, have you tried using a sh:select with an ORDER BY clause?

Holger


--
The topics of this mailing list include TopBraid EDG and related technologies such as SHACL.
To post to this group, send email to topbrai...@googlegroups.com
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/fc5b693e-3308-429d-a0cf-01d0f23321ffn%40googlegroups.com.

Marie Valadez

unread,
Mar 5, 2024, 4:10:02 PMMar 5
to TopBraid Suite Users
It doesn't use a select query. It is formulated from sh:path.

Holger Knublauch

unread,
Mar 5, 2024, 5:07:40 PMMar 5
to 'Richard Nagelmaeker' via TopBraid Suite Users
The values from a sh:path are unsorted so I believe you would need to turn this into a sh:values computation with SPARQL to get them sorted.

Holger


-- 
The topics of this mailing list include TopBraid EDG and related technologies such as SHACL.
To post to this group, send email to topbrai...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages