W3C home > Mailing lists > Public > public-dxwg-wg@w3.org > July 2019

Re: [dxwg] Current https://raw.githubusercontent.com/w3c/dxwg/gh-pages/dcat/rdf/dcat.ttl is inconsistent (#944)

From: Riccardo Albertoni via GitHub <sysbot+gh@w3.org>
Date: Mon, 08 Jul 2019 17:44:53 +0000
To: public-dxwg-wg@w3.org
Message-ID: <issue_comment.created-509324392-1562607892-sysbot+gh@w3.org>
Opening DCAT with protege5.0 returns the message 
"Entity not properly recognized, missing triples in input?"
in correspondence of the unqualified cardinality restriction 
```
dcat:CatalogRecord  rdfs:subClassOf [
        rdf:type owl:Restriction ;
       owl:cardinality "1"^^xsd:nonNegativeInteger ;
       owl:onProperty foaf:primaryTopic ;
] ;
```
I have made different attempts to fix this, but with very limited success.
Just reporting some of the many attempts I made  

***Attempt A***:  
Simply Drop the restriction, which produces a ttl which can be opened by Protege without problem

***Attempt B*** :
Replacing the unqualified cardinality restriction with qualified restriction, but it does seem to work ... 

***Attempt C1***:
Rewrite the unqualified cardinality restriction after opening the ttl, and save it as TTL, Then reopen it, obtaining the same error when reopening the created file.

***Attempt C2***:
Rewrite the unqualified cardinality restriction after opening the ttl, and save it as OWl functional Syntax. 
Then reopen it. This seems to work. Protege 5.5.0 opens the ontology without ERROR.
I have to check consistency for the above with ELK 0.4.3 reasoner, and everything seems to be ok.

I do not know what to think.  Is it something connected to the serialization syntax? Any idea?





-- 
GitHub Notification of comment by riccardoAlbertoni
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/944#issuecomment-509324392 using your GitHub account
Received on Monday, 8 July 2019 17:44:54 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 30 October 2019 00:15:54 UTC