Hi,
I'm trying to identify literals in a property A of class C1 that do
not have an identical literal in property B of class C2 using
spin:constraint defined in class C1. When I'm using the following
query, it works as long as there is only one resource with a literal
for property B.
# Literal is not listed
CONSTRUCT {
_:b0 a spin:ConstraintViolation .
_:b0 spin:violationRoot ?this .
_:b0 spin:violationPath vocab:property_A .
}
WHERE {
?this vocab:property_A ?A .
?s2 vocab:property_B ?B .
FILTER (?A != ?B) .
}
If there is more than one resource with a literal for property B of
class C2, then every literal of property A is flagged by
spin:constraint. But only literals should be flagged that do not have
an identical literal in property B.
Thank you for any help with this problem!
Best,
Christian
--
You received this message because you are subscribed to the Google Groups
"TopBraid Composer Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/topbraid-composer-users?hl=en.