W3C home > Mailing lists > Public > public-html-data-tf@w3.org > October 2011

Re: Microdata implied property order

From: Bob Ferris <zazi@smiy.org>
Date: Fri, 21 Oct 2011 11:16:11 +0200
Message-ID: <4EA1385B.4070105@smiy.org>
To: public-html-data-tf@w3.org
Hi Gregg,

On 10/20/2011 09:31 PM, Gregg Kellogg wrote:


> Thanks Bob, I've used the Ordered List Ontology before, and recommended it as a best practice; thanks for creating that. The whole issue of collections and containers is getting a lot of discussion in the RDF WG right now, and no one seems entirely satisfied with either. However, Collections (RDF:List) seems to be the preferred choice at the moment.
> At one time, I had suggested that the RDF WG consider something like the Ordered List Onotology as a better replacement for both Collections and Containers, but it does add a number of things that probably don't make it appropriate for direct syntactic support. For example, to add a track number requires asserting a property against the link element.

What do you exactly mean here? - The index number of a track in a 
playlist or the track number that is related to a record this track is 
taken from. The former one belongs to the slot object that encloses the 
track object. The latter one belongs to the track object it self (and is 
from my POV exactly on its right position) ;)

Maybe one has to be able to provide a shortcut relation for lists as 
well (List -> has -> Item), which are then additionally available to 
their detailed descriptions (List -> has -> Slot -> has -> Item). 
Detailed descriptions can then be mapped to shortcut relations. However, 
doing this the other way around might be not possible, since the 
shortcut relations do not include the index information.

(anyway, I guess, this is more a topic for the vocabs mailing list ;) )

> Within the context of this TF, we're mostly concerned with the proper representation of the Microdata syntactic elements, including whether or not to honor the implied ordering multiple itemprop values as well as the items within the document themselves.

Okay, here is my proposal:

<div itemscope orderedlist itemtype="http://schema.org/MusicPlaylist">
	1. <div itemprop="tracks" index="1" itemscope 
	2. <div itemprop="tracks" index="2" itemscope 

I added the 'orderedlist' tag to identify that this object should be 
parsed as an ordered list. I added 'index=[index number]' to each slot 
of that ordered list, i.e., the slot object is somehow hidden but its 
index number is still available.

> With regards to improving the schema.org playlist representation, you might consider bringing this topic up in public-vocabs@w3.org. In the Connected Media Experience (when it was RDF), we used a variation of the Ordered List Ontology for describing album tracks and playlists. The added HTML markup to represent them, while expressive, was considered to be something of a burden, unfortunately.

Yeah, that's why we'll need to add a bit syntactic sugar here ;)


Received on Friday, 21 October 2011 09:16:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:08:25 UTC