Fixing RDFa example
authorYves Raimond <yves.raimond@bbc.co.uk>
Thu, 20 Feb 2014 09:27:25 +0000
changeset 1979 01937329fb7c
parent 1978 8049ab4c2c7c
child 1980 137939198aef
Fixing RDFa example
rdf-primer/index.html
--- a/rdf-primer/index.html	Thu Feb 20 00:08:30 2014 +0100
+++ b/rdf-primer/index.html	Thu Feb 20 09:27:25 2014 +0000
@@ -1019,14 +1019,14 @@
 <span class="linenum">04</span>    &lt;div resource="http://example.org/bob#me" typeof="foaf:Person"&gt;
 <span class="linenum">05</span>      &lt;p&gt;
 <span class="linenum">06</span>        Bob knows &lt;a property="foaf:knows" href="http://example.org/alice#me"&gt;Alice&lt;/a&gt;
-<span class="linenum">07</span>        and was born on the &lt;time property="schema:birthDate"&gt;1990-07-04&lt;/time&gt;.
+<span class="linenum">07</span>        and was born on the &lt;time property="schema:birthDate" datatype="xsd:date"&gt;1990-07-04&lt;/time&gt;.
 <span class="linenum">08</span>      &lt;/p&gt;
 <span class="linenum">09</span>      &lt;p&gt;
 <span class="linenum">10</span>        Bob is interested in &lt;span property="foaf:topic_interest"
-<span class="linenum">11</span>        resource="http://www.wikidata.org/entity/"&gt;the Mona Lisa&lt;/span&gt;.
+<span class="linenum">11</span>        resource="http://www.wikidata.org/entity/Q12418"&gt;the Mona Lisa&lt;/span&gt;.
 <span class="linenum">12</span>      &lt;/p&gt;
 <span class="linenum">13</span>    &lt;/div&gt;
-<span class="linenum">14</span>    &lt;div resource="http://www.wikidata.org/entity/"&gt;
+<span class="linenum">14</span>    &lt;div resource="http://www.wikidata.org/entity/Q12418"&gt;
 <span class="linenum">15</span>      &lt;p&gt;
 <span class="linenum">16</span>        The &lt;span property="dcterms:title"&gt;Mona Lisa&lt;/span&gt; was painted by
 <span class="linenum">17</span>        &lt;a property="dcterms:creator" href="http://dbpedia.org/resource/Leonardo_da_Vinci"&gt;Leonardo da Vinci&lt;/a&gt;
@@ -1035,7 +1035,7 @@
 <span class="linenum">20</span>      &lt;/p&gt;
 <span class="linenum">21</span>    &lt;/div&gt;
 <span class="linenum">22</span>    &lt;div resource="http://data.europeana.eu/item/04802/243FA8618938F4117025F17A8B813C5F9AA4D619"&gt;
-<span class="linenum">23</span>        &lt;link property="dcterms:subject" href="http://www.wikidata.org/entity/Q12418"&gt;
+<span class="linenum">23</span>        &lt;link property="dcterms:subject" href="http://www.wikidata.org/entity/Q12418"/&gt;
 <span class="linenum">24</span>    &lt;/div&gt;
 <span class="linenum">25</span>  &lt;/body&gt;
 </pre>