Nikolaos; One approach would be to FILTER out the class instances. I.e.:
{ ?this :prop ?value .
...
?undesiredInstance a :SubClass1 .
FILTER (?this != ?undesiredInstance)
}
-- Scott
Sent from my iPhone
> On Apr 3, 2015, at 7:05 AM, Nikolaos Beredimas <[email protected]> wrote:
>
> Quoting from http://www.w3.org/Submission/spin-modeling/ :
>
>> In other words, SPIN class descriptors can only "narrow down" and further
>> restrict what has been defined further up in the class hierarchy. In this
>> spirit, global class descriptions are those that are attached to the root
>> class rdfs:Resource or its OWL equivalent owl:Thing.
>
>
> So if you define a rule/constraint/... for owl:Thing, it is a global rule. It
> applies to every subclass of owl:Thing automatically.
>
> I have come across some use cases where this isn't the desirable behavior. I
> was wondering, therefore, if there is a stanard, SPIN way, of annotating a
> class, or the top class of a sub-hierarchy of classes, to exclude a specific
> rule/constraint or a collection of rules/constraints from applying to this
> class/classes.
> Ofc, I could edit said class and annotate it with a custom property, and edit
> the spin rule/constraint accordingly to check for that annotation
> or, I could edit the classes hierarchy and move said class to a different
> hierarchy
> or any other custom solution.
>
> But I was wondering if there was a SPIN specified way of doing this.
>
> TL;DR
> How to exclude specified SPIN rules from applying to specified subclasses,
> using only the SPIN vocabulary
>
> PS. Apologies if the answer is too obvious
> --
> You received this message because you are subscribed to the Google Group
> "TopBraid Suite Users", the topics of which include Enterprise Vocabulary
> Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid
> Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
> To post to this group, send email to [email protected]
> ---
> 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].
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Group
"TopBraid Suite Users", the topics of which include Enterprise Vocabulary
Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live,
TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
---
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].
For more options, visit https://groups.google.com/d/optout.