added people 2 projects example
authorMichael Hausenblas http://sw-app.org/mic.xhtml#i
Sun, 29 Jan 2012 17:35:10 +0000
changeset 44 9b68c524d297
parent 43 1de0ed739563
child 45 6c15228cae51
added people 2 projects example
people/index.html
--- a/people/index.html	Sun Jan 29 17:09:56 2012 +0000
+++ b/people/index.html	Sun Jan 29 17:35:10 2012 +0000
@@ -61,7 +61,7 @@
 </pre>
 <p>How to provide further details about a person, such as an address, is specified in section <a href="#relations-to-contact-info">relating a person to a contact information</a>.
 <div class="practice">
-	<p><span id="sample-practice" class="practicelab">Deriving domain-specific person types</span></p>
+	<p><span id="subclassing-practice" class="practicelab">Deriving domain-specific person types</span></p>
 	<p class="practicedesc">One sometimes finds specialisations of a person in a domain, for example, in the legal domain there is a distinction made between a natural person and a legal person. In such a case the publisher should, in addition to the domain-specific type (e.g., <code>legal:NaturalPerson</code>) explicitly set the type <code>foaf:Person</code> in order to increase interoperability. This also allow systems that do not perform reasoning, for example, plain SPARQL processors to benefit from it. <a href="http://answers.semanticweb.com/questions/13715/owl-subclassing-vs-new-properties-for-existing-classes" title="OWL subclassing vs new properties for existing classes - ANSWERS">Read more ...</a></p>
 </div>
 </section>
@@ -103,9 +103,8 @@
 <pre class="example">
  &lt;http://colcids.com/person/42&gt; foaf:knows &lt;http://opendataguru.net/me&gt; .
 </pre>
-
 <div class="practice">
-	<p><span id="sample-practice" class="practicelab">Trusting people's relationships</span></p>
+	<p><span id="knows-practice" class="practicelab">Trusting people's relationships</span></p>
 	<p class="practicedesc">A <code>foaf:knows</code> only establishes an unidirectional claim that someone knows someone else. The relation SHOULD only be considered to be of a mutual nature if the other person sets a <code>foaf:knows</code> relation as well. <a href="http://redcatco.com/blog/communication/foaf-building-networks-with-a-friend-of-a-friend/" title="FOAF &#8211; Building Networks With a Friend of a Friend | redcatco blog">Read more ...</a></p>
 </div>
 </section>
@@ -147,6 +146,25 @@
 <section>
 <h3 id="relations-to-project">Relating a person to a project</h3>
 <p>In order to relate a person to a project one MUST use the <a href="http://xmlns.com/foaf/spec/" title="FOAF Vocabulary Specification">FOAF Vocabulary Specification</a>.</p>
+<pre class="example">
+ @prefix gldp: &lt;http://www.w3.org/ns/people#&gt; .
+ @prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; .
+ @prefix :  &lt;http://data.sccgov.org/project/&gt; .
+
+ &lt;http://data.sccgov.org/people/björkg&gt; a foaf:Person .
+
+ :OpenData4SantaClara a foaf:Project ;
+                      gldp:title "OpenData4SantaClara" ;
+                      rdfs:label "OpenData4SantaClara" ;
+                      gldp:lead &lt;http://data.sccgov.org/people/björkg&gt; ;
+                      gldp:starts "2013-02-01T00:00:00Z"^^xsd:dateTime ;
+                      gldp:ends "2013-05-01T00:00:00Z"^^xsd:dateTime .
+</pre>
+<div class="practice">
+	<p><span id="label-practice" class="practicelab">Multiple label properties</span></p>
+	<p class="practicedesc">In order to enable generic Linked Data browsers, such as <a href="https://github.com/linkeddata/tabulator">Tabulator</a>, which typically hard-code well-known label terms to display human readable labels rather than URIs, one SHOULD repeat the content of the <code>gldp:title</code>'s literal object in an  <code>rdfs:label</code> literal object.</p>
+</div>
+
 <p class="editorsnote"><a href="https://www.w3.org/2011/gld/track/issues/20">ISSUE-20</a></p>
 </section>
 
@@ -159,7 +177,7 @@
 
 <section>
 <h2 id="gldp-terms">Terms</h2>
-<p>This section defines terms that allow to relate people to other entities, such as contact information, etc. - the terms below are defined in the namespace URI <code>http://www.w3.org/ns/people#</code>. The <a href="http://prefix.cc/gldp">preferred</a> namespace prefix for the namespace URI is <code>gldp</code>.</p>
+<p>This section defines terms that allow to relate a person to other entities, such as contact information, etc. The terms below are defined in the namespace URI <code>http://www.w3.org/ns/people#</code> and the <a href="http://prefix.cc/gldp">preferred</a> namespace prefix for the namespace URI is <code>gldp</code>.</p>
 <p>An implementer of this spec MUST support the following terms:</p>
 <table class="simple">
 	<thead>
@@ -167,9 +185,11 @@
 	</thead>
 	<tbody>
 		<tr id="gldp-terms-card"><td><code>gldp:card</code></td><td>Relates a <code>foaf:Person</code> to a <code>v:VCard</code>; read: <em>a person has a business card</em>.</td></tr>
-		<tr id="gldp-terms-ends"><td><code>gldp:ends</code></td><td>Specifies the end date of a <code>foaf:Project</code> as an <code><a href="http://www.w3.org/TR/xmlschema11-2/#dateTime" title="W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes">xsd:dateTime</a></code> [[!XMLSCHEMA2]]; read: <em>a projects ends on date</em>.</td></tr>
+		<tr id="gldp-terms-ends"><td><code>gldp:ends</code></td><td>Specifies the end date of a <code>foaf:Project</code> as an <code><a href="http://www.w3.org/TR/xmlschema11-2/#dateTime" title="W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes">xsd:dateTime</a></code> [[!XMLSCHEMA2]]; read: <em>a project ends on date</em>.</td></tr>
 		<tr id="gldp-terms-lead"><td><code>gldp:lead</code></td><td>Relates a <code>foaf:Project</code> to a <code>foaf:Person</code>; read: <em>a project has a project lead</em>.</td></tr>
-		<tr id="gldp-terms-starts"><td><code>gldp:starts</code></td><td>Specifies the start date of a <code>foaf:Project</code> as an <code><a href="http://www.w3.org/TR/xmlschema11-2/#dateTime" title="W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes">xsd:dateTime</a></code> [[!XMLSCHEMA2]]; read: <em>a projects start on date</em>.</td></tr>
+		<tr id="gldp-terms-starts"><td><code>gldp:starts</code></td><td>Specifies the start date of a <code>foaf:Project</code> as an <code><a href="http://www.w3.org/TR/xmlschema11-2/#dateTime" title="W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes">xsd:dateTime</a></code> [[!XMLSCHEMA2]]; read: <em>a project starts on date</em>.</td></tr>
+		<tr id="gldp-terms-title"><td><code>gldp:title</code></td><td>Specifies the title of a <code>foaf:Project</code> as an <code><a href="http://www.w3.org/TR/xmlschema11-2/#string" title="W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes">xsd:string</a></code> [[!XMLSCHEMA2]]; read: <em>a projects has a title</em>.</td></tr>
+		
 	</tbody>
 </table>
 </section>