p><a id="SWCLOSsubtypep" name="SWCLOSsubtypep"/>
<div class="titlebar">
<div class="defname">subtypep <i>type1 type2</i></div>
<div class="deftype">[Function]</div></div>
<div class="defdescribe">returns true if <i>type1</i> is a subtype of <i>type2</i> in RDF 
  semantics. </div></p>
<p>The rdfs:subClassOf value of a resource class is retrieved using slot-value 
with slot-name rdfs:subClassOf. </p>
<code>gx-user(40): 
(slot-value rdf:Alt 'rdfs:subClassOf)<br/>#&lt;rdfs:Class 
rdfs:Container&gt;<br/></code>