W3C home > Mailing lists > Public > semantic-web@w3.org > April 2020

Re: Detecting cycles in OWL

From: Diogo FC Patrao <djogopatrao@gmail.com>
Date: Fri, 24 Apr 2020 10:58:40 -0300
Message-ID: <CAFRj_AfcMjJEWd_ffYerxCMZ0CRJGZcFhAmoUt9dO6q=6GsyXw@mail.gmail.com>
To: Mikael Pesonen <mikael.pesonen@lingsoft.fi>
Cc: SW-forum <semantic-web@w3.org>
right, it needs the SOME clause. maybe:

p1 o p2 SOME B AND p3 o p4 SOME B AND sameAs SOME B

?



--
diogo patrão




On Fri, Apr 24, 2020 at 10:52 AM Mikael Pesonen <mikael.pesonen@lingsoft.fi>
wrote:

>
> Hi Diogo,
>
> wouldn't that mean that CycleFromA is same as B?
>
>
> On 24/04/2020 16.42, Diogo FC Patrao wrote:
>
> Hi Mikael
>
> I'm far from my Protege but I guess you have to intersect the axiom below
> with "sameAs: B"
>
> Class: CycleFromA
>      EquivalentTo: p1 o p2 SOME B AND p3 o p4 SOME :B
>
>
> --
> diogo patrão
>
>
>
>
> On Fri, Apr 24, 2020 at 10:30 AM Mikael Pesonen <
> mikael.pesonen@lingsoft.fi> wrote:
>
>>
>> Hi,
>>
>> I would like to find out wheather data contains a cycle so that some
>> individuals of two different classes are connected together with 2 or
>> more property paths.
>>
>> So there are two paths in the data (--x--> denoting property):
>>
>> a:A --p1--> c:C --p2--> b:B
>>
>> a:A --p3--> d:D --p4--> b:B
>>
>> Is it possible to express in OWL  that some individual of type A is
>> connected to some individual of type B through these two property paths
>> (p1 o p2) and (p3 o p4)?
>>
>>
>> Closest I've come up is this
>>
>> Class: CycleFromA
>>      EquivalentTo: p1 o p2 SOME B AND p3 o p4 SOME :B
>>
>> but this doesn't force b to be same individual. And how this CycleFromA
>> could be used for reasoning and finding out if such double connection
>> exists?
>>
>> Thank you.
>>
>>
> --
> Lingsoft - 30 years of Leading Language Management
> www.lingsoft.fi
>
> Speech Applications - Language Management - Translation - Reader's and Writer's Tools - Text Tools - E-books and M-books
>
> Mikael Pesonen
> System Engineer
>
> e-mail: mikael.pesonen@lingsoft.fi
> Tel. +358 2 279 3300
>
> Time zone: GMT+2
>
> Helsinki Office
> Eteläranta 10
> FI-00130 Helsinki
> FINLAND
>
> Turku Office
> Kauppiaskatu 5 A
> FI-20100 Turku
> FINLAND
>
>
Received on Friday, 24 April 2020 13:59:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 24 April 2020 13:59:06 UTC