Re: Value type constraints

On 3/29/15 12:27 AM, Holger Knublauch wrote:
> On the general naming of all these facet properties, I'd suggest we
> either include "value" into all of them, or drop it from all. From this
> perspective, it could be either
>
>      sh:valueDatatype, sh:valueType, sh:valueShape, sh:valueKind,
> sh:allowedValues
>
> or
>
>      sh:datatype, sh:type, sh:shape, sh:kind, sh:enum (?)
>
> Since these will be repeated and hand-coded over and over again, I'd
> have a slight preference to the short names, as long as we are confident
> that people will understand their meaning. I believe they are all quite
> clear, although sh:type may be confused with rdf:type.

Must we assume that properties will be hand coded? Could the property 
name be sh:vD and the label be "valueDatatype"? I really hate the idea 
of making decisions based on "hand coding," and also think that we 
should be putting more energy into labels and definitions.

I really would advise against sh:type for exactly the reason you give.

kc

>
> Holger
>
>
> On 3/28/15 3:02 AM, Jose Emilio Labra Gayo wrote:
>>
>>     sh:literalType instead of sh:datatype - since it is about literal
>>     values
>>
>>
>> For me, both are ok.
>>
>> I would also like to suggest a way to constraint the language tag. For
>> example, I would like to express concepts that have rdfs:label.
>> ex:shape a sh:Shape
>>     sh:property [
>>       sh:predicate rdfs:label ;
>>       sh:valueDatatype xsd:string ;
>>       sh:languageTag "es"
>>     ] .
>>
>> I have no preference for some specific name of that property, but I
>> think there should be some way to constraint the language tag of a
>> string literal.
>>
>> Best regards, Jose Labra
>>
>>
>>     On 3/27/15, 7:30 AM, "Richard Cyganiak" <richard@cyganiak.de
>>     <mailto:richard@cyganiak.de>> wrote:
>>
>>     >Or maybe even:
>>     >
>>     >    sh:type - for constraining the value¹s rdf:type
>>     >    sh:datatype - for constraining the value¹s literal datatype
>>
>>
>>
>>
>>
>>
>> --
>> -- Jose Labra
>>
>

-- 
Karen Coyle
kcoyle@kcoyle.net http://kcoyle.net
m: 1-510-435-8234
skype: kcoylenet/+1-510-984-3600

Received on Sunday, 29 March 2015 15:41:54 UTC