Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
VladimirAlexiev opened this issue Sep 17, 2024 · 2 comments
Closed

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

VladimirAlexiev opened this issue Sep 17, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists ontology Pertains to ontology representation unit Units of measure, quantityKinds

Comments

@VladimirAlexiev
Copy link
Collaborator

VladimirAlexiev commented Sep 17, 2024

As per #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:

  • profcim:IRI -> xsd:anyURI
  • profcim:StringIRI : string or IRI
  • rdf:LangString -> rdf:langString (have issue already)
  • md:Statement??
@VladimirAlexiev VladimirAlexiev added ontology Pertains to ontology representation unit Units of measure, quantityKinds labels Sep 17, 2024
@VladimirAlexiev VladimirAlexiev changed the title remove cims:dataType replace cims:dataType with appropriate RDF/XSD datatypes Sep 17, 2024
@VladimirAlexiev VladimirAlexiev added the duplicate This issue or pull request already exists label Sep 19, 2024
@VladimirAlexiev
Copy link
Collaborator Author

VladimirAlexiev commented Sep 19, 2024

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
Copy link
Collaborator Author

fix02-datatypes-74.ru does that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists ontology Pertains to ontology representation unit Units of measure, quantityKinds
Projects
None yet
Development

No branches or pull requests

1 participant