Re: ItemList

> Does it fit the schema design I posted?

Sure. That’s why I proposed them :) Actually it uses the fact that ItemListElement is Thing.

> Re 'numberOfElements' maybe we can find an existing property to
> extend?

I couldn't find anything suitable.
----
Best,
Alex



On Jun 10, 2014, at 8:49 PM, Dan Brickley <danbri@google.com> wrote:

> On 10 June 2014 17:40, Alexander Shubin <ajax@yandex-team.ru> wrote:
>> Needs examples / testing with use cases...
>> 
>> 
>> Dan,
>> 
>> you can use examples from Yandex Islands platform (Real-Time Islands):
>> http://help.yandex.ru/webmaster/interactive-answers/form-description.xml

> 
> Thanks :)
> 
> Does it fit the schema design I posted?
> 
> Re 'numberOfElements' maybe we can find an existing property to
> extend? Although I don't see anything that expects Number (listed in
> https://schema.org/Number).
> 
> (As usual, we have a mix of styles. numAdults, vs numberOfEpisodes, vs
> reviewCount vs amountOfThisGood, ...).
> 
>> Unfortunately this part of doc is not available in English. Here are the
>> examples:
>> 1.
>> 
>> <div itemscope itemtype="http://schema.org/ItemList">
>>    <link itemprop="url"
>> href="http://multivarki.ru?filters%5Bprice%5D%5BLTE%5D=39600"/>
>>        <span itemprop="numberOfElements">315</span>
>>    <div itemprop="itemListElement" itemscope
>> itemtype="http://schema.org/Product">
>>         <img itemprop="image"
>> src="http://img01.multivarki.ru.ru/c9/f1/a5fe6642-18d0-47ad-b038-6fca20f1c923.jpeg"/>
>>         <a itemprop="url" href="http://multivarki.ru/brand_502/">
>>            <span itemprop="name">BRAND 502</span>
>>         </a>
>>         <div itemprop="offers" itemscope
>> itemtype="http://schema.org/Offer">
>>             <span itemprop="price">4399 р.</span>
>>         </div>
>>      ...
>>    </div>
>>    <div itemprop="itemListElement" itemscope
>> itemtype="http://schema.org/Product">
>>      ...
>>    </div>
>>  </div>
>> 
>> 
>> 2.
>> 
>> <div itemscope itemtype="http://schema.org/ItemList">
>>    <a itemprop="url"
>> href="http://auto.yandex.ru/search?model=x6&mark=bmw&transmission=AUTOMATIC&group_by_model=false&tab=offers">Все
>>        <span itemprop="numberOfElements">170</span>объявлений</a>
>>    <div itemprop="itemListElement" itemscope
>> itemtype="http://schema.org/Product">
>>         <link itemprop="additionalType" href="http://schema.org/Auto"/>
>>         <img itemprop="image" src="super_auto.jpg" />
>>         <span itemprop="name">BMW X6</span>
>>         <a itemprop="url" href="http://auto.ru/id2345345">
>>            <span itemprop="description">вчера, Auto.ru</span>
>>         </a>
>>         <div itemprop="prodyear">2009</div>
>>         <div itemprop="offers" itemscope
>> itemtype="http://schema.org/Offer">
>>             <span itemprop="price">1 750 000 руб.</span>
>>         </div>
>>      ...
>>    </div>
>>    <div itemprop="itemListElement" itemscope
>> itemtype="http://schema.org/Product">
>>      ...
>>    </div>
>>  </div>
>> 
>> 
>> I can rewrite them in English if you wish.
> 
> I don't see why all our examples need to be in English. It's a big planet :)
> 
> Dan
> 
>> BTW, numberOfElements property is Yandex’s extension of ItemList which
>> probably would be useful to add to Schema.org either...
>> ----
>> Best,
>> Alex
>> 
>> 
>> 
>> On Jun 10, 2014, at 7:24 PM, Dan Brickley <danbri@google.com>
>> wrote:
>> 
>> On 13 May 2014 17:56, Dan Brickley <danbri@google.com> wrote:
>> 
>> On 9 May 2014 10:03, martin.hepp@ebusiness-unibw.org
>> <martin.hepp@ebusiness-unibw.org> wrote:
>> 
>> Correction:
>> 
>> The latest proposal is here:
>> 
>>  http://lists.w3.org/Archives/Public/public-vocabs/2013Sep/0143.html

>> 
>> I re-read the discussion - there was basically agreement, we were just
>> waiting for a volunteer to make it a formal proposal. I can handle that if
>> necessary.
>> 
>> This should also cover the "ranking" use cases adressed by Lorenzo.
>> 
>> 
>> Yes, let's get ItemList back on track. We got this far previously:
>> 
>> https://www.w3.org/wiki/WebSchemas/ItemList

>> 
>> There was a start at a schema,
>> https://dvcs.w3.org/hg/webschema/file/default/schema.org/ext/listitem.html

>> but I think buggy (mixing itemlist/listitem?). It needs examples too.
>> 
>> I would like to look at using this to address Breadcrumb use cases.
>> Today I've been reorganizing
>> https://www.w3.org/wiki/WebSchemas/Breadcrumbs to move specific
>> proposals into separate pages. Breadcrumbs have been awkward since
>> they also require order to be preserved. Let's try to get ItemList
>> right and then see if it applies to Breadcrumb...
>> 
>> 
>> I've made a quick test build based on Martin's draft.
>> 
>> draft site: http://sdo-wip1.appspot.com/ItemList

>> draft schema:
>> https://github.com/danbri/schemaorg/blob/sdo-itemlist/data/schema.rdfa#L9981

>> 
>> The core is http://sdo-wip1.appspot.com/itemListElement which is
>> either text, a Thing, or a ListItem; the latter indirection allows us
>> to keep track of ordering information.
>> 
>> Needs examples / testing with use cases...
>> 
>> Dan
>> 
>> 

Received on Tuesday, 10 June 2014 17:02:41 UTC