Open VladimirAlexiev opened 2 months ago
In the last release we clean up the deprecated stuff. On the part dcterms:Resource6 a rdf:Property this comes from the declaration of the inverse associations. in order to be able to export them we need for association end role name and in cases where dcat or cterms does not define we had to invent something. We need to discuss how to solve this.
In ontologies, it is recommended to just use external terms (optionally using owl:imports
), but not redefine them.
In the UML you cannot use an external term unless you also define it in the UML?
While analyzing datatype prop ranges, I found more cases of namespace hijacking.
@Sveino PowerSystemProjectGroup
is brand new, right?
So @griddigit-ci please check whether "In the last release we clean up the deprecated stuff" is actually done.
dcat:Resource.hasVersion xsd:anyURI
dcat:Resource.isVersionOf xsd:anyURI
dcat:Resource.keyword xsd:string
dcat:Resource.version xsd:string
dcat:Resource.versionNotes xsd:string
dcat:endDate xsd:dateTimeStamp
dcat:keyword xsd:string
dcat:startDate xsd:dateTimeStamp
dcat:temporalResolution xsd:duration
dcat:version xsd:string
dct:PowerSystemProjectGroup.description xsd:string
dct:PowerSystemProjectGroup.identifier xsd:string
dct:PowerSystemProjectGroup.title xsd:string
dct:Resource.accessRights xsd:string
dct:Resource.conformsTo xsd:string
dct:Resource.creator xsd:string
dct:Resource.description xsd:string
dct:Resource.identifier xsd:string
dct:Resource.issued xsd:dateTime
dct:Resource.license xsd:string
dct:Resource.modified xsd:date
dct:Resource.publisher xsd:string
dct:Resource.rights xsd:string
dct:Resource.rightsHolder xsd:string
dct:Resource.title xsd:string
dct:description xsd:string
dct:identifier xsd:string
dct:issued xsd:dateTime
dct:rights xsd:string
dct:rightsHolder xsd:string
dct:title xsd:string
rdf:Statement.object xsd:string
rdf:Statement.predicate xsd:string
rdf:Statement.subject xsd:string
These two files have a variety of differences. If you're on Windows, install TortoiseGit (an excellent integration of git into Explorer) and use this:
cd rdfs-improved
TortoiseGitMerge CGMES/ttl/61970-600-2_Header-AP-Voc-RDFS2019_v3-0-0.ttl CGMES-NC/ttl/Header-AP-Voc-RDFS2020.ttl
Please make the files identical. From spelling fixes (is the kept same
vs is kept the same
), the latter is the more recent version
Some of the differences are:
CGMES-NC/ttl/Header-AP-Voc-RDFS2020
has more hijacked termsdcat-cim:
in which it creates its own versions of dcat
terms.
This is a veiled form of namespace hijacking. Simply use DCAT terms, don't define your own versions.cims:M:0..1
)rdf:Statements
to rdf:Statement(but
rdf:Statement.predicate` is still a hijacking, and wrong prop name)md:Model.version
from xsd:integer
(IMHO wrong) to xsd:string
)dcat-cim
should only represent the CIM extension of DCAT. I have send an email addressing the detail.
Fixes md:Model.version from xsd:integer (IMHO wrong) to xsd:string)
I agree. This is not a problem when converting md:Model.version -> dcat:version but the revers would be difficult. I think we just then break the md:Model.version contraints.
dcat-cim
: do you need another namespace for just a few terms? You got md
.
Version as integer: then eg "002" would be returned as 2. And using multiple components may make sense, eg "2.5.3"
The plan is to move away from md
and dm
. If you like the dcat-cim
(needed for alternative dataset) we will try to get it into dcat standard.
I am OK that we might have issue to move from dcat:version
to md:version
.
you ask:
PowerSystemProjectGroup is brand new, right? Yes, but I think we need to change this model. However, both PowerSystemProjectGroup and PowerSystemProject should be in NC namespace.
dcat-cim
? We should have a discussion on this on how to proceed
These terms in CGMES-NC Header-AP-Voc-RDFS2020 are junk: not meaningful names, namespace hijacking (
dcat, dcterms
), start with uppercase. Must be fixed:Here both the URL and type are wrong:
The correct is
rdf:langString a rdfs:Datatype
. Please fix the URL (you use ascims:dataType
) and don't repeat a definition (it's a standard term).The URL is wrong (uppercase), and the comment has a grammatical error:
These external terms are defined anew. This is considered namespace hijacking and should be avoided. Unless there's a good reason for it, eg you change the definition to something more appropriate to CGMES/NC, or fix the domain.
I doubt the value of redefining external terms. Eg this one has 2 unmerged definitions. And if it's deprecated, why even use it and redefine it?