将RDFa应用到列表中完成了具有位置的项目 [英] Applying RDFa to a list completed projects with location
问题描述
某人如何将模式应用到已完成项目的列表中,例如由建筑公司完成的项目列表。
假设您有一个列表已完成的项目,包括日期,地点,描述等信息。我不知道它是否一定被认为是创意工作或地点。我正在考虑使用一般的ItemList / Item属性,但不确定它是否有很多值。所以说,那么有人会希望这是有益的或值得申请吗?
编辑:
详细说明,这里是一些代码来对应这个问题:
< section class =work-listing>
< h1>已完成项目清单< / h1>
< article class =completed-workvocab =http://schema.org/typeof =????>
< h2 property =name>帝国大厦< / h2>
< ul>
< li>< strong>位置< / strong>纽约,纽约< / li>
< li>< strong>完成< / strong> 2010< /锂>
< li>< strong>架构师< / strong> William F. Lamb< / li>
< / ul>
< p property =about>帝国大厦是一座位于纽约市曼哈顿中城的103层摩天大楼。< / p>
< / article>
< article class =completed-workvocab =http://schema.org/typeof =??> ...< / article>
< / section>
我考虑了以下内容:
我觉得这种情况需要一点点这些,但不会仅仅是归类为他们中的任何一个。我也很难写出如何写出项目的一些细节,因为这将取决于父母的决定。
另外,我知道我在上面的例子中使用了ESB,但真正的项目并不会真正落入HistoricalLandmark或Building。
谢谢!
>< article class =completed-workvocab =http://schema.org/typeof =CreativeWork>
< h2 property =name>帝国大厦< / h2>
< ul>
< li>< strong>位置< / strong> < span property =contentLocation>纽约,纽约< / li>
< li>< strong>完成< / strong> < span property =dateCreated> 2010< / span>< / li>
< li>< strong>架构师< / strong> < span property =creator> William F. Lamb< / span>< / li>
< / ul>
< p property =description>帝国大厦是位于纽约市曼哈顿中城的一座103层高的摩天大楼。< / p>
< / article>
How would someone apply schema to a list of completed projects, for example a listing of projects that were completed by an architecture firm.
Let's say you have a list of projects that were completed, consisting of information such as the date, location, description, etc.
I don't know if it is necessarily considered a CreativeWork or a Place. I'm considering using the general ItemList/Item properties but not sure if there is much value in it. So having said that, would anyone expect this to be beneficial or worth applying?
EDIT:
To elaborate, here is some code to correspond with the question:
<section class="work-listing">
<h1>List of completed projects</h1>
<article class="completed-work" vocab="http://schema.org/" typeof="????">
<h2 property="name">The Empire State Building</h2>
<ul>
<li><strong>Location</strong> New York, New York</li>
<li><strong>Completed</strong> 2010</li>
<li><strong>Architect</strong> William F. Lamb</li>
</ul>
<p property="about">The Empire State Building is a 103-story skyscraper located in Midtown Manhattan, New York City.</p>
</article>
<article class="completed-work" vocab="http://schema.org/" typeof="??">...</article>
</section>
I've considered the following:
- Item
- Article
- CreativeWork
- Place
- Event
I feel like this situation calls for a little bit of each of these but wouldn't solely be categorized as any of them. I also am having a hard time on how I would write out some of the details of the projects, as that would rely on what's decided on for the parent.
Also, I know I used the ESB in the example above but the real projects wouldn't really fall into the HistoricalLandmarkorBuilding.
Thanks!
For anyone curious, I ended up going with Creative Work:
<article class="completed-work" vocab="http://schema.org/" typeof="CreativeWork">
<h2 property="name">The Empire State Building</h2>
<ul>
<li><strong>Location</strong> <span property="contentLocation">New York, New York</li>
<li><strong>Completed</strong> <span property="dateCreated">2010</span></li>
<li><strong>Architect</strong> <span property="creator">William F. Lamb</span></li>
</ul>
<p property="description">The Empire State Building is a 103-story skyscraper located in Midtown Manhattan, New York City.</p>
</article>
这篇关于将RDFa应用到列表中完成了具有位置的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!