To get the COUNT of a path expression, spl:objectCount will not help.
Normally, counting can be done via a nested SELECT query with a COUNT in
SPARQL. However, nested queries by default do not "see" variables from the
outside, making them rather inefficient. There is a new SPARQL keyword,
Thank you Holger. That's a good idea to use count to narrow down the ones
that are the same.
Do you happen to have more documentation on the spl:ObjectCount?
I am trying to find a way to utilize this with inherited ones as well
through skos:broader*/ex:category where in some cases they might
Ok, to express that, I believe you need to
1) Make sure that the number of property values is the same for both concepts,
and that
2) The second concept does NOT have any values that the first concept does not
also have.
This can be expressed using FILTER NOT EXISTS { … }.
To count values
Hi Holger,
Thanks for getting back to me so quickly.
I only want to return Concept B since it has exactly the same blank nodes
as Concept A. I don't want to return Concept C and Concept D since they
either have 1 less or 1 more than Concept A.
On Thursday, February 22, 2024 at 2:55:09 AM
I am in EDG trying to find instances where another Concept has the exact
same values for the property (no more or less). The values can be inherited
through skos:broader or directly stated on the concept itself. The property
connects to a blank node which contains 2 additional properties and