- From: Dan Brickley <danbri@google.com>
- Date: Mon, 19 Jan 2015 17:18:21 +0000
- To: Simon Spero <sesuncedu@gmail.com>
- Cc: W3C Web Schemas Task Force <public-vocabs@w3.org>
Hi Simon, Thanks for these! I've opened Github issues for most of them, though I take your point that there are more out there. On 18 January 2015 at 17:54, Simon Spero <sesuncedu@gmail.com> wrote: > 1: The range of schema:purpose has no purpose. > MedicalDevicePurpose OR Thing = Thing https://github.com/schemaorg/schemaorg/issues/233 > 2: The range for schema:trailer includes MovieGameSeries https://github.com/schemaorg/schemaorg/issues/234 > 3: schema:musicBy has a much smaller domain than actor or director https://github.com/schemaorg/schemaorg/issues/235 > 4: The range of foodEstablishment is FoodEstablishment or Place; > but: FoodEstablishment is a subclass of LocalBusiness > LocalBusiness is a subclass of Place, On this one I'm more sympathetic to Martin Hepp's point. Many local businesses have foody aspects to them but it isn't always feasible to make that explicit. However I'm wary of slipping into using rangeIncludes and domainIncludes assertions purely as a UI configuration language for the Web site. > Lots, lots more. Feel free to fwd or bug-file the entire horror! We have some very basic unit tests expressed in SPARQL - https://github.com/schemaorg/schemaorg/blob/master/tests/test_graphs.py#L97 etc. which ought to catch more of these (e.g. mentions of types that don't have definitions should help avoid types). This currently requires Python RDFLib for the SPARQL tests, and I have had no success making SPARQL 1.1 property paths work as advertised, which I hoped might allow some basic matching against hierarchy. cheers, Dan > + The number of children (and adults) for which a Lodging reservations can be made can be a floating point number. https://github.com/schemaorg/schemaorg/issues/232
Received on Monday, 19 January 2015 17:18:48 UTC