-
Notifications
You must be signed in to change notification settings - Fork 57
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
How should language
be used in RDF mapping?
#59
Comments
Are there precedents (in CSV standards or W3C in general) for special-casing "en" in this way? |
discussion: See http://www.w3.org/2014/11/12-csvw-irc#T15-18-27 |
Well... In HTML, if the language tag is not set, the language is considered to be in English... But, indeed, we can leave that to the author. It is true, isn't it, that the language setting is not required in the metadata? If that is the case, we can use this: if there is no language setting, the output can be plain literal, and language literal otherwise. Ivan |
Discussed in meeting 12-Nov-2014 (Minutes); summary ... RESOLUTION: for RDF mapping, apply locale / language tag from metadata to all literal string values in output RESOLUTION: for (plain old) JSON mapping, no locale information is added to the JSON output - we assume that people will look at the complimentary metadata for locale information We agreed that for the 'plain old JSON' mapping, we don't include locale information because we want it to be as simple as possible. If people want locale, then they should use the RDF mapping & JSON-LD syntax. Finally, we noted that if you want to say a particular locale for plain old json, you might say "property_en" or "property_fr". This mechanism could be used to distinguish between columns that confer the same property but in different languages. The 2-letter country code suffix gives a human readable hint. We agreed not to implement anything regarding assumptions about "en" locale/language. Issue not closed because the Mapping doc is not yet updated. |
csv2rdf doc updated as per resolution. |
The metadata may include a
language
tag, that is for the content of the data. How does this translate into RDF? Proposal:language
tag set.(Seems fairly uncontroversial, I put this as a possible entry to decide right away.)
The text was updated successfully, but these errors were encountered: