Hi Rob,
the original intent of this dash:ValueTableViewer is to render custom
tables, where a dedicated sh:NodeShape is defined for the columns. Just
like in the online example sh:node should be used to link the
sh:PropertyShape with that node shape.
It is also a read-only table, which means that a typical use case is to
use it for inferred values.
I do notice however that currently, in the absence of a sh:node
constraint it will fall back to using the sh:class, which in your case
is probably a subclass of skos:Concept. I need to review this for 7.0.
On the short term, try defining a dedicated sh:NodeShape just for that
table, using sh:node. Only those columns should appear if you do that.
If you're getting stuck, please provide snippets/details of what you
have attempted so far.
Holger
On 2020-12-17 12:50 pm, [email protected] wrote:
I have a ValueTableView for a class which works fine and displays the
properties i want, using a sh:node according to the documentation at:
http://datashapes.org/forms.html#ValueTableViewer
when an instance of the class is also a skos:Concept, and I include
the skos shapes
owl:imports <http://topbraid.org/skos.shapes> ; then the table view
adds empty rows for all the possible skos properties, even though the
SKOS shapes doesnt bind skosk:Concept to a sh:node ...
I can't avoid having the import (easily) because its a taxonomy asset
class - the purpose of my class declaration is to have class-specific
views at different levels in the taxonomy..
so three questions:
1) is this a bug?
2) if not, what is the actual mechanism it uses, and is it documented?
3) regardless, how can I suppress this behaviour?
Cheers
Rob
--
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 [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/4a6b9e7b-b4d6-4fed-88ac-c710aea054c9n%40googlegroups.com
<https://groups.google.com/d/msgid/topbraid-users/4a6b9e7b-b4d6-4fed-88ac-c710aea054c9n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/2f846f13-f06b-8493-6ebe-5123aeda7de9%40topquadrant.com.