afs commented on issue #2473:
URL: https://github.com/apache/jena/issues/2473#issuecomment-2107799909

   With 4.10.0 I get (I extracted the string from the java and ran `riot` from 
the command line.
   ```
   15:01:05 WARN  riot            :: [line: 17, col: 47] {W102} unqualified use 
of rdf:parseType is deprecated.
   15:01:05 WARN  riot            :: [line: 17, col: 47] {W106} Unknown 
rdf:parseType: 'Statements' (treated as 'Literal'.
   ```
   with 5.1.0-dev (which does have a related change):
   ```
   15:02:55 WARN  riot            :: [line: 17, col: 47] XML attribute 
'parseType' used for RDF property attribute - ignored
   15:02:55 WARN  riot            :: [line: 24, col: 47] XML attribute 
'parseType' used for RDF property attribute - ignored
   ```
   
   Some outside the spec support is reasonable but at the same time, not a 
free-for-all handling of random eccentricities.
   
   1. Is "Statement" documented anywhere public? CIM is pay-for.  What is the 
latest CIM? Errata?
   2. Deprecation of `parseType` goes back to RDF 1.0, IIUC.
   
   With corrections: (5.1.0 dev - there was a nearby change to RRX):
   ```
   {
       "@id": "cim:_248c809d-1d7b-397c-830f-6928007ae6d9",
       "dm:reverseDifferences": {
           "@value": "\n",
           "@type": "rdf:XMLLiteral"
       },
       "dm:forwardDifferences": {
           "@value": "\n<cim:A 
xmlns:cim=\"http://iec.ch/TC57/2014/CIM-schema-cim16#\"; 
xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"; 
rdf:about=\"#_individual-A-1\">\n<cim:A-2-B 
rdf:resource=\"#_individual-B-1\"></cim:A-2-B>\n</cim:A>\n<cim:B 
xmlns:cim=\"http://iec.ch/TC57/2014/CIM-schema-cim16#\"; 
xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"; 
rdf:about=\"#_individual-B-1\"></cim:B>\n<cim:D 
xmlns:cim=\"http://iec.ch/TC57/2014/CIM-schema-cim16#\"; 
xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"; 
rdf:about=\"#_individual-D-1\"></cim:D>\n",
           "@type": "rdf:XMLLiteral"
       },
       "cim:Model.differenceTo": "2027-10-01T08:37:06.779475Z",
       "cim:Model.differenceFrom": "2024-04-01T07:55:06.779475Z",
       "cim:Model.modelVersionIri": "http://ontology.adms.ru/UIP/md/2021-1";,
       "md:Model.modelingAuthoritySet": "unknown",
       "md:Model.profile": "http://profile/";,
       "md:Model.scenarioTime": "2024-05-13T08:37:06.830Z",
       "md:Model.created": "2024-05-13T08:37:06.830Z",
       "md:Model.version": "1715589426",
       "@type": "dm:DifferenceModel",
       "@context": {
           "dm": "http://iec.ch/2002/schema/CIM_difference_model#";,
           "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#";,
           "cim": "http://iec.ch/TC57/2014/CIM-schema-cim16#";,
           "meta": "http://iec.ch/TC57/2014/CIM-schema-cim16#";,
           "md": "http://iec.ch/TC57/61970-552/ModelDescription/1#";
       }
   }
   ```
   In Turtle:
   ```
   PREFIX cim:  <http://iec.ch/TC57/2014/CIM-schema-cim16#>
   PREFIX dm:   <http://iec.ch/2002/schema/CIM_difference_model#>
   PREFIX md:   <http://iec.ch/TC57/61970-552/ModelDescription/1#>
   PREFIX meta: <http://iec.ch/TC57/2014/CIM-schema-cim16#>
   PREFIX rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
   
   meta:_248c809d-1d7b-397c-830f-6928007ae6d9
           rdf:type                       dm:DifferenceModel;
           dm:forwardDifferences          "\n<cim:A 
xmlns:cim=\"http://iec.ch/TC57/2014/CIM-schema-cim16#\"; 
xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"; 
rdf:about=\"#_individual-A-1\">\n<cim:A-2-B 
rdf:resource=\"#_individual-B-1\"></cim:A-2-B>\n</cim:A>\n<cim:B 
xmlns:cim=\"http://iec.ch/TC57/2014/CIM-schema-cim16#\"; 
xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"; 
rdf:about=\"#_individual-B-1\"></cim:B>\n<cim:D 
xmlns:cim=\"http://iec.ch/TC57/2014/CIM-schema-cim16#\"; 
xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"; 
rdf:about=\"#_individual-D-1\"></cim:D>\n"^^rdf:XMLLiteral;
           dm:reverseDifferences          "\n"^^rdf:XMLLiteral;
           meta:Model.differenceFrom      "2024-04-01T07:55:06.779475Z";
           meta:Model.differenceTo        "2027-10-01T08:37:06.779475Z";
           meta:Model.modelVersionIri     
"http://ontology.adms.ru/UIP/md/2021-1";;
           md:Model.created               "2024-05-13T08:37:06.830Z";
           md:Model.modelingAuthoritySet  "unknown";
           md:Model.profile               "http://profile/";;
           md:Model.scenarioTime          "2024-05-13T08:37:06.830Z";
           md:Model.version               "1715589426" .
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to