Added missing foaf:PersonalProfileDocument statement from examples. Also fixed the scheme for the image URL in the example. identity-changes
authorAndrei Sambra <andrei@fcns.eu>
Thu, 11 Apr 2013 11:22:13 +0200
branchidentity-changes
changeset 363 f4af18956d91
parent 346 3063cd878c9f
child 364 2e51697ea53b
Added missing foaf:PersonalProfileDocument statement from examples. Also fixed the scheme for the image URL in the example.
spec/identity-respec.html
--- a/spec/identity-respec.html	Fri Feb 08 11:38:01 2013 +0100
+++ b/spec/identity-respec.html	Thu Apr 11 11:22:13 2013 +0200
@@ -495,12 +495,16 @@
 Take for example the WebID <em>https://bob.example/profile#me</em>, for which the WebID Profile document contains the following Turtle representation:
 </p>
 <pre class="example" style="word-wrap: break-word; white-space: pre-wrap;">
- @prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; .
+@prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; .
 
- &lt;#me&gt; a foaf:Person;
+&lt;&gt; a foaf:PersonalProfileDocument;
+   foaf:maker &lt;https://bob.example/profile#me&gt;;
+   foaf:primaryTopic &lt;https://bob.example/profile#me&gt;.
+
+&lt;#me&gt; a foaf:Person;
    foaf:name "Bob";
    foaf:knows &lt;https://example.edu/p/Alice#MSc&gt;;
-   foaf:img &lt;http://bob.example/picture.jpg&gt;.
+   foaf:img &lt;https://bob.example/picture.jpg&gt;.
 </pre>
 </section>
 <section class="informative">
@@ -511,7 +515,7 @@
 </p>
 <pre class="example" style="word-wrap: break-word; white-space: pre-wrap;">
 &lt;div vocab="http://xmlns.com/foaf/0.1/" about="#me" typeof="foaf:Person"&gt;
-  &lt;p&gt;My name is &lt;span property="name"&gt;Bob&lt;/span&gt; and this is how I look like: &lt;img property="img" src="http://bob.example/picture.jpg" title="Bob" alt="Bob" /&gt;&lt;/p&gt;
+  &lt;p&gt;My name is &lt;span property="name"&gt;Bob&lt;/span&gt; and this is how I look like: &lt;img property="img" src="https://bob.example/picture.jpg" title="Bob" alt="Bob" /&gt;&lt;/p&gt;
   &lt;h2&gt;My Good Friends&lt;/h2&gt;
   &lt;ul&gt;
     &lt;li property="knows" href="https://example.edu/p/Alice#MSc"&gt;Alice&lt;/li&gt;
@@ -541,11 +545,15 @@
 <pre class="example" style="word-wrap: break-word; white-space: pre-wrap;">
  @prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; .
  @prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; .
+
+&lt;&gt; a foaf:PersonalProfileDocument;
+   foaf:maker &lt;https://bob.example/profile#me&gt;;
+   foaf:primaryTopic &lt;https://bob.example/profile#me&gt;.
  
  &lt;#me&gt; a foaf:Person;
    foaf:name "Bob";
    <strong>rdfs:seeAlso &lt;https://bob.example/friends&gt;;</strong>
-   foaf:img &lt;http://bob.example/picture.jpg&gt;.
+   foaf:img &lt;https://bob.example/picture.jpg&gt;.
 </pre>
 
 <p>Where https://bob.example/friends is a reference to an ACL protected document containing:</p>
@@ -553,6 +561,10 @@
 <pre class="example" style="word-wrap: break-word; white-space: pre-wrap;">
  @prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; .
  
+&lt;&gt; a foaf:PersonalProfileDocument;
+   foaf:maker &lt;https://bob.example/profile#me&gt;;
+   foaf:primaryTopic &lt;https://bob.example/profile#me&gt;.
+
  &lt;https://bob.example/profile#me&gt; a foaf:Person;
    foaf:knows &lt;https://example.edu/p/Alice#MSc&gt;;
    foaf:knows &lt;https://example.com/people/Mary/card#me&gt;.