added subtype for existing MedicalCode, and lifted its properties to attach to any Topic.
authordanbri <danbri@google.com>
Wed, 20 Nov 2013 15:38:24 +0100
changeset 154 a23b9fe3caf2
parent 153 f08c698a7d33
child 155 512fc5114181
added subtype for existing MedicalCode, and lifted its properties to attach to any Topic.
schema.org/ext/miniskos.html
--- a/schema.org/ext/miniskos.html	Tue Nov 19 20:04:23 2013 +0100
+++ b/schema.org/ext/miniskos.html	Wed Nov 20 15:38:24 2013 +0100
@@ -21,12 +21,29 @@
 
     <div typeof="rdfs:Class" resource="http://schema.org/Topic">
       <span class="h" property="rdfs:label">Topic</span>
-      <span property="rdfs:comment">Schema.org's notion of 'Topic' covers categories, controlled lists of values, subject classification codes (e.g. UDC, Dewey), thesauri and other controlled codes. This mechanism is not intended as a general-purpose knowledge representation system. In schema.org a Topic code (typically published at some url, eg. using W3C SKOS) can be used to express what a creative work is 'about', but also it can be used with the occupationalCategory of a JobPosting, amongst other properties. For example, the targetUrl of an AlignmentObject can also be used in this way, when describing educationally-oriented resources. 'Topic' in schema.org corresponds to 'Concept' in W3C's SKOS language.</span>
+      <span property="rdfs:comment">Schema.org's notion of 'Topic' covers categories, controlled lists of values, subject classification codes (e.g. UDC, Dewey), thesauri and other controlled codes. This mechanism is not intended as a general-purpose knowledge representation system. In schema.org a Topic code (typically published at some url, eg. using W3C SKOS) can be used to express what a creative work is 'about', but also it can be used with the occupationalCategory of a JobPosting, amongst other properties. For example, the targetUrl of an AlignmentObject can also be used in this way, when describing educationally-oriented resources. 'Topic' in schema.org corresponds to 'Concept' in W3C's SKOS language. Simple textual descriptions of a topical 'codeValue' and its 'codingSystem' can also be expressed textually.</span>
       <span>equivalent class: <a property="owl:equivalentClass" href="http://www.w3.org/2004/02/skos/core#Concept">skos:Concept</a></span>
       <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/Intangible">Intangible</a></span>
       <span>Source:  <a property="dc:source" href="http://www.w3.org/wiki/WebSchemas/SchemaDotOrgSources#source_SKOSClass">SKOS</a></span>
     </div>
 
+<p>We also generalize some existing properties from MedicalCode, which we declare to be a subtype of Topic.</p>
+
+    <div typeof="rdfs:Class" resource="http://schema.org/MedicalCode"><link property="rdfs:subClassOf" href="http://schema.org/Topic" /></div>
+
+<p>We add a domainIncludes association to Topic for these two properties:</p>
+
+<ul>
+<li>
+    <div typeof="rdf:Property" resource="http://schema.org/codeValue">codeValue: "The actual code.".
+      <span>domainIncludes: <a property="http://schema.org/domain" href="http://schema.org/Topic">Topic</a></span></div>
+</li>
+<li>
+    <div typeof="rdf:Property" resource="http://schema.org/codingSystem">codingSystem: "The coding system, e.g. 'ICD-10'.".
+      <span>domainIncludes: <a property="http://schema.org/domain" href="http://schema.org/Topic">Topic</a></span></div>
+</li>
+</ul>
+
     <p>We add a range of 'Topic' to these properties: about, occupationalCategory, targetUrl, applicationCategory, applicationSubCategory, category, mentions  ...</p>
 
     <div typeof="rdf:Property" resource="http://schema.org/occupationalCategory">
@@ -53,6 +70,10 @@
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Topic">Topic</a></span>
     </div>
 
+    <div typeof="rdf:Property" resource="http://schema.org/genre">
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Topic">Topic</a></span>
+    </div>
+
     <div typeof="rdf:Property" resource="http://schema.org/mentions"> <!-- cf foaf:focus, re mentioning the topic as a topic; we skip a level of indirection. -->
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Topic">Topic</a></span>
     </div>