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

overlapping CodeList vs non-codelist properties #192

Open
VladimirAlexiev opened this issue Sep 25, 2023 · 0 comments
Open

overlapping CodeList vs non-codelist properties #192

VladimirAlexiev opened this issue Sep 25, 2023 · 0 comments

Comments

@VladimirAlexiev
Copy link

Related to #189

There are properties that seem to have the same meaning, but

  • one is coded (object prop pointing to a codelist)
  • the other is uncoded (data prop with range xsd:string, i.e. free text).

For example:

  • https://vocabulary.uncefact.org/AccessRightsTypeCodeList shows
    unece:accessRightsTypeAccessRightsCode
    with descr "The code specifying the access rights, such as unlimited, restricted, prohibited, for this requesting party."
    and range unece:AccessRightsTypeCodeList
  • the ontology (converted to turtle):
uncefact:accessRightsCode
        rdf:type                        rdf:Property ;
        rdfs:comment                    "The code specifying the access rights, such as unlimited, restricted, prohibited, for this requesting party." ;
        schema:rangeIncludes            xsd:string ;

Furthermore, the prop names are inconsistent and the coded prop name is just baroque.
Merge and unify to eg the following naming:

uncefact:accessRightsType
        rdf:type                        rdf:Property ;
        rdfs:comment                    "The code specifying the access rights, such as unlimited, restricted, prohibited, for this requesting party." ;
        schema:rangeIncludes            uncefact:AccessRightsType.

uncefact:AccessRightsType a rdfs:Class;
  rdfs:comment "A character string used to represent the type of access rights.".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant