schema.org BusinessFunction - GoodRelations [英] schema.org BusinessFunction - GoodRelations
问题描述
我想用 schema.org 标签标记网页.我可以在文档中找到可以使用标签指定一种业务:BusinessFunction 和来自 GoodRelations 的标签.问题是我找不到它的例子.因为网页是关于软件开发人员的,我将使用标签:http://purl.org/goodrelations/v1#ProvideService.
谁能举个例子?
首先:关于使用 GoodRelations(以及 schema.org)建模服务的相关但有点过时的资源在这里:http://www.ebusiness-unibw.org/wiki/GoodRelationsService
这解释了基本模式.请注意,一些 GoodRelations 元素在 schema.org 中的名称略有不同,如下所列:http://wiki.goodrelations-vocabulary.org/Cookbook/Schema.org#Naming_Differences
我计划更新此页面并将其迁移到新的 GoodRelations Cookbook.但这是一个悬而未决的问题,需要我一段时间.
现在,针对您的具体问题:
的使用http://purl.org/goodrelations/v1#ProvideService
如果您提供的商品提供某种服务,那很好.
这是一个完整的例子:
<div itemprop="name">Web 开发服务</div><div itemprop="description">我们建立您的网站....</div><link itemprop="businessFunction"href="http://purl.org/goodrelations/v1#ProvideService"/><!-- 单价--><div itemscope itemprop="priceSpecification"itemtype="http://schema.org/UnitPriceSpecification"> 价格:<meta itemprop="priceCurrency" content="USD">$<span itemprop="price">50.00</span>每<meta itemprop="unitCode" content="HUR">小时<time itemprop="validThrough"datetime="2013-11-30T23:59:59Z"></time><!-- 其他优惠属性如下-->...
I want to mark web page with schema.org tags. I can find in the documentation that one can specify a kind o business with using tag: BusinessFunction and tag from GoodRelations. The problem is I can not find example of it. Because the web page is about software developer I'm going to use tag: http://purl.org/goodrelations/v1#ProvideService.
Can anybody give me an example?
First of all: A related yet bit outdated resource on modeling services with GoodRelations (and thus schema.org) is here: http://www.ebusiness-unibw.org/wiki/GoodRelationsService
This explains the basic pattern. Note that Some GoodRelations elements have slightly different names in schema.org, as listed here: http://wiki.goodrelations-vocabulary.org/Cookbook/Schema.org#Naming_Differences
I plan to update this page and migrate it to the new GoodRelations Cookbook. But this is an open issue and will take me a while.
Now, for your concrete question: The use of
http://purl.org/goodrelations/v1#ProvideService
is fine if the good you offer is providing a certain service.
Here is a full example:
<div itemscope itemtype="http://schema.org/Offer" itemid="#offer">
<div itemprop="name">Web Development Services</div>
<div itemprop="description">We build your Web site....</div>
<link itemprop="businessFunction"
href="http://purl.org/goodrelations/v1#ProvideService" />
<!-- Unit price -->
<div itemscope itemprop="priceSpecification"
itemtype="http://schema.org/UnitPriceSpecification">Price:
<meta itemprop="priceCurrency" content="USD">$
<span itemprop="price">50.00</span> per
<meta itemprop="unitCode" content="HUR"> hour
<time itemprop="validThrough"
datetime="2013-11-30T23:59:59Z"></time>
</div>
<!-- other offer properties follow here -->
...
</div>
这篇关于schema.org BusinessFunction - GoodRelations的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!