SEMICeu / MLDCAT-AP

1 stars 1 forks source link

don't use rdfs:Literal #5

Open VladimirAlexiev opened 1 year ago

VladimirAlexiev commented 1 year ago

https://semiceu.github.io/MLDCAT-AP/releases/1.0.0/#examples represents strings like this: "Dr Hans Hofmann"^^rdfs:Literal

Don't use rdfs:Literal since:

Show strings without any datatype, since ^^xsd:string is the default datatype.

VladimirAlexiev commented 1 year ago

For integers and dates, use the appropriate datatype. Eg instead of:

<http://openml.org/openml/quality/numberofinstances/1>
  oml:value "1000"^^rdfs:Literal ;

you should use

<http://openml.org/openml/quality/numberofinstances/1>
  oml:value "1000"^^xsd:integer ;

These problems stem from the UML model, which uses Literal for all literals, i.e. is not specific enough. If you cannot fix this, then at least use pure strings, without the ^^rdfs:Literal datatype.