Search Mailing List Archives
[protege-discussion] Using string equivalency for classes
Thomas Russ
tar at ISI.EDU
Mon Apr 5 10:46:13 PDT 2010
This really should be on the protege-owl mailing list.
On Apr 5, 2010, at 4:04 AM, João Cabrita wrote:
> However, I would like to achieve the same result while using
> strings. For instance an instance with a certain DatatypeProperty
> that has the string "finished" would go to a class and another with
> the value "inProgress" would go to another one.
>
> I have written equivalent class expressions to do this, but there
> are two problems: The first one is that I cannot seem to use the
> "==" or the correct langPattern equivalency, only a <= sign or
> similar.
> The second problem is that even with this <= problem, the reasoner
> does not place the individuals in the correct places.
You use the hasValue restriction.
More information about the protege-discussion
mailing list