[Application-profiles-ig] Some thoughts on values

Karen Coyle kcoyle at kcoyle.net
Tue Aug 11 17:45:57 BST 2020


Possibly on half-baked, but here are some thoughts: *Value type* Value type is the data type of the instance data for that property. - I think it should be called "Value Datatype" XSD as the basic set We've basically concluded that the XSD datatype set [1] is reasonably complete. We also know that for some people they are familiar with "string" as a type but not xsd:string, and "date" not xsd:date. We could find a way to include some synonyms for common types, such that "string" in Value Datatype = xsd:string. We could include this in a standard auxiliary file that also contains the more common prefixes. *Value constraints* Value constraints are essentially *functions*, they are operations to be done over the data, either in creation or ingestion. We could type these with function-like wording: - select from list (list of anything that is a datatype) -- are pick lists really that common today, especially in RDF data? - values from location (uri stem) - calculation (mathematical calculation) - ShEx code (ShEx snippet?) *Open questions* - should value strings have to be in quotes? - how to do OR when there is a choice of values -- comma delimited? -- space delimited (with quotes around values) (as in ShEx) - how to include the language codes on strings? and allow multiple strings in cells, e.g. labels I think I'll pop these into the current agenda just to save them. kc [1]https://www.w3.org/TR/xmlschema11-2/——卡伦Coylekcoyle at kcoyle.nethttp://kcoyle.netskype: kcoylenet


More information about the Application-profiles-ig mailing list