W3C home > Mailing lists > Public > public-schemaorg@w3.org > April 2019

Can we make Schema.org rdfs:label values usable for UI forms?

From: Pat McBennett <patm@inrupt.com>
Date: Sun, 7 Apr 2019 14:05:32 +0200
Message-ID: <CABgQ8mJD=-Qoqpfnt-M4RO4UUSiNqQRbJgQ-8yDAcxQm6FPOyQ@mail.gmail.com>
To: public-schemaorg@w3.org

I'm not regularly on this forum, so this question might reflect my newbie
status, but my question is very straightforward. Basically I was hoping to
use the Schema.org rdfs:label values as useful UI labels in my app.

For instance, when editing a Person instance in my app, I'd like to use the
'rdfs:label' value for 'http://schema.org/givenName' on my UI's form. But
currently (i.e. in https://schema.org/version/latest/schema.ttl) that value
is 'givenName', while of course a UI should show 'Given name' (for English).

Likewise, for schema:globalLocationNumber the rdfs:label value is
'globalLocationNumber', which again is not directly usable as a UI label
for this field.

So it seems that perhaps this Turtle representation of Schema.org terms is
simply using the localname of the predicate IRI as the rdfs:label.

Would it be possible to changes these rdfs:labels values to more
UI-friendly strings? Needless to say I'd be happy to provide suggested
changes for the fields we use today, but I suspect it might *not* be an
easy thing to do if those label values are simply auto-generated from the
predicate's localname...

(As a follow on, we'd also like to provide a PR for translations of these
rdfs:label values for Schema.org terms we use in our apps, i.e. just into a
couple of common languages like Spanish, French, etc).


Received on Sunday, 7 April 2019 19:57:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:12:46 UTC