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

don't use domain-specific prop descriptions/names #1

Open
VladimirAlexiev opened this issue Feb 26, 2023 · 1 comment
Open

don't use domain-specific prop descriptions/names #1

VladimirAlexiev opened this issue Feb 26, 2023 · 1 comment

Comments

@VladimirAlexiev
Copy link

VladimirAlexiev commented Feb 26, 2023

https://semiceu.github.io/MLDCAT-AP/releases/1.0.0/rdf/mldcat-ap.ttl.

Don't use domain-specific prop descriptions/names, else you end up with silly stuff like this:

dct:title a owl:DatatypeProperty;
  rdfs:comment 
    "The label of the attribute."@en, 
    "The name assigned to the quality type."@en,
    "This property contains a name given to the Catalogue. This property can be repeated for parallel language versions of the name."@en,
    "This property contains a name given to the Data Service. This property can be repeated for parallel language versions of the name."@en,
    "This property contains a name given to the Dataset. This property can be repeated for parallel language versions of the name."@en,
    "This property contains a name given to the Distribution. This property can be repeated for parallel language versions of the description."@en;
  rdfs:label 
    "name"@en,
    "title"@en .

dct:identifier a owl:DatatypeProperty;
  rdfs:comment
    "An unambiguous identifier for the quality type."@en,
    "File identifier"@en,
    "Pointer to the did."@en,
    "This property contains the main identifier for the Dataset, e.g. the URI or other unique identifier in the context of the Catalogue."@en;
  rdfs:label
    "did"@en,
    "id"@en,
    "identifier"@en .

A title is a title, no matter to what resource you apply it to.

I appreciate that you collect prop names/descriptions from all places where a prop is used.
But then, these characteristics should be universal, not specific to the place where used.

If you need to make a distinction, you can use scopeNote, eg:

dct:identifier a owl:DatatypeProperty;
  skos:scopeNote "In oml:DataQualityList, we use Decentralized Identifiers (did)".
  rdfs:seeAlso <https://www.w3.org/TR/did-core/>.
@VladimirAlexiev
Copy link
Author

This is especially silly:

dct:type a owl:ObjectProperty;
  vann:usageNote "The recommended controlled vocabulary is the <a href=\"./codelist/estimationprocedure-type.html\">Estimation Procedure type</a> code list."@en,
    "The recommended controlled vocabulary is the <a href=\"./codelist/feature-type.html\">Feature type</a> code list."@en,
    "The recommended controlled vocabulary is the <a href=\"./codelist/flowparameter-type.html\">Flow Parameter type</a> code list."@en,
    "The recommended controlled vocabulary is the <a href=\"./codelist/predictionfeature-type.html\">Prediction Feature type</a> code list."@en;
  rdfs:comment "A classification for a quality."@en, "A classification of the attribute."@en;
  rdfs:label "type"@en .

So... which is the recommended controlled vocabulary really?

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