W3C home > Mailing lists > Public > public-rdf-shapes@w3.org > September 2016

Re: on sh:Shape vs sh:shape

From: Holger Knublauch <holger@topquadrant.com>
Date: Tue, 27 Sep 2016 08:25:16 +1000
To: public-rdf-shapes@w3.org
Message-ID: <e5320cc4-1739-9cee-e19d-ab87791fe1f8@topquadrant.com>


On 27/09/2016 6:03, Eric Prud'hommeaux wrote:
> * Peter F. Patel-Schneider <pfpschneider@gmail.com> [2016-09-26 11:26-0700]
>> ex:ShapeWithIdenticalPath
>> 	a sh:shape ;
>> 	sh:property [
>> 		sh:predicate ex:mother .
>> 	]
>> 	sh:property [
>> 		sh:path ex:mother .
>> 	] .
>>
>> appears to use the wrong one.
>>
>> All occurrences of both should be checked.

Fixed, thanks for pointing this out:

https://github.com/w3c/data-shapes/commit/53710ca22ddc7db01ebf6789ec4f509e4152c712

>>
>>
>> It would be better not to use two names that differ only in capitalization,
>> particularly for a letter where the difference can be difficult to detect.
> I strongly endorse sh:hasShape for the property. I understand that
> there's also a provisional SPARQL function with this name but I'm not
> sure that's actualy a conflict given that the SPARQL function is
> supposed to be an implementation of the property.

Eric, how is sh:shape different from, say, sh:class in this respect? 
Wouldn't we then also have to rename sh:class to sh:hasClass?

Holger
Received on Monday, 26 September 2016 22:26:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:44 UTC