技術的には、ItemListのcontentLocationを使用して、レストランを参照することができます。たとえば、次のコードを使用することができます
<!doctype html>
<head>
<title>My Restaurant</title>
</head>
<body>
<div itemscope itemtype="http://schema.org/ItemList">
<div itemprop="contentLocation" itemscope itemtype="http://schema.org/Restaurant">
<span itemprop="name">My Restaurant</span>
</div>
<ul>
<li itemprop="itemListElement">cocktailbar</li>
<li itemprop="itemListElement">terrace</li>
<li itemprop="itemListElement">free parking lots</li>
</ul>
</div>
</body>
</html>
次のGoogleリッチスニペットツールのコード例の結果:
Item
Type: http://schema.org/itemlist
contentlocation = Item(1)
itemlistelement = cocktailbar
itemlistelement = terrace
itemlistelement = free parking lots
Item 1
Type: http://schema.org/restaurant
name = My Restaurant
を代わり代わりに「約」にitempropを使用する場合があります。それがあなたにとって理にかなっていれば、ボットには意味があるかもしれません。それがあなたに意味をなさないなら、私はそれを強制しません。
この場合、このコンテンツをItemListとしてマークアップするオプションを放棄することもできます。だから間違ったネストされたセマンティクスのためにコンテンツが "おそらく"害されることはありません...しかし、あなたのコメントに感謝します! – ninsky