test_result:Other Propertiesresult1: 0.09result2: 0.94result3: 0.62label: test_resulttype: result----------------------------------Incoming Referencesa has results a(inverse)b has results b(inverse)
Other Propertiesa has results test_resultlabel: instance_atype: a
Other Propertiesb has results test_resultlabel: instance_btype: b
Must have same values as a has resultResource: bProperty: b has resultValue: test_result
Hi Stefan,
if you use sh:equals, which is defined here:
https://www.w3.org/TR/shacl/#EqualsConstraintComponent
it means that the sets of values of two properties must be identical, at the same subject.
In your data it seems that instance_b doesn't have the same values for a has results and b has results.
You probably want to express something else?
Holger
PS: it took me a while to "parse" your example. For future postings, maybe consider sending the RDF/Turtle source code exported from EDG to avoid ambiguities.
--
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/cae52abd-1dc0-4e44-b78e-5ae3e0f0176c%40googlegroups.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/ff45fa7c-ef9d-4467-8081-b741bf760b3f%40googlegroups.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/699bc7d2-f4f3-415f-84c1-ae7556e26b3b%40googlegroups.com.
On 19 Sep 2019, at 10:05, Stefan Verweij <stefan...@wur.nl> wrote:
Thanks for clarifying, is what I want even possible?
Op donderdag 19 september 2019 11:00:44 UTC+2 schreef Richard Cyganiak:Stefan,sh:equals requires that two properties of the same instance have the same values.What you want is two properties of two different instances having the same values.Richard--
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 topbrai...@googlegroups.com.
You could amend the property shapes for a_has_result and b_has_result and set their sh:node to something like test:CompleteResultShape. The intention being that the result of any instance of a or b needs to have that shape.
On 19 Sep 2019, at 10:05, Stefan Verweij <stefan...@wur.nl> wrote:
Thanks for clarifying, is what I want even possible?
Op donderdag 19 september 2019 11:00:44 UTC+2 schreef Richard Cyganiak:Stefan,sh:equals requires that two properties of the same instance have the same values.What you want is two properties of two different instances having the same values.Richard--
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 topbrai...@googlegroups.com.
On 20 Sep 2019, at 09:32, Stefan Verweij <stefan....@wur.nl> wrote:Hi Richard (or others),I am currently playing around with these shape constraints and I noticed that while it is stated in the shape the property 'b_has_result' has to occur at least one time (minCount 1) it does not raise an error if the property is absent.
Once the property occurs one time however, it raises the error that is should be the same to 'a_has_result' so that seems to work, but when I tried to add another instance for b (instance_b_2), something like:test:instance_b_2rdf:type test:b ;test:notes "this instance should also be equal to a_has_result" ;test:b_has_result test:test_result ;rdfs:label "instance_b_2" ;.it results in the error Value does not have shape derived_data_well_shape. While it is exactly the same instance as 'instance_b' besides the different labeling.Do I have to adjust the CompleteResultShape somehow??
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/b9e9f516-4448-4ded-96c2-373a40cfbf1b%40googlegroups.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/72b6fefa-12ab-4a50-9341-366d9eb92af4%40googlegroups.com.