代表 Schema.org 中的一个地方
Representing a place in Schema.org
我正在尝试了解如何识别 Schema.org 中的地点。例如,如何描述位于纽约格林威治村的 LocalBusiness
。
我希望使用代表格林威治村的 containedInPlace
property and define a Place
实体。
我可以看到两种可能性,要么使用 geo
property, or the globalLocationNumber
。
geo
并不总是可行的,因为我们没有 GeoShape
data for all locations, and [GeoCoordinates
7 并没有真正抓住格林威治村的商业概念。
我没有深入研究 globalLocationNumber
,但想知道在相关位置没有 global location number.
的情况下会发生什么
有更好的建议吗?
如果要给一个LocalBusiness
, a straightforward way is to provide its address with the address
的位置属性。
最好使用 PostalAddress
value (see example),但如果您没有结构化格式的地址,则可以提供 Text
值。
其他常规选项包括 location
(e.g., if you can’t provide an address, but only the country or city), containedInPlace
(e.g., if the business is located in another, well known place), and geo
(例如,如果该地点没有地址)。
我正在尝试了解如何识别 Schema.org 中的地点。例如,如何描述位于纽约格林威治村的 LocalBusiness
。
我希望使用代表格林威治村的 containedInPlace
property and define a Place
实体。
我可以看到两种可能性,要么使用 geo
property, or the globalLocationNumber
。
geo
并不总是可行的,因为我们没有 GeoShape
data for all locations, and [GeoCoordinates
7 并没有真正抓住格林威治村的商业概念。
我没有深入研究 globalLocationNumber
,但想知道在相关位置没有 global location number.
有更好的建议吗?
如果要给一个LocalBusiness
, a straightforward way is to provide its address with the address
的位置属性。
最好使用 PostalAddress
value (see example),但如果您没有结构化格式的地址,则可以提供 Text
值。
其他常规选项包括 location
(e.g., if you can’t provide an address, but only the country or city), containedInPlace
(e.g., if the business is located in another, well known place), and geo
(例如,如果该地点没有地址)。