schema.org/ext/listitem.html
author scor <scorlosquet@gmail.com>
Fri, 14 Mar 2014 12:03:13 -0400
changeset 179 b4c3ad199322
parent 124 95c9cf7f4dc8
permissions -rw-r--r--
Add example inspired from stackoverflow for QA proposal
<!DOCTYPE html>
<html><head><title>Improvements to ListItem for schema.org</title>
    <style type="text/css">
      span.h {
        padding-left: 0px;
        font-weight: bold;
      }
      span {
        display: block;
        padding-left: 10px;
      }
    </style>
  </head>
  <body>

   <h1>ListItem improvements</h1>


<!-- ========================== -->
<!-- CHANGES TO EXISTING ELEMENTS -->
<!-- ========================== -->

<!-- New range
<div typeof="rdf:Property" about="http://schema.org/itemListElement">
        <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/ItemList">ItemList</a></span>
        <span>Range: <a property="http://schema.org/range" href="http://schema.org/ListItem">ListItem</a></span>
        <span>Range: <a property="http://schema.org/range" href="http://schema.org/Text">Text</a></span>
	<span>Range: <a property="http://schema.org/range" href="http://schema.org/Thing">Thing</a></span>

        ItemList
</div>

<!-- ========================== -->
<!-- ADDITIONAL ELEMENTS -->
<!-- ========================== -->

<div typeof="rdfs:Class" about="http://schema.org/ListItem">
        <span class="h" property="rdfs:label">ListItem</span>
        <span property="rdfs:comment">A list item, e.g. a step in a checklist or how-to description.</span>
        <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/StructuredValue">StructuredValue</a></span>
</div>

<div typeof="rdf:Property" about="http://schema.org/itemPosition">
        <span class="h" property="rdfs:label">itemPosition</span>
        <span property="rdfs:comment">The position of the item in an ordered list (1 = first, 2 = second, ...).</span>
        <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/ListItem">ListItem</a></span>
        <span>Range: <a property="http://schema.org/range" href="http://schema.org/Number">Number</a></span>
</div>


<div typeof="rdf:Property" about="http://schema.org/item">
	<span class="h" property="rdfs:label">item</span>
	<span property="rdfs:comment">The entity represented by the entry in the list (e.g. the artist, song, ...).</span>
	<span>Domain: <a property="http://schema.org/domain" href="http://schema.org/ListItem">ListItem</a></span>
	<span>Range: <a property="http://schema.org/range" href="http://schema.org/Thing">Thing</a></span>
</div>

<div typeof="rdf:Property" about="http://schema.org/previous">
	<span class="h" property="rdfs:label">previous</span>
	<span property="rdfs:comment">A link to the ListItem that preceeds the current one.</span>
	<span>Domain: <a property="http://schema.org/domain" href="http://schema.org/ListItem">ListItem</a></span>
	<span>Domain: <a property="http://schema.org/range" href="http://schema.org/ListItem">ListItem</a></span>
</div>

<div typeof="rdf:Property" about="http://schema.org/next">
	<span class="h" property="rdfs:label">next</span>
	<span property="rdfs:comment">A link to the ListItem that follows the current one.</span>
	<span>Domain: <a property="http://schema.org/domain" href="http://schema.org/ListItem">ListItem</a></span>
	<span>Domain: <a property="http://schema.org/range" href="http://schema.org/ListItem">ListItem</a></span>
</div>


</body>
</html>