It is perfectly valid to have multiple hasValue values. Where do you
think the spec hints otherwise?
Holger
On 30/10/2020 6:15 pm, Tomasz Pluskiewicz wrote:
Hello.
The spec seems to implicitly hint that sh:hasValue allows a single
object.
The playground however is quite happy with a property constrained like
[
sh:path rdf:type ;
sh:hasValue schema.org:Dataset, void:Dataset, dcat:Dataset
]
and it, as expected, fails to validate when one of the required types
is missing from the focus node.
Is this correct usage by the spec or just a little liberty taken by
the validation library?
Tom
--
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/91540a6c-3f3f-46b3-901e-1cb3baa3fd8bn%40googlegroups.com
<https://groups.google.com/d/msgid/topbraid-users/91540a6c-3f3f-46b3-901e-1cb3baa3fd8bn%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/ca95181b-61aa-5683-936d-780897e71238%40topquadrant.com.