Sveino / Inst4CIM-KG

Instance of CIM Knowledge Graph
Apache License 2.0
5 stars 1 forks source link

replace cims:dataType with appropriate RDF/XSD datatypes #61

Closed VladimirAlexiev closed 2 months ago

VladimirAlexiev commented 2 months ago

As per https://github.com/Sveino/Inst4CIM-KG/issues/41, cims:dataType cim:String are replaced with rdfs:range xsd:string etc. So we should delete the definitions of these terms (these nodes with all their properties).

This query returns 36 different cims:dataType:

PREFIX cims: <http://iec.ch/TC57/1999/rdf-schema-extensions-19990926#>
PREFIX cim: <https://cim.ucaiug.io/ns#>
select ?type (count(*) as ?c) {
  ?x cims:dataType ?type
} group by ?type order by desc(?c)

Most of them are QuantityKind or XSD datatypes, but we need to examine the rest and decide:

VladimirAlexiev commented 2 months ago
dt c xsd
profcim:URL 0 xsd:anyURI Not used, but mapped for completeness
profcim:IRI 3 xsd:anyURI
profcim:StringFixedLanguage 1 xsd:string
profcim:StringIRI 3 xsd:string
VladimirAlexiev commented 2 months ago

fix02-datatypes-74.ru does that