Hi Matt,

On 27/03/2021 4:38 am, Matt Goldberg wrote:
Hello-

I just downloaded TBC 7.0 and I've started experimenting with active data shapes, and so far it seems that it will be very useful for us.
Thanks, your feedback is appreciated.

I was experimenting with a property shape as the focusNode and as expected there were attributes for all the SHACL and DASH constraint component properties that I could think of at the time, except for sh:class. I see attributes for the DASH properties hasValueWithClass, rootClass, and uniqueValueForClass, but nothing in the autocomplete dropdown looks like it corresponds to sh:class. For the sake of it I tried focusNode.class in the Script Editor and got void unexpectedly.

This looks like a simple omission. It will show up once you add a triple

sh:PropertyShape
  sh:property sh:ClassConstraintComponent-class ;

and the values will be correctly typed as rdfs_Class instances.

I have not yet checked whether this would have any unintended side effects, but have recorded a ticket to get this in for a future version. You could either add this locally, or use propertyShape.value(sh.class) or, as always, graph.triples(propertyShape, sh.class, null)

Holger



Am I missing it or is it missing?

Thanks.
--
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/602a674e-9f68-4b7a-aa52-d3d26343be62n%40googlegroups.com <https://groups.google.com/d/msgid/topbraid-users/602a674e-9f68-4b7a-aa52-d3d26343be62n%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/ce92ce1c-842c-3076-3148-593acee44107%40topquadrant.com.

Reply via email to