schema.org/ext/listitem.html
author scor <scorlosquet@gmail.com>
Fri, 14 Mar 2014 12:03:13 -0400
changeset 179 b4c3ad199322
permissions -rw-r--r--
Add example inspired from stackoverflow for QA proposal
     1 <!DOCTYPE html>
     2 <html><head><title>Improvements to ListItem for schema.org</title>
     3     <style type="text/css">
     4       span.h {
     5         padding-left: 0px;
     6         font-weight: bold;
     7       }
     8       span {
     9         display: block;
    10         padding-left: 10px;
    11       }
    12     </style>
    13   </head>
    14   <body>
    15 
    16    <h1>ListItem improvements</h1>
    17 
    18 
    19 <!-- ========================== -->
    20 <!-- CHANGES TO EXISTING ELEMENTS -->
    21 <!-- ========================== -->
    22 
    23 <!-- New range
    24 <div typeof="rdf:Property" about="http://schema.org/itemListElement">
    25         <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/ItemList">ItemList</a></span>
    26         <span>Range: <a property="http://schema.org/range" href="http://schema.org/ListItem">ListItem</a></span>
    27         <span>Range: <a property="http://schema.org/range" href="http://schema.org/Text">Text</a></span>
    28 	<span>Range: <a property="http://schema.org/range" href="http://schema.org/Thing">Thing</a></span>
    29 
    30         ItemList
    31 </div>
    32 
    33 <!-- ========================== -->
    34 <!-- ADDITIONAL ELEMENTS -->
    35 <!-- ========================== -->
    36 
    37 <div typeof="rdfs:Class" about="http://schema.org/ListItem">
    38         <span class="h" property="rdfs:label">ListItem</span>
    39         <span property="rdfs:comment">A list item, e.g. a step in a checklist or how-to description.</span>
    40         <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/StructuredValue">StructuredValue</a></span>
    41 </div>
    42 
    43 <div typeof="rdf:Property" about="http://schema.org/itemPosition">
    44         <span class="h" property="rdfs:label">itemPosition</span>
    45         <span property="rdfs:comment">The position of the item in an ordered list (1 = first, 2 = second, ...).</span>
    46         <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/ListItem">ListItem</a></span>
    47         <span>Range: <a property="http://schema.org/range" href="http://schema.org/Number">Number</a></span>
    48 </div>
    49 
    50 
    51 <div typeof="rdf:Property" about="http://schema.org/item">
    52 	<span class="h" property="rdfs:label">item</span>
    53 	<span property="rdfs:comment">The entity represented by the entry in the list (e.g. the artist, song, ...).</span>
    54 	<span>Domain: <a property="http://schema.org/domain" href="http://schema.org/ListItem">ListItem</a></span>
    55 	<span>Range: <a property="http://schema.org/range" href="http://schema.org/Thing">Thing</a></span>
    56 </div>
    57 
    58 <div typeof="rdf:Property" about="http://schema.org/previous">
    59 	<span class="h" property="rdfs:label">previous</span>
    60 	<span property="rdfs:comment">A link to the ListItem that preceeds the current one.</span>
    61 	<span>Domain: <a property="http://schema.org/domain" href="http://schema.org/ListItem">ListItem</a></span>
    62 	<span>Domain: <a property="http://schema.org/range" href="http://schema.org/ListItem">ListItem</a></span>
    63 </div>
    64 
    65 <div typeof="rdf:Property" about="http://schema.org/next">
    66 	<span class="h" property="rdfs:label">next</span>
    67 	<span property="rdfs:comment">A link to the ListItem that follows the current one.</span>
    68 	<span>Domain: <a property="http://schema.org/domain" href="http://schema.org/ListItem">ListItem</a></span>
    69 	<span>Domain: <a property="http://schema.org/range" href="http://schema.org/ListItem">ListItem</a></span>
    70 </div>
    71 
    72 
    73 </body>
    74 </html>