I have no explanation why there would be duplicate restrictions. In general, if 
you import or add a Turtle file twice, all blank nodes will be duplicated. 
Maybe the file was imported twice. That's all I can say from the distance.

Holger


> On 4 Apr 2023, at 10:48 am, 'Luis Enrique Ramos García' via TopBraid Suite 
> Users <topbraid-users@googlegroups.com> wrote:
> 
> Well, 
> 
> Checking the code, I do not find any import declaration in the definition of 
> Entity, and for instance the restriction hasEntityExpirationDate has the 
> following code:
> 
> <rdfs:subClassOf>
>             <owl:Restriction>
>                 <owl:onProperty 
> rdf:resource="https://www.gleif.org/ontology/Base/hasEntityExpirationDate"/>
>                 <owl:maxQualifiedCardinality 
> rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger";>1</owl:maxQualifiedCardinality>
>                 <owl:onDataRange 
> rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
>             </owl:Restriction>
>         </rdfs:subClassOf>
> 
> 
> I downloaded the ontology directly from here:
> 
> https://www.gleif.org/ontology/v1.0/Base/ontology.ttl
> 
> 
> Luis 
> 
> 
> El mar, 4 abr 2023 a las 11:25, Holger Knublauch (<hol...@topquadrant.com 
> <mailto:hol...@topquadrant.com>>) escribió:
>> Are some of those restrictions marked as owl:imported? Maybe there is 
>> confusion about the base URIs and it has cyclic imports so that it reimports 
>> itself again but then from the web? Blank nodes will just add up.
>> 
>> Which owl:Restriction in particular is malformed? I just did a very brief 
>> look and saw that it has owl:maxCardinality "1" which is incorrect as those 
>> must be numbers not strings.
>> 
>> Holger
>> 
>> 
>>> On 4 Apr 2023, at 10:12 am, 'Luis Enrique Ramos García' via TopBraid Suite 
>>> Users <topbraid-users@googlegroups.com 
>>> <mailto:topbraid-users@googlegroups.com>> wrote:
>>> 
>>> Dear All,
>>> 
>>> When I import the gleif 
>>> <https://www.gleif.org/ontology/v1.0/Base/index-en.html> ontology into top 
>>> braid composer, it seems to duplicate the restrictions, ans shown in the 
>>> attached picture. 
>>> 
>>> I double checked the code, and could confirm that effectively the code of 
>>> these restrictions is duplicated as in the example:
>>> 
>>> rdfs:subClassOf [
>>>       a owl:Restriction ;
>>>       owl:maxQualifiedCardinality 1 ;
>>>       owl:onClass gleif-base:EntityExpirationReason ;
>>>       owl:onProperty gleif-base:hasEntityExpirationReason ;
>>>     ] ;
>>>   rdfs:subClassOf [
>>>       a owl:Restriction ;
>>>       owl:maxQualifiedCardinality 1 ;
>>>       owl:onClass gleif-base:EntityExpirationReason ;
>>>       owl:onProperty gleif-base:hasEntityExpirationReason ;
>>>     ] ;
>>> 
>>> Thus, I wonder what could be the reason of this behavior?.
>>> 
>>> Moreover,  the tool reports again:
>>> 
>>> [Malformed OWL: Malformed OWL restriction] 
>>> 
>>> 
>>> Best regards
>>> 
>>> 
>>> Luis Ramos
>>> 
>>> -- 
>>> The topics of this mailing list include TopBraid EDG and related 
>>> technologies such as SHACL.
>>> To post to this group, send email to topbraid-users@googlegroups.com 
>>> <mailto:topbraid-users@googlegroups.com>
>>> --- 
>>> 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 topbraid-users+unsubscr...@googlegroups.com 
>>> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/topbraid-users/7514288b-0519-43a8-96ba-1c5a40df01cdn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/topbraid-users/7514288b-0519-43a8-96ba-1c5a40df01cdn%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>> <gleif issues.pptx>
>> 
>> 
>> -- 
>> The topics of this mailing list include TopBraid EDG and related 
>> technologies such as SHACL.
>> To post to this group, send email to topbraid-users@googlegroups.com 
>> <mailto:topbraid-users@googlegroups.com>
>> --- 
>> 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 topbraid-users+unsubscr...@googlegroups.com 
>> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/topbraid-users/BE08B90F-3D90-47C9-8844-91757720D172%40topquadrant.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/BE08B90F-3D90-47C9-8844-91757720D172%40topquadrant.com?utm_medium=email&utm_source=footer>.
> 
> 
> -- 
> The topics of this mailing list include TopBraid EDG and related technologies 
> such as SHACL.
> To post to this group, send email to topbraid-users@googlegroups.com
> --- 
> 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 topbraid-users+unsubscr...@googlegroups.com 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/CABy94XkYHr7jzTA4W0Yqq7ap%2BbdebJWvMY%2BeDGYS5sKC9urDPg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/CABy94XkYHr7jzTA4W0Yqq7ap%2BbdebJWvMY%2BeDGYS5sKC9urDPg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
To post to this group, send email to topbraid-users@googlegroups.com
--- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/6960EAD8-E6E2-477C-9A71-9C85FCCC95FD%40topquadrant.com.

Reply via email to