<?xml version="1.0"?>
<rdf:RDF
    xmlns:qudtspin="http://data.qudt.org/qudt/owl/qudt-spin#"
    xmlns:fn="http://www.w3.org/2005/xpath-functions#"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:qudt="http://data.nasa.gov/qudt/owl/qudt#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:spin="http://spinrdf.org/spin#"
    xmlns:glyph="http://topbraid.org/glyph#"
    xmlns:sp="http://spinrdf.org/sp#"
    xmlns:smf="http://topbraid.org/sparqlmotionfunctions#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:spl="http://spinrdf.org/spl#"
  xml:base="http://data.qudt.org/qudt/owl/1.0.0/qudt-spin.owl">
  <owl:Ontology rdf:about="">
    <owl:versionInfo rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >1.0.0</owl:versionInfo>
    <dc:rights rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >The QUDT Ontologies are issued under a Creative Commons Attribution Share Alike 3.0 United States License. Attribution should be made to TopQuadrant, Inc.</dc:rights>
    <dc:creator rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >James E. Masters</dc:creator>
    <dc:contributor rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Holger Knublauch</dc:contributor>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >A library of SPIN functions and templates to operate on the NExIOM NASA Quantities, Units, Dimentions and Data Types ontology.</rdfs:comment>
    <owl:imports rdf:resource="http://spinrdf.org/spl"/>
    <owl:imports rdf:resource="http://data.qudt.org/qudt/owl/1.0.0/qudt.owl"/>
  </owl:Ontology>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#NOTATION"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#gMonth"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#positiveInteger"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#unsignedShort"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#float"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#double"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#token"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#unsignedLong"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#unsignedByte"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#long"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#gYear"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#ID"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#hexBinary"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#time"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#NMTOKEN"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#gYearMonth"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#IDREF"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#nonPositiveInteger"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#Name"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#negativeInteger"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#unsignedInt"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#QName"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#decimal"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#short"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#dateTime"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#NCName"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#duration"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#gDay"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#byte"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#normalizedString"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#string"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#base64Binary"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#anyURI"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#date"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#gMonthDay"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#language"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#boolean"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#ENTITY"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#int"/>
  <rdfs:Datatype rdf:about="http://www.w3.org/2001/XMLSchema#integer"/>
  <owl:Class rdf:about="http://topbraid.org/glyph#Glyph">
    <rdfs:subClassOf>
      <owl:Restriction>
        <owl:onProperty>
          <owl:DatatypeProperty rdf:about="http://topbraid.org/glyph#symbol"/>
        </owl:onProperty>
        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
        >1</owl:cardinality>
      </owl:Restriction>
    </rdfs:subClassOf>
    <rdfs:subClassOf>
      <owl:Restriction>
        <owl:onProperty>
          <owl:DatatypeProperty rdf:about="http://topbraid.org/glyph#xhtmlName"/>
        </owl:onProperty>
        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
        >1</owl:cardinality>
      </owl:Restriction>
    </rdfs:subClassOf>
    <rdfs:subClassOf>
      <owl:Restriction>
        <owl:onProperty>
          <owl:DatatypeProperty rdf:about="http://topbraid.org/glyph#xhtmlNumber"/>
        </owl:onProperty>
        <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
        >1</owl:cardinality>
      </owl:Restriction>
    </rdfs:subClassOf>
    <rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Glyph</rdfs:label>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >A Glyph is a graphical unit of written language; It is a particular graphical representation, in a particular typeface, of an element of written language.</rdfs:comment>
  </owl:Class>
  <rdf:Property rdf:about="http://spinrdf.org/spl#transitive">
    <rdfs:subPropertyOf rdf:resource="http://spinrdf.org/sp#arg"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >transitive</rdfs:label>
  </rdf:Property>
  <owl:DatatypeProperty rdf:about="http://topbraid.org/glyph#symbol">
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >symbol</rdfs:label>
  </owl:DatatypeProperty>
  <owl:DatatypeProperty rdf:about="http://topbraid.org/glyph#xhtmlNumber">
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >xhtml number</rdfs:label>
  </owl:DatatypeProperty>
  <owl:DatatypeProperty rdf:about="http://topbraid.org/glyph#xhtmlName">
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >xhtml name</rdfs:label>
  </owl:DatatypeProperty>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#xi">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#958;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;xi;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î¾</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >xi</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#tilde">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#732;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;tilde;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ëœ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >small tilde</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#ang">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8736;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;ang;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ </glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >angle</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#lceil">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8968;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;lceil;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âŒˆ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >left ceiling</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#hellip">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8230;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;hellip;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€¦</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >horizontal ellipsis</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#loz">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#9674;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;loz;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â—Š</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >lozenge</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#sigma">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#963;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;sigma;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ïƒ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >sigma</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Epsilon">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#917;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Epsilon;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î•</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Epsilon</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#oline">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8254;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;oline;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€¾</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >overline</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#omega">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#969;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;omega;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ï‰</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >omega</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Pi">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#928;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Pi;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î </glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Pi</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#permil">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8240;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;permil;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€°</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >per mille</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#alpha">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#945;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;alpha;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î±</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >alpha</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#bull">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8226;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;bull;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€¢</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >bullet</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Upsilon">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#933;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Upsilon;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î¥</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Upsilon</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#prod">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8719;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;prod;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ�</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >prod</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#iota">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#953;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;iota;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î¹</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >iota</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#rsaquo">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8250;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;rsaquo;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€º</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >single right angle quotation</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#beta">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#946;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;beta;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î²</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >beta</rdfs:label>
  </glyph:Glyph>
  <spin:Template rdf:about="http://spinrdf.org/spl#InterArgument_2-3">
    <spin:labelTemplate rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Inter Argument 2-3 : {?predicate}</spin:labelTemplate>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#transitive"/>
        <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:optional>
        <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:defaultValue>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the constraint is checked against sub-properties of the predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#predicate"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the constraining predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Ask>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg2"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg3"/>
          </rdf:Description>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <sp:TriplePath>
                <sp:subject>
                  <rdf:Description rdf:nodeID="A0">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >pred</sp:varName>
                  </rdf:Description>
                </sp:subject>
                <sp:path>
                  <sp:ModPath>
                    <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
                    <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >0</sp:modMin>
                    <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >-2</sp:modMax>
                  </sp:ModPath>
                </sp:path>
                <sp:object>
                  <rdf:Description rdf:nodeID="A1">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >predicate</sp:varName>
                  </rdf:Description>
                </sp:object>
              </sp:TriplePath>
              <rdf:Description>
                <sp:subject rdf:resource="http://spinrdf.org/spin#_arg2"/>
                <sp:predicate rdf:nodeID="A0"/>
                <sp:object rdf:resource="http://spinrdf.org/spin#_arg3"/>
              </rdf:Description>
              <sp:Filter>
                <sp:expression>
                  <sp:or>
                    <sp:arg2>
                      <sp:eq>
                        <sp:arg2 rdf:nodeID="A1"/>
                        <sp:arg1 rdf:nodeID="A0"/>
                      </sp:eq>
                    </sp:arg2>
                    <sp:arg1 rdf:parseType="Resource">
                      <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                      >transitive</sp:varName>
                    </sp:arg1>
                  </sp:or>
                </sp:expression>
              </sp:Filter>
            </sp:elements>
          </sp:Optional>
          <sp:Filter>
            <sp:expression>
              <sp:not>
                <sp:arg1>
                  <sp:bound>
                    <sp:arg1 rdf:nodeID="A0"/>
                  </sp:bound>
                </sp:arg1>
              </sp:not>
            </sp:expression>
          </sp:Filter>
        </sp:where>
      </sp:Ask>
    </spin:body>
    <rdfs:subClassOf>
      <spin:Template rdf:about="http://spinrdf.org/spl#InterArgument">
        <spin:abstract rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spin:abstract>
        <rdfs:subClassOf rdf:resource="http://spinrdf.org/spin#Templates"/>
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >Inter Argument</rdfs:label>
      </spin:Template>
    </rdfs:subClassOf>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >2-3 Inter Argument Constraint</rdfs:label>
  </spin:Template>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#rho">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#961;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;rho;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ï�</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >rho</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Lambda">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#923;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Lambda;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î›</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Lambda</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#mdash">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8212;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;mdash;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€”</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >em dash</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#diams">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#9830;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;diams;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â™¦</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >diamond</rdfs:label>
  </glyph:Glyph>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getUnitQuotient">
    <spin:returnType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the denominator</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfUnits"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the system of units in which to find the result</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <rdfs:subClassOf>
      <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#UnitFunctions">
        <spin:abstract rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spin:abstract>
        <rdfs:subClassOf>
          <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#Functions">
            <spin:abstract rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
            >true</spin:abstract>
            <rdfs:subClassOf rdf:resource="http://spinrdf.org/spin#Functions"/>
            <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >Functions</rdfs:label>
          </spin:Function>
        </rdfs:subClassOf>
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >Unit functions</rdfs:label>
      </spin:Function>
    </rdfs:subClassOf>
    <spin:constraint>
      <spl:InterArgument_1-3>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemUnit"/>
      </spl:InterArgument_1-3>
    </spin:constraint>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get unit quotient</rdfs:label>
    <spin:body>
      <sp:Select>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject>
              <rdf:Description rdf:nodeID="A2">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >quantitySystem</sp:varName>
              </rdf:Description>
            </sp:subject>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#unitSystem"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_arg2"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#quantityKind"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A3">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >kind1</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_arg3"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#quantityKind"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A4">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >kind2</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A5">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >unit</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <qudtspin:getCoherentUnit>
                <sp:arg2>
                  <qudtspin:getQuantityKindQuotient>
                    <sp:arg3 rdf:nodeID="A4"/>
                    <sp:arg2 rdf:nodeID="A3"/>
                    <sp:arg1 rdf:nodeID="A2"/>
                  </qudtspin:getQuantityKindQuotient>
                </sp:arg2>
                <sp:arg1 rdf:nodeID="A2"/>
              </qudtspin:getCoherentUnit>
            </sp:expression>
          </sp:Let>
        </sp:where>
        <sp:resultVariables rdf:parseType="Collection">
          <rdf:Description rdf:nodeID="A5"/>
        </sp:resultVariables>
      </sp:Select>
    </spin:body>
    <spin:constraint>
      <spl:InterArgument_1-2>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemUnit"/>
      </spl:InterArgument_1-2>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the numerator</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
  </spin:Function>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#delta">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#948;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;delta;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î´</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >delta</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#there4">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8756;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;there4;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ´</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >therefore</rdfs:label>
  </glyph:Glyph>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getDimensionSymbol">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the result string should be encoded for html</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Dimension"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the dimension</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Select>
        <sp:where rdf:parseType="Collection">
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A6">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >symbol</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <xsd:string>
                <sp:arg1>
                  <qudtspin:getDimensionSymbol-Internal>
                    <sp:arg4 rdf:resource="http://spinrdf.org/spin#_arg2"/>
                    <sp:arg3></sp:arg3>
                    <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >0</sp:arg2>
                    <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
                  </qudtspin:getDimensionSymbol-Internal>
                </sp:arg1>
              </xsd:string>
            </sp:expression>
          </sp:Let>
        </sp:where>
        <sp:resultVariables rdf:parseType="Collection">
          <rdf:Description rdf:nodeID="A6"/>
        </sp:resultVariables>
      </sp:Select>
    </spin:body>
    <rdfs:subClassOf>
      <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#DimensionFunctions">
        <spin:abstract rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spin:abstract>
        <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#Functions"/>
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >Dimension functions</rdfs:label>
      </spin:Function>
    </rdfs:subClassOf>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get dimension symbol</rdfs:label>
  </spin:Function>
  <spin:Template rdf:about="http://spinrdf.org/spl#InterArgument_2-1">
    <spin:labelTemplate rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Inter Argument 2-1 : {?predicate}</spin:labelTemplate>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#predicate"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the constraining predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#transitive"/>
        <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:optional>
        <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:defaultValue>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the constraint is checked against sub-properties of the predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Ask>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg2"/>
          </rdf:Description>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <sp:TriplePath>
                <sp:subject>
                  <rdf:Description rdf:nodeID="A7">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >pred</sp:varName>
                  </rdf:Description>
                </sp:subject>
                <sp:path>
                  <sp:ModPath>
                    <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
                    <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >0</sp:modMin>
                    <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >-2</sp:modMax>
                  </sp:ModPath>
                </sp:path>
                <sp:object>
                  <rdf:Description rdf:nodeID="A8">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >predicate</sp:varName>
                  </rdf:Description>
                </sp:object>
              </sp:TriplePath>
              <rdf:Description>
                <sp:subject rdf:resource="http://spinrdf.org/spin#_arg2"/>
                <sp:predicate rdf:nodeID="A7"/>
                <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
              </rdf:Description>
              <sp:Filter>
                <sp:expression>
                  <sp:or>
                    <sp:arg2>
                      <sp:eq>
                        <sp:arg2 rdf:nodeID="A8"/>
                        <sp:arg1 rdf:nodeID="A7"/>
                      </sp:eq>
                    </sp:arg2>
                    <sp:arg1 rdf:parseType="Resource">
                      <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                      >transitive</sp:varName>
                    </sp:arg1>
                  </sp:or>
                </sp:expression>
              </sp:Filter>
            </sp:elements>
          </sp:Optional>
          <sp:Filter>
            <sp:expression>
              <sp:not>
                <sp:arg1>
                  <sp:bound>
                    <sp:arg1 rdf:nodeID="A7"/>
                  </sp:bound>
                </sp:arg1>
              </sp:not>
            </sp:expression>
          </sp:Filter>
        </sp:where>
      </sp:Ask>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://spinrdf.org/spl#InterArgument"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >2-1 Inter Argument Constraint</rdfs:label>
  </spin:Template>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#prime">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8242;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;prime;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€²</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >minutes</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#oplus">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8853;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;oplus;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âŠ•</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >circled plus</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#cup">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8746;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;cup;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆª</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >cup</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#cong">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8773;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;cong;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â‰…</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >approximately equal</rdfs:label>
  </glyph:Glyph>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getUnitDimensionSymbol">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a unit</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:InterArgument_1-2>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemUnit"/>
      </spl:InterArgument_1-2>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfUnits"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >A unit system</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Select>
        <sp:where rdf:parseType="Collection">
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A9">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >symbol</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <smf:cast>
                <sp:arg2 rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
                <sp:arg1>
                  <qudtspin:getUnitDimensionSymbol-Internal>
                    <sp:arg4></sp:arg4>
                    <sp:arg3 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >0</sp:arg3>
                    <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
                    <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
                  </qudtspin:getUnitDimensionSymbol-Internal>
                </sp:arg1>
              </smf:cast>
            </sp:expression>
          </sp:Let>
        </sp:where>
        <sp:resultVariables rdf:parseType="Collection">
          <rdf:Description rdf:nodeID="A9"/>
        </sp:resultVariables>
      </sp:Select>
    </spin:body>
    <rdfs:subClassOf>
      <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#DeprecatedFunctions">
        <spin:abstract rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spin:abstract>
        <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#Functions"/>
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >Deprecated functions</rdfs:label>
      </spin:Function>
    </rdfs:subClassOf>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get unit dimension symbol</rdfs:label>
  </spin:Function>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#circ">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#710;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;circ;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ë†</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >modifier letter circumflex accent</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#lsaquo">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8249;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;lsaquo;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€¹</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >single left angle quotation</rdfs:label>
  </glyph:Glyph>
  <spin:Template rdf:about="http://spinrdf.org/spl#InterArgument_2-4">
    <spin:labelTemplate rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Inter Argument 2-4 : {?predicate}</spin:labelTemplate>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#transitive"/>
        <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:optional>
        <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:defaultValue>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the constraint is checked against sub-properties of the predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#predicate"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the constraining predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Ask>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg2"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg4"/>
          </rdf:Description>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <sp:TriplePath>
                <sp:subject>
                  <rdf:Description rdf:nodeID="A10">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >pred</sp:varName>
                  </rdf:Description>
                </sp:subject>
                <sp:path>
                  <sp:ModPath>
                    <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
                    <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >0</sp:modMin>
                    <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >-2</sp:modMax>
                  </sp:ModPath>
                </sp:path>
                <sp:object>
                  <rdf:Description rdf:nodeID="A11">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >predicate</sp:varName>
                  </rdf:Description>
                </sp:object>
              </sp:TriplePath>
              <rdf:Description>
                <sp:subject rdf:resource="http://spinrdf.org/spin#_arg2"/>
                <sp:predicate rdf:nodeID="A10"/>
                <sp:object rdf:resource="http://spinrdf.org/spin#_arg4"/>
              </rdf:Description>
              <sp:Filter>
                <sp:expression>
                  <sp:or>
                    <sp:arg2>
                      <sp:eq>
                        <sp:arg2 rdf:nodeID="A11"/>
                        <sp:arg1 rdf:nodeID="A10"/>
                      </sp:eq>
                    </sp:arg2>
                    <sp:arg1 rdf:parseType="Resource">
                      <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                      >transitive</sp:varName>
                    </sp:arg1>
                  </sp:or>
                </sp:expression>
              </sp:Filter>
            </sp:elements>
          </sp:Optional>
          <sp:Filter>
            <sp:expression>
              <sp:not>
                <sp:arg1>
                  <sp:bound>
                    <sp:arg1 rdf:nodeID="A10"/>
                  </sp:bound>
                </sp:arg1>
              </sp:not>
            </sp:expression>
          </sp:Filter>
        </sp:where>
      </sp:Ask>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://spinrdf.org/spl#InterArgument"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >2-4 Inter Argument Constraint</rdfs:label>
  </spin:Template>
  <spin:Template rdf:about="http://spinrdf.org/spl#InterArgument_4-2">
    <spin:labelTemplate rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Inter Argument 2-4 : {?predicate}</spin:labelTemplate>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#transitive"/>
        <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:optional>
        <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:defaultValue>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the constraint is checked against sub-properties of the predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#predicate"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the constraining predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Ask>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg2"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg4"/>
          </rdf:Description>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <sp:TriplePath>
                <sp:subject>
                  <rdf:Description rdf:nodeID="A12">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >pred</sp:varName>
                  </rdf:Description>
                </sp:subject>
                <sp:path>
                  <sp:ModPath>
                    <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
                    <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >0</sp:modMin>
                    <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >-2</sp:modMax>
                  </sp:ModPath>
                </sp:path>
                <sp:object>
                  <rdf:Description rdf:nodeID="A13">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >predicate</sp:varName>
                  </rdf:Description>
                </sp:object>
              </sp:TriplePath>
              <rdf:Description>
                <sp:subject rdf:resource="http://spinrdf.org/spin#_arg4"/>
                <sp:predicate rdf:nodeID="A12"/>
                <sp:object rdf:resource="http://spinrdf.org/spin#_arg2"/>
              </rdf:Description>
              <sp:Filter>
                <sp:expression>
                  <sp:or>
                    <sp:arg2>
                      <sp:eq>
                        <sp:arg2 rdf:nodeID="A13"/>
                        <sp:arg1 rdf:nodeID="A12"/>
                      </sp:eq>
                    </sp:arg2>
                    <sp:arg1 rdf:parseType="Resource">
                      <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                      >transitive</sp:varName>
                    </sp:arg1>
                  </sp:or>
                </sp:expression>
              </sp:Filter>
            </sp:elements>
          </sp:Optional>
          <sp:Filter>
            <sp:expression>
              <sp:not>
                <sp:arg1>
                  <sp:bound>
                    <sp:arg1 rdf:nodeID="A12"/>
                  </sp:bound>
                </sp:arg1>
              </sp:not>
            </sp:expression>
          </sp:Filter>
        </sp:where>
      </sp:Ask>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://spinrdf.org/spl#InterArgument"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >4-2 Inter Argument Constraint</rdfs:label>
  </spin:Template>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#phi">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#966;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;phi;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ï†</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >phi</rdfs:label>
  </glyph:Glyph>
  <spin:Template rdf:about="http://spinrdf.org/spl#InterArgument_4-3">
    <spin:labelTemplate rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Inter Argument 3-4 : {?predicate}</spin:labelTemplate>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#transitive"/>
        <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:optional>
        <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:defaultValue>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the constraint is checked against sub-properties of the predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#predicate"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the constraining predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Ask>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg3"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg4"/>
          </rdf:Description>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <sp:TriplePath>
                <sp:subject>
                  <rdf:Description rdf:nodeID="A14">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >pred</sp:varName>
                  </rdf:Description>
                </sp:subject>
                <sp:path>
                  <sp:ModPath>
                    <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
                    <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >0</sp:modMin>
                    <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >-2</sp:modMax>
                  </sp:ModPath>
                </sp:path>
                <sp:object>
                  <rdf:Description rdf:nodeID="A15">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >predicate</sp:varName>
                  </rdf:Description>
                </sp:object>
              </sp:TriplePath>
              <rdf:Description>
                <sp:subject rdf:resource="http://spinrdf.org/spin#_arg4"/>
                <sp:predicate rdf:nodeID="A14"/>
                <sp:object rdf:resource="http://spinrdf.org/spin#_arg3"/>
              </rdf:Description>
              <sp:Filter>
                <sp:expression>
                  <sp:or>
                    <sp:arg2>
                      <sp:eq>
                        <sp:arg2 rdf:nodeID="A15"/>
                        <sp:arg1 rdf:nodeID="A14"/>
                      </sp:eq>
                    </sp:arg2>
                    <sp:arg1 rdf:parseType="Resource">
                      <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                      >transitive</sp:varName>
                    </sp:arg1>
                  </sp:or>
                </sp:expression>
              </sp:Filter>
            </sp:elements>
          </sp:Optional>
          <sp:Filter>
            <sp:expression>
              <sp:not>
                <sp:arg1>
                  <sp:bound>
                    <sp:arg1 rdf:nodeID="A14"/>
                  </sp:bound>
                </sp:arg1>
              </sp:not>
            </sp:expression>
          </sp:Filter>
        </sp:where>
      </sp:Ask>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://spinrdf.org/spl#InterArgument"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >4-3 Inter Argument Constraint</rdfs:label>
  </spin:Template>
  <spin:Template rdf:about="http://spinrdf.org/spl#InterArgument_4-1">
    <spin:labelTemplate rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Inter Argument 4-1 : {?predicate}</spin:labelTemplate>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#transitive"/>
        <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:optional>
        <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:defaultValue>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the constraint is checked against sub-properties of the predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#predicate"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the constraining predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Ask>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg4"/>
          </rdf:Description>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <sp:TriplePath>
                <sp:subject>
                  <rdf:Description rdf:nodeID="A16">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >pred</sp:varName>
                  </rdf:Description>
                </sp:subject>
                <sp:path>
                  <sp:ModPath>
                    <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
                    <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >0</sp:modMin>
                    <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >-2</sp:modMax>
                  </sp:ModPath>
                </sp:path>
                <sp:object>
                  <rdf:Description rdf:nodeID="A17">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >predicate</sp:varName>
                  </rdf:Description>
                </sp:object>
              </sp:TriplePath>
              <rdf:Description>
                <sp:subject rdf:resource="http://spinrdf.org/spin#_arg4"/>
                <sp:predicate rdf:nodeID="A16"/>
                <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
              </rdf:Description>
              <sp:Filter>
                <sp:expression>
                  <sp:or>
                    <sp:arg2>
                      <sp:eq>
                        <sp:arg2 rdf:nodeID="A17"/>
                        <sp:arg1 rdf:nodeID="A16"/>
                      </sp:eq>
                    </sp:arg2>
                    <sp:arg1 rdf:parseType="Resource">
                      <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                      >transitive</sp:varName>
                    </sp:arg1>
                  </sp:or>
                </sp:expression>
              </sp:Filter>
            </sp:elements>
          </sp:Optional>
          <sp:Filter>
            <sp:expression>
              <sp:not>
                <sp:arg1>
                  <sp:bound>
                    <sp:arg1 rdf:nodeID="A16"/>
                  </sp:bound>
                </sp:arg1>
              </sp:not>
            </sp:expression>
          </sp:Filter>
        </sp:where>
      </sp:Ask>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://spinrdf.org/spl#InterArgument"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >4-1 Inter Argument Constraint</rdfs:label>
  </spin:Template>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#minus">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8722;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;minus;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ’</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >minus</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#sbquo">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8218;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;sbquo;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€š</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >single low-9 quotation mark</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#upsih">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#978;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;upsih;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ï’</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >upsilon symbol</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Nu">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#925;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Nu;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î�</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Nu</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#clubs">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#9827;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;clubs;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â™£</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >club</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Sigma">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#931;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Sigma;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î£</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Sigma</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#OElig">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#338;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;OElig;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Å’</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >capital ligature OE</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#dagger">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8224;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;dagger;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€ </glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >dagger</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#prop">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8733;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;prop;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ�</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >proportional to</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#bdquo">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8222;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;bdquo;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€ž</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >double low-9 quotation mark</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Alpha">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#913;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Alpha;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î‘</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Alpha</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#int">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8747;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;int;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ«</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >integral</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#thetasy">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#977;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;thetasym;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ï‘</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >theta symbol</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#notin">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8713;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;notin;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ‰</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >notin</rdfs:label>
  </glyph:Glyph>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#convertLiteral">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >The target unit to convert to.</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >The literal to convert. Must have a qudt:Unit as datatype.</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Select>
        <sp:where rdf:parseType="Collection">
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A18">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >oldType</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <sp:datatype>
                <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
              </sp:datatype>
            </sp:expression>
          </sp:Let>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A19">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >value</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <xsd:double>
                <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
              </xsd:double>
            </sp:expression>
          </sp:Let>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A20">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >result</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <qudtspin:convert>
                <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg2"/>
                <sp:arg2 rdf:nodeID="A18"/>
                <sp:arg1 rdf:nodeID="A19"/>
              </qudtspin:convert>
            </sp:expression>
          </sp:Let>
        </sp:where>
        <sp:resultVariables rdf:parseType="Collection">
          <rdf:Description rdf:nodeID="A20"/>
        </sp:resultVariables>
      </sp:Select>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#UnitFunctions"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >convert literal</rdfs:label>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Converts a given literal (?arg1) with a unit as datatype (such as "2"^^qudt:Meter) into a target datatype (?arg2).</rdfs:comment>
  </spin:Function>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#harr">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8596;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;harr;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â†”</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >left right arrow</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#piv">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#982;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;piv;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ï–</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >pi symbol</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#eta">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#951;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;eta;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î·</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >eta</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#trade">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8482;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;trade;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â„¢</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >trademark</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#perp">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8869;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;perp;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âŠ¥</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >perpendicular</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Phi">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#934;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Phi;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î¦</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Phi</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#oelig">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#339;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;oelig;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Å“</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >small ligature oe</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Prime">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8243;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Prime;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€³</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >seconds</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#empty">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8709;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;empty;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ…</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >empty</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#mu">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#956;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;mu;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î¼</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >mu</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#uarr">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8593;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;uarr;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â†‘</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >up arrow</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#or">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8744;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;or;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ¨</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >or</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#rdquo">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8221;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;rdquo;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€�</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >right double quotation mark</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#omicron">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#959;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;omicron;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î¿</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >omicron</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#theta">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#952;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;theta;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î¸</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >theta</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#scaron">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#353;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;scaron;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Å¡</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >small S with caron</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#exists">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8707;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;exists;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆƒ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >exists</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#lambda">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#955;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;lambda;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î»</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >lambda</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#darr">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8595;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;darr;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â†“</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >down arrow</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#infin">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8734;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;infin;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆž</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >infinity</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#ne">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8800;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;ne;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â‰ </glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >not equal</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#cap">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8745;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;cap;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ©</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >cap</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#ge">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8805;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;ge;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â‰¥</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >greater or equal</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#lfloor">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8970;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;lfloor;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âŒŠ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >left floor</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#nsub">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8836;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;nsub;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âŠ„</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >not subset of</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#sub">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8834;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;sub;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âŠ‚</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >subset of</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#ni">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8715;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;ni;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ‹</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >ni</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#gamma">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#947;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;gamma;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î³</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >gamma</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#chi">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#967;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;chi;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ï‡</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >chi</rdfs:label>
  </glyph:Glyph>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getUnitProduct">
    <spin:returnType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfUnits"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the system of units in which to find the result</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get unit product</rdfs:label>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the denominator</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the numerator</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:InterArgument_1-2>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemUnit"/>
      </spl:InterArgument_1-2>
    </spin:constraint>
    <spin:body>
      <sp:Select>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject>
              <rdf:Description rdf:nodeID="A21">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >quantitySystem</sp:varName>
              </rdf:Description>
            </sp:subject>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#unitSystem"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_arg2"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#quantityKind"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A22">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >kind1</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_arg3"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#quantityKind"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A23">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >kind2</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A24">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >unit</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <qudtspin:getCoherentUnit>
                <sp:arg2>
                  <qudtspin:getQuantityKindProduct>
                    <sp:arg3 rdf:nodeID="A23"/>
                    <sp:arg2 rdf:nodeID="A22"/>
                    <sp:arg1 rdf:nodeID="A21"/>
                  </qudtspin:getQuantityKindProduct>
                </sp:arg2>
                <sp:arg1 rdf:nodeID="A21"/>
              </qudtspin:getCoherentUnit>
            </sp:expression>
          </sp:Let>
        </sp:where>
        <sp:resultVariables rdf:parseType="Collection">
          <rdf:Description rdf:nodeID="A24"/>
        </sp:resultVariables>
      </sp:Select>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#UnitFunctions"/>
    <spin:constraint>
      <spl:InterArgument_1-3>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemUnit"/>
      </spl:InterArgument_1-3>
    </spin:constraint>
  </spin:Function>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#rsquo">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8217;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;rsquo;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€™</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >right single quotation mark</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#psi">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#968;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;psi;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ïˆ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >psi</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Chi">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#935;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Chi;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î§</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Chi</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#crarr">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8629;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;crarr;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â†µ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >carriage return arrow</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#fnof">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#402;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;fnof;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Æ’</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >f with hook</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#ndash">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8211;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;ndash;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€“</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >en dash</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Scaron">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#352;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Scaron;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Å </glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >capital S with caron</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Theta">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#920;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Theta;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î˜</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Theta</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Zeta">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#918;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Zeta;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î–</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Zeta</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#nabla">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8711;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;nabla;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ‡</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >nabla</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#larr">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8592;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;larr;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â†�</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >left arrow</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#sum">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8721;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;sum;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ‘</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >sum</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Rho">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#929;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Rho;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î¡</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Rho</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Omega">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#937;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Omega;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î©</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Omega</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#ldquo">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8220;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;ldquo;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€œ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >left double quotation mark</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#sigmaf">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#962;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;sigmaf;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ï‚</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >sigmaf</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Mu">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#924;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Mu;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Îœ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Mu</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Tau">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#932;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Tau;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î¤</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Tau</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#sim">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8764;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;sim;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ¼</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >similar to</rdfs:label>
  </glyph:Glyph>
  <spin:Function rdf:about="http://topbraid.org/glyph#getXhtmlString">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the input string</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Select>
        <sp:where rdf:parseType="Collection">
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A25">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >result</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <xsd:string>
                <sp:arg1>
                  <glyph:getXhtmlString-Internal>
                    <sp:arg2></sp:arg2>
                    <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
                  </glyph:getXhtmlString-Internal>
                </sp:arg1>
              </xsd:string>
            </sp:expression>
          </sp:Let>
        </sp:where>
        <sp:resultVariables rdf:parseType="Collection">
          <rdf:Description rdf:nodeID="A25"/>
        </sp:resultVariables>
      </sp:Select>
    </spin:body>
    <rdfs:subClassOf>
      <spin:Function rdf:about="http://topbraid.org/glyph#Functions">
        <spin:abstract rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spin:abstract>
        <rdfs:subClassOf rdf:resource="http://spinrdf.org/spin#Functions"/>
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >Functions</rdfs:label>
      </spin:Function>
    </rdfs:subClassOf>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get xhtml string</rdfs:label>
  </spin:Function>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Yuml">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#376;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Yuml;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Å¸</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >capital Y with diaeres</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#lowast">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8727;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;lowast;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ—</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >lowast</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Delta">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#916;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Delta;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î”</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Delta</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Omicron">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#927;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Omicron;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >ÎŸ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Omicron</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Dagger">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8225;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Dagger;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€¡</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >double dagger</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#rfloor">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8971;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;rfloor;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âŒ‹</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >right floor</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#euro">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8364;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;euro;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â‚¬</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >euro</rdfs:label>
  </glyph:Glyph>
  <spin:Template rdf:about="http://spinrdf.org/spl#InterArgument_3-1">
    <spin:labelTemplate rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Inter Argument 3-1 : {?predicate}</spin:labelTemplate>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#transitive"/>
        <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:optional>
        <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:defaultValue>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the constraint is checked against sub-properties of the predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#predicate"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the constraining predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Ask>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg3"/>
          </rdf:Description>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <sp:TriplePath>
                <sp:subject>
                  <rdf:Description rdf:nodeID="A26">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >pred</sp:varName>
                  </rdf:Description>
                </sp:subject>
                <sp:path>
                  <sp:ModPath>
                    <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
                    <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >0</sp:modMin>
                    <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >-2</sp:modMax>
                  </sp:ModPath>
                </sp:path>
                <sp:object>
                  <rdf:Description rdf:nodeID="A27">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >predicate</sp:varName>
                  </rdf:Description>
                </sp:object>
              </sp:TriplePath>
              <rdf:Description>
                <sp:subject rdf:resource="http://spinrdf.org/spin#_arg3"/>
                <sp:predicate rdf:nodeID="A26"/>
                <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
              </rdf:Description>
              <sp:Filter>
                <sp:expression>
                  <sp:or>
                    <sp:arg2>
                      <sp:eq>
                        <sp:arg2 rdf:nodeID="A27"/>
                        <sp:arg1 rdf:nodeID="A26"/>
                      </sp:eq>
                    </sp:arg2>
                    <sp:arg1 rdf:parseType="Resource">
                      <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                      >transitive</sp:varName>
                    </sp:arg1>
                  </sp:or>
                </sp:expression>
              </sp:Filter>
            </sp:elements>
          </sp:Optional>
          <sp:Filter>
            <sp:expression>
              <sp:not>
                <sp:arg1>
                  <sp:bound>
                    <sp:arg1 rdf:nodeID="A26"/>
                  </sp:bound>
                </sp:arg1>
              </sp:not>
            </sp:expression>
          </sp:Filter>
        </sp:where>
      </sp:Ask>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://spinrdf.org/spl#InterArgument"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >3-1 Inter Argument Constraint</rdfs:label>
  </spin:Template>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Psi">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#936;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Psi;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î¨</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Psi</rdfs:label>
  </glyph:Glyph>
  <spin:Template rdf:about="http://spinrdf.org/spl#InterArgument_3-2">
    <spin:labelTemplate rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Inter Argument 3-2 : {?predicate}</spin:labelTemplate>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#transitive"/>
        <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:optional>
        <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:defaultValue>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the constraint is checked against sub-properties of the predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#predicate"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the constraining predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Ask>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg2"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg3"/>
          </rdf:Description>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <sp:TriplePath>
                <sp:subject>
                  <rdf:Description rdf:nodeID="A28">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >pred</sp:varName>
                  </rdf:Description>
                </sp:subject>
                <sp:path>
                  <sp:ModPath>
                    <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
                    <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >0</sp:modMin>
                    <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >-2</sp:modMax>
                  </sp:ModPath>
                </sp:path>
                <sp:object>
                  <rdf:Description rdf:nodeID="A29">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >predicate</sp:varName>
                  </rdf:Description>
                </sp:object>
              </sp:TriplePath>
              <rdf:Description>
                <sp:subject rdf:resource="http://spinrdf.org/spin#_arg3"/>
                <sp:predicate rdf:nodeID="A28"/>
                <sp:object rdf:resource="http://spinrdf.org/spin#_arg2"/>
              </rdf:Description>
              <sp:Filter>
                <sp:expression>
                  <sp:or>
                    <sp:arg2>
                      <sp:eq>
                        <sp:arg2 rdf:nodeID="A29"/>
                        <sp:arg1 rdf:nodeID="A28"/>
                      </sp:eq>
                    </sp:arg2>
                    <sp:arg1 rdf:parseType="Resource">
                      <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                      >transitive</sp:varName>
                    </sp:arg1>
                  </sp:or>
                </sp:expression>
              </sp:Filter>
            </sp:elements>
          </sp:Optional>
          <sp:Filter>
            <sp:expression>
              <sp:not>
                <sp:arg1>
                  <sp:bound>
                    <sp:arg1 rdf:nodeID="A28"/>
                  </sp:bound>
                </sp:arg1>
              </sp:not>
            </sp:expression>
          </sp:Filter>
        </sp:where>
      </sp:Ask>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://spinrdf.org/spl#InterArgument"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >3-2 Inter Argument Constraint</rdfs:label>
  </spin:Template>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Iota">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#921;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Iota;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î™</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Iota</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Beta">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#914;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Beta;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î’</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Beta</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#asymp">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8776;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;asymp;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â‰ˆ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >almost equal</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#tau">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#964;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;tau;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ï„</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >tau</rdfs:label>
  </glyph:Glyph>
  <spin:Template rdf:about="http://spinrdf.org/spl#InterArgument_3-4">
    <spin:labelTemplate rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Inter Argument 3-4 : {?predicate}</spin:labelTemplate>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#predicate"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the constraining predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#transitive"/>
        <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:optional>
        <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:defaultValue>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the constraint is checked against sub-properties of the predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Ask>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg3"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
            <sp:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg4"/>
          </rdf:Description>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <sp:TriplePath>
                <sp:subject>
                  <rdf:Description rdf:nodeID="A30">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >pred</sp:varName>
                  </rdf:Description>
                </sp:subject>
                <sp:path>
                  <sp:ModPath>
                    <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
                    <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >0</sp:modMin>
                    <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >-2</sp:modMax>
                  </sp:ModPath>
                </sp:path>
                <sp:object>
                  <rdf:Description rdf:nodeID="A31">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >predicate</sp:varName>
                  </rdf:Description>
                </sp:object>
              </sp:TriplePath>
              <rdf:Description>
                <sp:subject rdf:resource="http://spinrdf.org/spin#_arg3"/>
                <sp:predicate rdf:nodeID="A30"/>
                <sp:object rdf:resource="http://spinrdf.org/spin#_arg4"/>
              </rdf:Description>
              <sp:Filter>
                <sp:expression>
                  <sp:or>
                    <sp:arg2>
                      <sp:eq>
                        <sp:arg2 rdf:nodeID="A31"/>
                        <sp:arg1 rdf:nodeID="A30"/>
                      </sp:eq>
                    </sp:arg2>
                    <sp:arg1 rdf:parseType="Resource">
                      <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                      >transitive</sp:varName>
                    </sp:arg1>
                  </sp:or>
                </sp:expression>
              </sp:Filter>
            </sp:elements>
          </sp:Optional>
          <sp:Filter>
            <sp:expression>
              <sp:not>
                <sp:arg1>
                  <sp:bound>
                    <sp:arg1 rdf:nodeID="A30"/>
                  </sp:bound>
                </sp:arg1>
              </sp:not>
            </sp:expression>
          </sp:Filter>
        </sp:where>
      </sp:Ask>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://spinrdf.org/spl#InterArgument"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >3-4 Inter Argument Constraint</rdfs:label>
  </spin:Template>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#supe">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8839;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;supe;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âŠ‡</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >superset or equal</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#epsilon">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#949;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;epsilon;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Îµ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >epsilon</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Eta">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#919;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Eta;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î—</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Eta</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#kappa">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#954;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;kappa;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Îº</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >kappa</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#sube">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8838;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;sube;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âŠ†</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >subset or equal</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#sup">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8835;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;sup;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âŠƒ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >superset of</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#upsilon">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#965;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;upsilon;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ï…</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >upsilon</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#lsquo">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8216;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;lsquo;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â€˜</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >left single quotation mark</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#spades">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#9824;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;spades;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â™ </glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >spade</rdfs:label>
  </glyph:Glyph>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getQuantityKindDimensionSymbol">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <spin:constraint>
      <spl:InterArgument_1-2>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
      </spl:InterArgument_1-2>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfQuantities"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >A quantity system</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the result string should be encoded for html</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType>
          <rdf:Description rdf:about="http://data.nasa.gov/qudt/owl/qudt#QuantityKind">
            <spin:constructor>
              <sp:Construct>
                <sp:where rdf:parseType="Collection">
                  <rdf:Description>
                    <sp:subject rdf:parseType="Resource">
                      <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                      >system</sp:varName>
                    </sp:subject>
                    <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemBaseQuantityKind"/>
                    <sp:object rdf:resource="http://spinrdf.org/spin#_this"/>
                  </rdf:Description>
                  <rdf:Description>
                    <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
                    <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#symbol"/>
                    <sp:object rdf:parseType="Resource">
                      <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                      >s</sp:varName>
                    </sp:object>
                  </rdf:Description>
                  <rdf:Description>
                    <sp:subject>
                      <rdf:Description rdf:nodeID="A32">
                        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                        >e</sp:varName>
                      </rdf:Description>
                    </sp:subject>
                    <sp:predicate rdf:resource="http://www.topbraid.org/tops#for"/>
                    <sp:object>
                      <rdf:Description rdf:nodeID="A33">
                        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                        >?0</sp:varName>
                      </rdf:Description>
                    </sp:object>
                  </rdf:Description>
                  <rdf:Description>
                    <sp:subject rdf:nodeID="A33"/>
                    <sp:predicate rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#first"/>
                    <sp:object rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >-3</sp:object>
                  </rdf:Description>
                  <rdf:Description>
                    <sp:subject rdf:nodeID="A33"/>
                    <sp:predicate rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"/>
                    <sp:object>
                      <rdf:Description rdf:nodeID="A34">
                        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                        >?1</sp:varName>
                      </rdf:Description>
                    </sp:object>
                  </rdf:Description>
                  <rdf:Description>
                    <sp:subject rdf:nodeID="A34"/>
                    <sp:predicate rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#first"/>
                    <sp:object rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >3</sp:object>
                  </rdf:Description>
                  <rdf:Description>
                    <sp:subject rdf:nodeID="A34"/>
                    <sp:predicate rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"/>
                    <sp:object rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
                  </rdf:Description>
                  <sp:Let>
                    <sp:variable>
                      <rdf:Description rdf:nodeID="A35">
                        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                        >label</sp:varName>
                      </rdf:Description>
                    </sp:variable>
                    <sp:expression>
                      <smf:buildString>
                        <sp:arg1>Vector_{?s}{?e}</sp:arg1>
                      </smf:buildString>
                    </sp:expression>
                  </sp:Let>
                  <sp:Let>
                    <sp:variable>
                      <rdf:Description rdf:nodeID="A36">
                        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                        >new</sp:varName>
                      </rdf:Description>
                    </sp:variable>
                    <sp:expression>
                      <smf:buildURI>
                        <sp:arg1>dim:{?label}</sp:arg1>
                      </smf:buildURI>
                    </sp:expression>
                  </sp:Let>
                </sp:where>
                <sp:templates rdf:parseType="Collection">
                  <rdf:Description>
                    <sp:subject rdf:nodeID="A36"/>
                    <sp:predicate rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
                    <sp:object rdf:resource="http://data.nasa.gov/qudt/owl/qudt#DimensionVector"/>
                  </rdf:Description>
                  <rdf:Description>
                    <sp:subject rdf:nodeID="A36"/>
                    <sp:predicate rdf:resource="http://www.w3.org/2000/01/rdf-schema#label"/>
                    <sp:object rdf:nodeID="A35"/>
                  </rdf:Description>
                  <rdf:Description>
                    <sp:subject rdf:nodeID="A36"/>
                    <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#basisElement"/>
                    <sp:object rdf:resource="http://spinrdf.org/spin#_this"/>
                  </rdf:Description>
                  <rdf:Description>
                    <sp:subject rdf:nodeID="A36"/>
                    <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#vectorMagnitude"/>
                    <sp:object rdf:nodeID="A32"/>
                  </rdf:Description>
                </sp:templates>
              </sp:Construct>
            </spin:constructor>
          </rdf:Description>
        </spl:valueType>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Select>
        <sp:where rdf:parseType="Collection">
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A37">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >symbol</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <xsd:string>
                <sp:arg1>
                  <qudtspin:getQuantityKindDimensionSymbol-Internal>
                    <sp:arg5 rdf:resource="http://spinrdf.org/spin#_arg3"/>
                    <sp:arg4></sp:arg4>
                    <sp:arg3 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >0</sp:arg3>
                    <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
                    <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
                  </qudtspin:getQuantityKindDimensionSymbol-Internal>
                </sp:arg1>
              </xsd:string>
            </sp:expression>
          </sp:Let>
        </sp:where>
        <sp:resultVariables rdf:parseType="Collection">
          <rdf:Description rdf:nodeID="A37"/>
        </sp:resultVariables>
      </sp:Select>
    </spin:body>
    <rdfs:subClassOf>
      <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#QuantityFunctions">
        <spin:abstract rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spin:abstract>
        <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#Functions"/>
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >Quantity functions</rdfs:label>
      </spin:Function>
    </rdfs:subClassOf>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get quantity kind dimension symbol</rdfs:label>
  </spin:Function>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#zeta">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#950;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;zeta;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î¶</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >zeta</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#nu">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#957;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;nu;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î½</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >nu</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Gamma">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#915;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Gamma;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Î“</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Gamma</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#le">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8804;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;le;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â‰¤</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >less or equal</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#radic">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8730;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;radic;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆš</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >square root</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#hearts">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#9829;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;hearts;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â™¥</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >heart</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#part">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8706;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;part;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ‚</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >part</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#isin">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8712;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;isin;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆˆ</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >isin</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#rceil">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8969;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;rceil;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âŒ‰</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >right ceiling</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#forall">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8704;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;forall;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ€</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >for all</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#equiv">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8801;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;equiv;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â‰¡</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >equivalent</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#otimes">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8855;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;otimes;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âŠ—</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >circled times</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Xi">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#926;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Xi;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Îž</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Xi</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#Kappa">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#922;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;Kappa;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Îš</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Kappa</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#sdot">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8901;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;sdot;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â‹…</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >dot operator</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#and">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8743;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;and;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >âˆ§</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >and</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#pi">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#960;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;pi;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Ï€</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >pi</rdfs:label>
  </glyph:Glyph>
  <glyph:Glyph rdf:about="http://topbraid.org/glyph#rarr">
    <glyph:xhtmlNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;#8594;</glyph:xhtmlNumber>
    <glyph:xhtmlName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >&amp;rarr;</glyph:xhtmlName>
    <glyph:symbol rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >â†’</glyph:symbol>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >right arrow</rdfs:label>
  </glyph:Glyph>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getUnitDimensionSymbol-Internal">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfUnits"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >A unit system</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >an index into the base dimension enumeration</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a unit</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the string to build</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Select>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject>
              <rdf:Description rdf:nodeID="A38">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >system</sp:varName>
              </rdf:Description>
            </sp:subject>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#unitSystem"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A38"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#baseDimensionEnumeration"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A39">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >bde</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A38"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemDimension"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A40">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >sd</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_arg2"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#quantityKind"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A41">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >kind</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <sp:TriplePath>
            <sp:subject rdf:nodeID="A41"/>
            <sp:path>
              <sp:ModPath>
                <sp:subPath rdf:resource="http://data.nasa.gov/qudt/owl/qudt#generalization"/>
                <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >0</sp:modMin>
                <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >-2</sp:modMax>
              </sp:ModPath>
            </sp:path>
            <sp:object>
              <rdf:Description rdf:nodeID="A42">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >genKind</sp:varName>
              </rdf:Description>
            </sp:object>
          </sp:TriplePath>
          <rdf:Description>
            <sp:subject rdf:nodeID="A40"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#referenceQuantity"/>
            <sp:object rdf:nodeID="A42"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A39"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#element"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A43">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >base</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A43"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#referenceQuantity"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A44">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >baseKind</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A43"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#order"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg3"/>
          </rdf:Description>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <rdf:Description>
                <sp:subject rdf:nodeID="A40"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#dimensionVector"/>
                <sp:object>
                  <rdf:Description rdf:nodeID="A45">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >v</sp:varName>
                  </rdf:Description>
                </sp:object>
              </rdf:Description>
              <rdf:Description>
                <sp:subject rdf:nodeID="A45"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#basisElement"/>
                <sp:object rdf:nodeID="A44"/>
              </rdf:Description>
            </sp:elements>
          </sp:Optional>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A46">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >succ</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <sp:add>
                <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >1</sp:arg2>
                <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg3"/>
              </sp:add>
            </sp:expression>
          </sp:Let>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <rdf:Description>
                <sp:subject rdf:nodeID="A39"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#element"/>
                <sp:object>
                  <rdf:Description rdf:nodeID="A47">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >next</sp:varName>
                  </rdf:Description>
                </sp:object>
              </rdf:Description>
              <rdf:Description>
                <sp:subject rdf:nodeID="A47"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#order"/>
                <sp:object rdf:nodeID="A46"/>
              </rdf:Description>
            </sp:elements>
          </sp:Optional>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A48">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >concat</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <smf:if>
                <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg4"/>
                <sp:arg2>
                  <fn:concat>
                    <sp:arg2>
                      <qudtspin:getVectorUnitString>
                        <sp:arg2 rdf:nodeID="A45"/>
                        <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
                      </qudtspin:getVectorUnitString>
                    </sp:arg2>
                    <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg4"/>
                  </fn:concat>
                </sp:arg2>
                <sp:arg1>
                  <smf:isBound>
                    <sp:arg1 rdf:nodeID="A45"/>
                  </smf:isBound>
                </sp:arg1>
              </smf:if>
            </sp:expression>
          </sp:Let>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A49">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >result</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <smf:if>
                <sp:arg3>
                  <smf:trim>
                    <sp:arg1 rdf:nodeID="A48"/>
                  </smf:trim>
                </sp:arg3>
                <sp:arg2>
                  <smf:trim>
                    <sp:arg1>
                      <qudtspin:getUnitDimensionSymbol-Internal>
                        <sp:arg4 rdf:nodeID="A48"/>
                        <sp:arg3 rdf:nodeID="A46"/>
                        <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
                        <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
                      </qudtspin:getUnitDimensionSymbol-Internal>
                    </sp:arg1>
                  </smf:trim>
                </sp:arg2>
                <sp:arg1>
                  <smf:isBound>
                    <sp:arg1 rdf:nodeID="A47"/>
                  </smf:isBound>
                </sp:arg1>
              </smf:if>
            </sp:expression>
          </sp:Let>
        </sp:where>
        <sp:resultVariables rdf:parseType="Collection">
          <rdf:Description rdf:nodeID="A49"/>
        </sp:resultVariables>
      </sp:Select>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#DeprecatedFunctions"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get unit dimension symbol (internal)</rdfs:label>
  </spin:Function>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#isQuantityKindQuotient-Internal">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >is dimension quotient</rdfs:label>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg5"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >start index in enumeration</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <rdfs:subClassOf>
      <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#InternalFunctions">
        <spin:abstract rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spin:abstract>
        <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#Functions"/>
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >Internal functions</rdfs:label>
      </spin:Function>
    </rdfs:subClassOf>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfQuantities"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the quantity system</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Ask>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#baseDimensionEnumeration"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A50">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >bde</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A50"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#element"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A51">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >base</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A51"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#order"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg5"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A51"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#referenceQuantity"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A52">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >baseKind</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A53">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >succ</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <sp:add>
                <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >1</sp:arg2>
                <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg5"/>
              </sp:add>
            </sp:expression>
          </sp:Let>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <rdf:Description>
                <sp:subject rdf:nodeID="A50"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#element"/>
                <sp:object>
                  <rdf:Description rdf:nodeID="A54">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >next</sp:varName>
                  </rdf:Description>
                </sp:object>
              </rdf:Description>
              <rdf:Description>
                <sp:subject rdf:nodeID="A54"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#order"/>
                <sp:object rdf:nodeID="A53"/>
              </rdf:Description>
            </sp:elements>
          </sp:Optional>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A55">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >isBaseQuotient</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <qudtspin:isBaseQuotient-Internal>
                <sp:arg5 rdf:nodeID="A52"/>
                <sp:arg4 rdf:resource="http://spinrdf.org/spin#_arg4"/>
                <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg3"/>
                <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
                <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
              </qudtspin:isBaseQuotient-Internal>
            </sp:expression>
          </sp:Let>
          <sp:Filter>
            <sp:expression>
              <smf:if>
                <sp:arg3 rdf:nodeID="A55"/>
                <sp:arg2>
                  <sp:and>
                    <sp:arg2>
                      <qudtspin:isQuantityKindQuotient-Internal>
                        <sp:arg5 rdf:nodeID="A53"/>
                        <sp:arg4 rdf:resource="http://spinrdf.org/spin#_arg4"/>
                        <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg3"/>
                        <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
                        <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
                      </qudtspin:isQuantityKindQuotient-Internal>
                    </sp:arg2>
                    <sp:arg1 rdf:nodeID="A55"/>
                  </sp:and>
                </sp:arg2>
                <sp:arg1>
                  <smf:isBound>
                    <sp:arg1 rdf:nodeID="A54"/>
                  </smf:isBound>
                </sp:arg1>
              </smf:if>
            </sp:expression>
          </sp:Filter>
        </sp:where>
      </sp:Ask>
    </spin:body>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
  </spin:Function>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getQuantityKindDimensionSymbol-Internal">
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the string to build</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#InternalFunctions"/>
    <spin:body>
      <sp:Select>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#baseDimensionEnumeration"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A56">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >bde</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemDimension"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A57">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >sd</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <sp:TriplePath>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_arg2"/>
            <sp:path>
              <sp:ModPath>
                <sp:subPath rdf:resource="http://data.nasa.gov/qudt/owl/qudt#generalization"/>
                <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >0</sp:modMin>
                <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >-2</sp:modMax>
              </sp:ModPath>
            </sp:path>
            <sp:object>
              <rdf:Description rdf:nodeID="A58">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >genKind</sp:varName>
              </rdf:Description>
            </sp:object>
          </sp:TriplePath>
          <rdf:Description>
            <sp:subject rdf:nodeID="A57"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#referenceQuantity"/>
            <sp:object rdf:nodeID="A58"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A56"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#element"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A59">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >base</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A59"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#referenceQuantity"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A60">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >baseKind</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A59"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#order"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg3"/>
          </rdf:Description>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <rdf:Description>
                <sp:subject rdf:nodeID="A57"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#dimensionVector"/>
                <sp:object>
                  <rdf:Description rdf:nodeID="A61">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >v</sp:varName>
                  </rdf:Description>
                </sp:object>
              </rdf:Description>
              <rdf:Description>
                <sp:subject rdf:nodeID="A61"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#basisElement"/>
                <sp:object rdf:nodeID="A60"/>
              </rdf:Description>
            </sp:elements>
          </sp:Optional>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A62">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >succ</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <sp:add>
                <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >1</sp:arg2>
                <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg3"/>
              </sp:add>
            </sp:expression>
          </sp:Let>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <rdf:Description>
                <sp:subject rdf:nodeID="A56"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#element"/>
                <sp:object>
                  <rdf:Description rdf:nodeID="A63">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >next</sp:varName>
                  </rdf:Description>
                </sp:object>
              </rdf:Description>
              <rdf:Description>
                <sp:subject rdf:nodeID="A63"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#order"/>
                <sp:object rdf:nodeID="A62"/>
              </rdf:Description>
            </sp:elements>
          </sp:Optional>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A64">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >concat</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <smf:if>
                <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg4"/>
                <sp:arg2>
                  <fn:concat>
                    <sp:arg2>
                      <qudtspin:getVectorSymbol-Internal>
                        <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg5"/>
                        <sp:arg1 rdf:nodeID="A61"/>
                      </qudtspin:getVectorSymbol-Internal>
                    </sp:arg2>
                    <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg4"/>
                  </fn:concat>
                </sp:arg2>
                <sp:arg1>
                  <smf:isBound>
                    <sp:arg1 rdf:nodeID="A61"/>
                  </smf:isBound>
                </sp:arg1>
              </smf:if>
            </sp:expression>
          </sp:Let>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A65">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >result</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <smf:if>
                <sp:arg3>
                  <smf:trim>
                    <sp:arg1 rdf:nodeID="A64"/>
                  </smf:trim>
                </sp:arg3>
                <sp:arg2>
                  <smf:trim>
                    <sp:arg1>
                      <qudtspin:getQuantityKindDimensionSymbol-Internal>
                        <sp:arg5 rdf:resource="http://spinrdf.org/spin#_arg5"/>
                        <sp:arg4 rdf:nodeID="A64"/>
                        <sp:arg3 rdf:nodeID="A62"/>
                        <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
                        <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
                      </qudtspin:getQuantityKindDimensionSymbol-Internal>
                    </sp:arg1>
                  </smf:trim>
                </sp:arg2>
                <sp:arg1>
                  <smf:isBound>
                    <sp:arg1 rdf:nodeID="A63"/>
                  </smf:isBound>
                </sp:arg1>
              </smf:if>
            </sp:expression>
          </sp:Let>
        </sp:where>
        <sp:resultVariables rdf:parseType="Collection">
          <rdf:Description rdf:nodeID="A65"/>
        </sp:resultVariables>
      </sp:Select>
    </spin:body>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg5"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the string returned should be encoded for html</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfQuantities"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >A quantity system</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >an index into the base dimension enumeration</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get quantity kind dimension symbol (internal)</rdfs:label>
  </spin:Function>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getDimensionSymbol-Internal">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Dimension"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the dimension</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:optional>
        <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >0</spl:defaultValue>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >an optional integer index into enumeration</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the result string should be encoded for html</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:optional>
        <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        > </spl:defaultValue>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a dummy string to carry the result</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Select>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject>
              <rdf:Description rdf:nodeID="A66">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >quantitySystem</sp:varName>
              </rdf:Description>
            </sp:subject>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#baseDimensionEnumeration"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A67">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >bde</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A66"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemDimension"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A67"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#element"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A68">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >base</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A68"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#referenceQuantity"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A69">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >kind</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A68"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#order"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg2"/>
          </rdf:Description>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <rdf:Description>
                <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#dimensionVector"/>
                <sp:object>
                  <rdf:Description rdf:nodeID="A70">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >v</sp:varName>
                  </rdf:Description>
                </sp:object>
              </rdf:Description>
              <rdf:Description>
                <sp:subject rdf:nodeID="A70"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#basisElement"/>
                <sp:object rdf:nodeID="A69"/>
              </rdf:Description>
            </sp:elements>
          </sp:Optional>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A71">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >succ</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <sp:add>
                <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >1</sp:arg2>
                <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg2"/>
              </sp:add>
            </sp:expression>
          </sp:Let>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <rdf:Description>
                <sp:subject rdf:nodeID="A67"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#element"/>
                <sp:object>
                  <rdf:Description rdf:nodeID="A72">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >next</sp:varName>
                  </rdf:Description>
                </sp:object>
              </rdf:Description>
              <rdf:Description>
                <sp:subject rdf:nodeID="A72"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#order"/>
                <sp:object rdf:nodeID="A71"/>
              </rdf:Description>
            </sp:elements>
          </sp:Optional>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A73">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >concat</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <smf:if>
                <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg3"/>
                <sp:arg2>
                  <fn:concat>
                    <sp:arg2>
                      <qudtspin:getVectorSymbol-Internal>
                        <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg4"/>
                        <sp:arg1 rdf:nodeID="A70"/>
                      </qudtspin:getVectorSymbol-Internal>
                    </sp:arg2>
                    <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg3"/>
                  </fn:concat>
                </sp:arg2>
                <sp:arg1>
                  <smf:isBound>
                    <sp:arg1 rdf:nodeID="A70"/>
                  </smf:isBound>
                </sp:arg1>
              </smf:if>
            </sp:expression>
          </sp:Let>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A74">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >xhtmlString</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <smf:if>
                <sp:arg3 rdf:nodeID="A73"/>
                <sp:arg2>
                  <qudtspin:getDimensionSymbol-Internal>
                    <sp:arg4 rdf:resource="http://spinrdf.org/spin#_arg4"/>
                    <sp:arg3 rdf:nodeID="A73"/>
                    <sp:arg2 rdf:nodeID="A71"/>
                    <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
                  </qudtspin:getDimensionSymbol-Internal>
                </sp:arg2>
                <sp:arg1>
                  <smf:isBound>
                    <sp:arg1 rdf:nodeID="A72"/>
                  </smf:isBound>
                </sp:arg1>
              </smf:if>
            </sp:expression>
          </sp:Let>
        </sp:where>
        <sp:resultVariables rdf:parseType="Collection">
          <rdf:Description rdf:nodeID="A74"/>
        </sp:resultVariables>
      </sp:Select>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#InternalFunctions"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get dimension symbol - internal</rdfs:label>
  </spin:Function>
  <spin:Function rdf:about="http://topbraid.org/glyph#getXhtmlString-Internal">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a buffer string</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the input string</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Select>
        <sp:where rdf:parseType="Collection">
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A75">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >char</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <smf:subString>
                <sp:arg3 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >1</sp:arg3>
                <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >0</sp:arg2>
                <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
              </smf:subString>
            </sp:expression>
          </sp:Let>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A76">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >rest</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <smf:if>
                <sp:arg3></sp:arg3>
                <sp:arg2>
                  <smf:subString>
                    <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >1</sp:arg2>
                    <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
                  </smf:subString>
                </sp:arg2>
                <sp:arg1>
                  <sp:gt>
                    <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >1</sp:arg2>
                    <sp:arg1>
                      <fn:string-length>
                        <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
                      </fn:string-length>
                    </sp:arg1>
                  </sp:gt>
                </sp:arg1>
              </smf:if>
            </sp:expression>
          </sp:Let>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A77">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >xhtml</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <glyph:getXhtmlGlyphEncoding>
                <sp:arg1 rdf:nodeID="A75"/>
              </glyph:getXhtmlGlyphEncoding>
            </sp:expression>
          </sp:Let>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A78">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >buf</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <fn:string-join>
                <sp:arg2 rdf:nodeID="A77"/>
                <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg2"/>
              </fn:string-join>
            </sp:expression>
          </sp:Let>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A79">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >result</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <smf:if>
                <sp:arg3 rdf:nodeID="A78"/>
                <sp:arg2>
                  <glyph:getXhtmlString-Internal>
                    <sp:arg2 rdf:nodeID="A78"/>
                    <sp:arg1 rdf:nodeID="A76"/>
                  </glyph:getXhtmlString-Internal>
                </sp:arg2>
                <sp:arg1>
                  <sp:gt>
                    <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >0</sp:arg2>
                    <sp:arg1>
                      <fn:string-length>
                        <sp:arg1 rdf:nodeID="A76"/>
                      </fn:string-length>
                    </sp:arg1>
                  </sp:gt>
                </sp:arg1>
              </smf:if>
            </sp:expression>
          </sp:Let>
        </sp:where>
        <sp:resultVariables rdf:parseType="Collection">
          <rdf:Description rdf:nodeID="A79"/>
        </sp:resultVariables>
      </sp:Select>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://topbraid.org/glyph#Functions"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get xhtml string - internal</rdfs:label>
  </spin:Function>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#isQuantityKindProduct-Internal">
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >is dimension product</rdfs:label>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfQuantities"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the quantity system</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Ask>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#baseDimensionEnumeration"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A80">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >bde</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A80"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#element"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A81">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >base</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A81"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#order"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg5"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A81"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#referenceQuantity"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A82">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >baseKind</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A83">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >succ</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <sp:add>
                <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >1</sp:arg2>
                <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg5"/>
              </sp:add>
            </sp:expression>
          </sp:Let>
          <sp:Optional>
            <sp:elements rdf:parseType="Collection">
              <rdf:Description>
                <sp:subject rdf:nodeID="A80"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#element"/>
                <sp:object>
                  <rdf:Description rdf:nodeID="A84">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >next</sp:varName>
                  </rdf:Description>
                </sp:object>
              </rdf:Description>
              <rdf:Description>
                <sp:subject rdf:nodeID="A84"/>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#order"/>
                <sp:object rdf:nodeID="A83"/>
              </rdf:Description>
            </sp:elements>
          </sp:Optional>
          <sp:Let>
            <sp:variable>
              <rdf:Description rdf:nodeID="A85">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >isBaseProduct</sp:varName>
              </rdf:Description>
            </sp:variable>
            <sp:expression>
              <qudtspin:isBaseProduct-Internal>
                <sp:arg5 rdf:nodeID="A82"/>
                <sp:arg4 rdf:resource="http://spinrdf.org/spin#_arg4"/>
                <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg3"/>
                <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
                <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
              </qudtspin:isBaseProduct-Internal>
            </sp:expression>
          </sp:Let>
          <sp:Filter>
            <sp:expression>
              <smf:if>
                <sp:arg3 rdf:nodeID="A85"/>
                <sp:arg2>
                  <sp:and>
                    <sp:arg2>
                      <qudtspin:isQuantityKindProduct-Internal>
                        <sp:arg5 rdf:nodeID="A83"/>
                        <sp:arg4 rdf:resource="http://spinrdf.org/spin#_arg4"/>
                        <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg3"/>
                        <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
                        <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
                      </qudtspin:isQuantityKindProduct-Internal>
                    </sp:arg2>
                    <sp:arg1 rdf:nodeID="A85"/>
                  </sp:and>
                </sp:arg2>
                <sp:arg1>
                  <smf:isBound>
                    <sp:arg1 rdf:nodeID="A84"/>
                  </smf:isBound>
                </sp:arg1>
              </smf:if>
            </sp:expression>
          </sp:Filter>
        </sp:where>
      </sp:Ask>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#InternalFunctions"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#nonNegativeInteger"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg5"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >start index in enumeration</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
  </spin:Function>
  <rdf:Description rdf:nodeID="A86">
    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >kind</sp:varName>
  </rdf:Description>
  <sp:TriplePath rdf:nodeID="A87">
    <sp:subject>
      <rdf:Description rdf:nodeID="A88">
        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >pred</sp:varName>
      </rdf:Description>
    </sp:subject>
    <sp:path>
      <sp:ModPath>
        <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
        <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
        >0</sp:modMin>
        <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
        >-2</sp:modMax>
      </sp:ModPath>
    </sp:path>
    <sp:object rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
  </sp:TriplePath>
  <sp:Optional rdf:nodeID="A89">
    <sp:elements rdf:parseType="Collection">
      <sp:TriplePath>
        <sp:subject>
          <rdf:Description rdf:nodeID="A90">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >pred</sp:varName>
          </rdf:Description>
        </sp:subject>
        <sp:path>
          <sp:ModPath>
            <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
            <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >0</sp:modMin>
            <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >-2</sp:modMax>
          </sp:ModPath>
        </sp:path>
        <sp:object>
          <rdf:Description rdf:nodeID="A91">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >predicate</sp:varName>
          </rdf:Description>
        </sp:object>
      </sp:TriplePath>
      <rdf:Description>
        <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
        <sp:predicate rdf:nodeID="A90"/>
        <sp:object rdf:resource="http://spinrdf.org/spin#_arg3"/>
      </rdf:Description>
      <sp:Filter>
        <sp:expression>
          <sp:or>
            <sp:arg2>
              <sp:eq>
                <sp:arg2 rdf:nodeID="A91"/>
                <sp:arg1 rdf:nodeID="A90"/>
              </sp:eq>
            </sp:arg2>
            <sp:arg1 rdf:parseType="Resource">
              <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
              >transitive</sp:varName>
            </sp:arg1>
          </sp:or>
        </sp:expression>
      </sp:Filter>
    </sp:elements>
  </sp:Optional>
  <rdf:Description rdf:nodeID="A92">
    <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
    <rdf:first>
      <rdf:Description rdf:nodeID="A93">
        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >result</sp:varName>
      </rdf:Description>
    </rdf:first>
  </rdf:Description>
  <sp:Select rdf:nodeID="A94">
    <sp:where rdf:parseType="Collection">
      <rdf:Description>
        <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
        <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#unitSystem"/>
        <sp:object>
          <rdf:Description rdf:nodeID="A95">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >unitSystem</sp:varName>
          </rdf:Description>
        </sp:object>
      </rdf:Description>
      <sp:TriplePath>
        <sp:subject>
          <rdf:Description rdf:nodeID="A96">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >unitPred</sp:varName>
          </rdf:Description>
        </sp:subject>
        <sp:path>
          <sp:ModPath>
            <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
            <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >0</sp:modMin>
            <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >-2</sp:modMax>
          </sp:ModPath>
        </sp:path>
        <sp:object rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemCoherentUnit"/>
      </sp:TriplePath>
      <rdf:Description>
        <sp:subject rdf:nodeID="A95"/>
        <sp:predicate rdf:nodeID="A96"/>
        <sp:object>
          <rdf:Description rdf:nodeID="A97">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >unit</sp:varName>
          </rdf:Description>
        </sp:object>
      </rdf:Description>
      <rdf:Description>
        <sp:subject rdf:nodeID="A97"/>
        <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#quantityKind"/>
        <sp:object rdf:resource="http://spinrdf.org/spin#_arg2"/>
      </rdf:Description>
    </sp:where>
    <sp:resultVariables rdf:parseType="Collection">
      <rdf:Description rdf:nodeID="A97"/>
    </sp:resultVariables>
  </sp:Select>
  <rdf:Description rdf:nodeID="A98">
    <rdf:rest rdf:parseType="Collection">
      <rdf:Description>
        <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
        <sp:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <sp:object rdf:resource="http://spinrdf.org/spin#_arg3"/>
      </rdf:Description>
      <sp:Filter>
        <sp:expression>
          <sp:not>
            <sp:arg1>
              <qudtspin:comparableUnits>
                <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg3"/>
                <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg2"/>
              </qudtspin:comparableUnits>
            </sp:arg1>
          </sp:not>
        </sp:expression>
      </sp:Filter>
    </rdf:rest>
    <rdf:first rdf:parseType="Resource">
      <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
      <sp:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
      <sp:object rdf:resource="http://spinrdf.org/spin#_arg2"/>
    </rdf:first>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A99">
    <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
    <sp:predicate>
      <rdf:Description rdf:nodeID="A100">
        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >pred</sp:varName>
      </rdf:Description>
    </sp:predicate>
    <sp:object rdf:resource="http://spinrdf.org/spin#_arg4"/>
  </rdf:Description>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#comparableUnits">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a unit of measure</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a unit of measure</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body>
      <sp:Ask>
        <sp:where rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#quantityKind"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A101">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >kind1</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:resource="http://spinrdf.org/spin#_arg2"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#quantityKind"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A102">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >kind2</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
          <sp:TriplePath>
            <sp:subject rdf:nodeID="A101"/>
            <sp:path>
              <sp:ModPath>
                <sp:subPath rdf:resource="http://data.nasa.gov/qudt/owl/qudt#generalization"/>
                <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >0</sp:modMin>
                <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >-2</sp:modMax>
              </sp:ModPath>
            </sp:path>
            <sp:object rdf:nodeID="A86"/>
          </sp:TriplePath>
          <sp:TriplePath>
            <sp:subject rdf:nodeID="A102"/>
            <sp:path>
              <sp:ModPath>
                <sp:subPath rdf:resource="http://data.nasa.gov/qudt/owl/qudt#generalization"/>
                <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >0</sp:modMin>
                <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >-2</sp:modMax>
              </sp:ModPath>
            </sp:path>
            <sp:object rdf:nodeID="A86"/>
          </sp:TriplePath>
        </sp:where>
      </sp:Ask>
    </spin:body>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#UnitFunctions"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >comparable units</rdfs:label>
  </spin:Function>
  <sp:Ask rdf:nodeID="A103">
    <sp:where rdf:parseType="Collection">
      <sp:Filter>
        <sp:expression>
          <qudtspin:isQuantityKindQuotient-Internal>
            <sp:arg5 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >0</sp:arg5>
            <sp:arg4 rdf:resource="http://spinrdf.org/spin#_arg4"/>
            <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg3"/>
            <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
            <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </qudtspin:isQuantityKindQuotient-Internal>
        </sp:expression>
      </sp:Filter>
    </sp:where>
  </sp:Ask>
  <sp:Select rdf:nodeID="A104">
    <sp:where rdf:parseType="Collection">
      <sp:TriplePath>
        <sp:subject>
          <rdf:Description rdf:nodeID="A105">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >pred</sp:varName>
          </rdf:Description>
        </sp:subject>
        <sp:path>
          <sp:ModPath>
            <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
            <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >0</sp:modMin>
            <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >-2</sp:modMax>
          </sp:ModPath>
        </sp:path>
        <sp:object rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemDefinedUnit"/>
      </sp:TriplePath>
      <rdf:Description>
        <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
        <sp:predicate rdf:nodeID="A105"/>
        <sp:object>
          <rdf:Description rdf:nodeID="A106">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >unit</sp:varName>
          </rdf:Description>
        </sp:object>
      </rdf:Description>
      <rdf:Description>
        <sp:subject rdf:resource="http://spinrdf.org/spin#_arg2"/>
        <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#basisElement"/>
        <sp:object>
          <rdf:Description rdf:nodeID="A107">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >base</sp:varName>
          </rdf:Description>
        </sp:object>
      </rdf:Description>
      <rdf:Description>
        <sp:subject rdf:resource="http://spinrdf.org/spin#_arg2"/>
        <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#vectorMagnitude"/>
        <sp:object>
          <rdf:Description rdf:nodeID="A108">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >e</sp:varName>
          </rdf:Description>
        </sp:object>
      </rdf:Description>
      <rdf:Description>
        <sp:subject rdf:nodeID="A106"/>
        <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#quantityKind"/>
        <sp:object>
          <rdf:Description rdf:nodeID="A109">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >spec</sp:varName>
          </rdf:Description>
        </sp:object>
      </rdf:Description>
      <sp:TriplePath>
        <sp:subject rdf:nodeID="A109"/>
        <sp:path>
          <sp:ModPath>
            <sp:subPath rdf:resource="http://data.nasa.gov/qudt/owl/qudt#generalization"/>
            <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >0</sp:modMin>
            <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >-2</sp:modMax>
          </sp:ModPath>
        </sp:path>
        <sp:object rdf:nodeID="A107"/>
      </sp:TriplePath>
      <rdf:Description>
        <sp:subject rdf:nodeID="A106"/>
        <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#symbol"/>
        <sp:object rdf:parseType="Resource">
          <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
          >b</sp:varName>
        </sp:object>
      </rdf:Description>
      <sp:Let>
        <sp:variable rdf:nodeID="A93"/>
        <sp:expression>
          <smf:if>
            <sp:arg3></sp:arg3>
            <sp:arg2>
              <smf:if>
                <sp:arg3>
                  <smf:buildString>
                    <sp:arg1>{?b}^{?e} </sp:arg1>
                  </smf:buildString>
                </sp:arg3>
                <sp:arg2>
                  <smf:buildString>
                    <sp:arg1>{?b} </sp:arg1>
                  </smf:buildString>
                </sp:arg2>
                <sp:arg1>
                  <sp:eq>
                    <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >1</sp:arg2>
                    <sp:arg1 rdf:nodeID="A108"/>
                  </sp:eq>
                </sp:arg1>
              </smf:if>
            </sp:arg2>
            <sp:arg1>
              <sp:ne>
                <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >0</sp:arg2>
                <sp:arg1 rdf:nodeID="A108"/>
              </sp:ne>
            </sp:arg1>
          </smf:if>
        </sp:expression>
      </sp:Let>
    </sp:where>
    <sp:resultVariables rdf:nodeID="A92"/>
  </sp:Select>
  <rdf:Description rdf:nodeID="A110">
    <rdf:rest rdf:parseType="Collection">
      <rdf:Description>
        <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
        <sp:predicate rdf:nodeID="A88"/>
        <sp:object>
          <rdf:Description rdf:nodeID="A111">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >result</sp:varName>
          </rdf:Description>
        </sp:object>
      </rdf:Description>
      <sp:Filter>
        <sp:expression>
          <qudtspin:isQuantityKindProduct>
            <sp:arg4 rdf:nodeID="A111"/>
            <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg3"/>
            <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
            <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </qudtspin:isQuantityKindProduct>
        </sp:expression>
      </sp:Filter>
    </rdf:rest>
    <rdf:first rdf:nodeID="A87"/>
  </rdf:Description>
  <sp:Ask rdf:nodeID="A112">
    <sp:where rdf:nodeID="A98"/>
  </sp:Ask>
  <spl:Argument rdf:nodeID="A113">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >the original unit of measure</rdfs:comment>
  </spl:Argument>
  <spl:Argument rdf:nodeID="A114">
    <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
    <spl:predicate rdf:resource="http://spinrdf.org/spl#transitive"/>
    <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
    >true</spl:optional>
    <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
    >true</spl:defaultValue>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >true if the constraint is checked against sub-properties of the predicate</rdfs:comment>
  </spl:Argument>
  <sp:Filter rdf:nodeID="A115">
    <sp:expression>
      <sp:or>
        <sp:arg2>
          <sp:eq>
            <sp:arg2>
              <rdf:Description rdf:nodeID="A116">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >predicate</sp:varName>
              </rdf:Description>
            </sp:arg2>
            <sp:arg1 rdf:nodeID="A100"/>
          </sp:eq>
        </sp:arg2>
        <sp:arg1 rdf:parseType="Resource">
          <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
          >transitive</sp:varName>
        </sp:arg1>
      </sp:or>
    </sp:expression>
  </sp:Filter>
  <rdf:Description rdf:nodeID="A117">
    <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
    <rdf:first rdf:nodeID="A111"/>
  </rdf:Description>
  <spl:Argument rdf:nodeID="A118">
    <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >numerical value to convert</rdfs:comment>
  </spl:Argument>
  <rdf:Description rdf:nodeID="A119">
    <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
    <rdf:first rdf:nodeID="A115"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A120">
    <sp:subject>
      <rdf:Description rdf:nodeID="A121">
        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >v</sp:varName>
      </rdf:Description>
    </sp:subject>
    <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#basisElement"/>
    <sp:object rdf:resource="http://spinrdf.org/spin#_arg3"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A122">
    <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
    <rdf:first rdf:parseType="Resource">
      <sp:subject rdf:nodeID="A121"/>
      <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#vectorMagnitude"/>
      <sp:object>
        <rdf:Description rdf:nodeID="A123">
          <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
          >e</sp:varName>
        </rdf:Description>
      </sp:object>
    </rdf:first>
  </rdf:Description>
  <sp:Ask rdf:nodeID="A124">
    <sp:where rdf:parseType="Collection">
      <sp:Let>
        <sp:variable>
          <rdf:Description rdf:nodeID="A125">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >x</sp:varName>
          </rdf:Description>
        </sp:variable>
        <sp:expression>
          <qudtspin:getQuantityKindBaseExponent>
            <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg5"/>
            <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
            <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </qudtspin:getQuantityKindBaseExponent>
        </sp:expression>
      </sp:Let>
      <sp:Let>
        <sp:variable>
          <rdf:Description rdf:nodeID="A126">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >y</sp:varName>
          </rdf:Description>
        </sp:variable>
        <sp:expression>
          <qudtspin:getQuantityKindBaseExponent>
            <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg5"/>
            <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg3"/>
            <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </qudtspin:getQuantityKindBaseExponent>
        </sp:expression>
      </sp:Let>
      <sp:Let>
        <sp:variable>
          <rdf:Description rdf:nodeID="A127">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >z</sp:varName>
          </rdf:Description>
        </sp:variable>
        <sp:expression>
          <qudtspin:getQuantityKindBaseExponent>
            <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg5"/>
            <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg4"/>
            <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </qudtspin:getQuantityKindBaseExponent>
        </sp:expression>
      </sp:Let>
      <sp:Filter>
        <sp:expression>
          <sp:eq>
            <sp:arg2 rdf:nodeID="A127"/>
            <sp:arg1>
              <sp:sub>
                <sp:arg2 rdf:nodeID="A126"/>
                <sp:arg1 rdf:nodeID="A125"/>
              </sp:sub>
            </sp:arg1>
          </sp:eq>
        </sp:expression>
      </sp:Filter>
    </sp:where>
  </sp:Ask>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getQuantityKindProduct">
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get dimension product</rdfs:label>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#QuantityFunctions"/>
    <spin:body>
      <sp:Select>
        <sp:where rdf:nodeID="A110"/>
        <sp:resultVariables rdf:nodeID="A117"/>
      </sp:Select>
    </spin:body>
    <spin:constraint>
      <spl:InterArgument_1-2>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
      </spl:InterArgument_1-2>
    </spin:constraint>
    <spin:constraint>
      <spl:InterArgument_1-3>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
      </spl:InterArgument_1-3>
    </spin:constraint>
    <spin:returnType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfQuantities"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the quantity system</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >This function computes the product of two quantity kinds that are defined within the same system;

arg1 - a quantity system
arg2 - a quantity kind
arg3 - a quantity kind

returns the product of arg2 and arg3</rdfs:comment>
  </spin:Function>
  <spl:Argument rdf:nodeID="A128">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfQuantities"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >the quantity system</rdfs:comment>
  </spl:Argument>
  <spl:Argument rdf:nodeID="A129">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfQuantities"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >the quantity system</rdfs:comment>
  </spl:Argument>
  <rdf:Description rdf:nodeID="A130">
    <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
    <rdf:first>
      <sp:Filter>
        <sp:expression>
          <sp:not>
            <sp:arg1>
              <sp:bound>
                <sp:arg1 rdf:nodeID="A100"/>
              </sp:bound>
            </sp:arg1>
          </sp:not>
        </sp:expression>
      </sp:Filter>
    </rdf:first>
  </rdf:Description>
  <spl:Argument rdf:nodeID="A131">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >a quantity kind for the system</rdfs:comment>
  </spl:Argument>
  <spl:Argument rdf:nodeID="A132">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >a quantity kind</rdfs:comment>
  </spl:Argument>
  <rdf:Description rdf:nodeID="A133">
    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >pred</sp:varName>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A134">
    <sp:subject rdf:resource="http://spinrdf.org/spin#_arg3"/>
    <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#conversionMultiplier"/>
    <sp:object>
      <rdf:Description rdf:nodeID="A135">
        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >M2</sp:varName>
      </rdf:Description>
    </sp:object>
  </rdf:Description>
  <sp:Ask rdf:nodeID="A136">
    <sp:where rdf:parseType="Collection">
      <sp:Filter>
        <sp:expression>
          <qudtspin:isQuantityKindProduct-Internal>
            <sp:arg5 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >0</sp:arg5>
            <sp:arg4 rdf:resource="http://spinrdf.org/spin#_arg4"/>
            <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg3"/>
            <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
            <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </qudtspin:isQuantityKindProduct-Internal>
        </sp:expression>
      </sp:Filter>
    </sp:where>
  </sp:Ask>
  <rdf:Description rdf:nodeID="A137">
    <rdf:rest rdf:parseType="Collection">
      <sp:Filter>
        <sp:expression>
          <sp:or>
            <sp:arg2>
              <sp:eq>
                <sp:arg2>
                  <rdf:Description rdf:nodeID="A138">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >predicate</sp:varName>
                  </rdf:Description>
                </sp:arg2>
                <sp:arg1 rdf:nodeID="A133"/>
              </sp:eq>
            </sp:arg2>
            <sp:arg1 rdf:parseType="Resource">
              <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
              >transitive</sp:varName>
            </sp:arg1>
          </sp:or>
        </sp:expression>
      </sp:Filter>
    </rdf:rest>
    <rdf:first rdf:parseType="Resource">
      <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
      <sp:predicate rdf:nodeID="A133"/>
      <sp:object rdf:resource="http://spinrdf.org/spin#_arg2"/>
    </rdf:first>
  </rdf:Description>
  <spl:Argument rdf:nodeID="A139">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#DimensionVector"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >the dimension vector</rdfs:comment>
  </spl:Argument>
  <spl:Argument rdf:nodeID="A140">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg5"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >the base quantity kind</rdfs:comment>
  </spl:Argument>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#isQuantityKindProduct">
    <spin:body rdf:nodeID="A136"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >is dimension product</rdfs:label>
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#QuantityFunctions"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfQuantities"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the quantity system</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:InterArgument_1-3>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
      </spl:InterArgument_1-3>
    </spin:constraint>
    <spin:constraint>
      <spl:InterArgument_1-4>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
      </spl:InterArgument_1-4>
    </spin:constraint>
    <spin:constraint>
      <spl:InterArgument_1-2>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
      </spl:InterArgument_1-2>
    </spin:constraint>
  </spin:Function>
  <rdf:Description rdf:nodeID="A141">
    <rdf:rest rdf:parseType="Collection">
      <sp:Let>
        <sp:variable>
          <rdf:Description rdf:nodeID="A142">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >result</sp:varName>
          </rdf:Description>
        </sp:variable>
        <sp:expression>
          <xsd:string>
            <sp:arg1>
              <smf:if>
                <sp:arg3></sp:arg3>
                <sp:arg2>
                  <smf:if>
                    <sp:arg3>
                      <smf:if>
                        <sp:arg3>
                          <smf:buildString>
                            <sp:arg1>{?b}^{?e} </sp:arg1>
                          </smf:buildString>
                        </sp:arg3>
                        <sp:arg2>
                          <smf:buildString>
                            <sp:arg1>{?b}&lt;sup&gt;{?e}&lt;/sup&gt;</sp:arg1>
                          </smf:buildString>
                        </sp:arg2>
                        <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg2"/>
                      </smf:if>
                    </sp:arg3>
                    <sp:arg2>
                      <smf:buildString>
                        <sp:arg1>{?b} </sp:arg1>
                      </smf:buildString>
                    </sp:arg2>
                    <sp:arg1>
                      <sp:eq>
                        <sp:arg2>1</sp:arg2>
                        <sp:arg1>
                          <rdf:Description rdf:nodeID="A143">
                            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                            >e</sp:varName>
                          </rdf:Description>
                        </sp:arg1>
                      </sp:eq>
                    </sp:arg1>
                  </smf:if>
                </sp:arg2>
                <sp:arg1>
                  <sp:ne>
                    <sp:arg2>0</sp:arg2>
                    <sp:arg1 rdf:nodeID="A143"/>
                  </sp:ne>
                </sp:arg1>
              </smf:if>
            </sp:arg1>
          </xsd:string>
        </sp:expression>
      </sp:Let>
    </rdf:rest>
    <rdf:first>
      <sp:Let>
        <sp:variable rdf:nodeID="A143"/>
        <sp:expression>
          <smf:if>
            <sp:arg3>
              <rdf:Description rdf:nodeID="A144">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >expString</sp:varName>
              </rdf:Description>
            </sp:arg3>
            <sp:arg2>
              <smf:subString>
                <sp:arg3>
                  <sp:sub>
                    <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                    >2</sp:arg2>
                    <sp:arg1>
                      <fn:string-length>
                        <sp:arg1 rdf:nodeID="A144"/>
                      </fn:string-length>
                    </sp:arg1>
                  </sp:sub>
                </sp:arg3>
                <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
                >0</sp:arg2>
                <sp:arg1 rdf:nodeID="A144"/>
              </smf:subString>
            </sp:arg2>
            <sp:arg1>
              <fn:ends-with>
                <sp:arg2>.0</sp:arg2>
                <sp:arg1 rdf:nodeID="A144"/>
              </fn:ends-with>
            </sp:arg1>
          </smf:if>
        </sp:expression>
      </sp:Let>
    </rdf:first>
  </rdf:Description>
  <spl:Argument rdf:nodeID="A145">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfUnits"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >the unit system</rdfs:comment>
  </spl:Argument>
  <spl:Argument rdf:nodeID="A146">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >a quantity kind</rdfs:comment>
  </spl:Argument>
  <sp:ModPath rdf:nodeID="A147">
    <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
    <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
    >0</sp:modMin>
    <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
    >-2</sp:modMax>
  </sp:ModPath>
  <sp:Ask rdf:nodeID="A148">
    <sp:where rdf:parseType="Collection">
      <sp:Let>
        <sp:variable>
          <rdf:Description rdf:nodeID="A149">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >x</sp:varName>
          </rdf:Description>
        </sp:variable>
        <sp:expression>
          <qudtspin:getQuantityKindBaseExponent>
            <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg5"/>
            <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
            <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </qudtspin:getQuantityKindBaseExponent>
        </sp:expression>
      </sp:Let>
      <sp:Let>
        <sp:variable>
          <rdf:Description rdf:nodeID="A150">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >y</sp:varName>
          </rdf:Description>
        </sp:variable>
        <sp:expression>
          <qudtspin:getQuantityKindBaseExponent>
            <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg5"/>
            <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg3"/>
            <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </qudtspin:getQuantityKindBaseExponent>
        </sp:expression>
      </sp:Let>
      <sp:Let>
        <sp:variable>
          <rdf:Description rdf:nodeID="A151">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >z</sp:varName>
          </rdf:Description>
        </sp:variable>
        <sp:expression>
          <qudtspin:getQuantityKindBaseExponent>
            <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg5"/>
            <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg4"/>
            <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </qudtspin:getQuantityKindBaseExponent>
        </sp:expression>
      </sp:Let>
      <sp:Filter>
        <sp:expression>
          <sp:eq>
            <sp:arg2 rdf:nodeID="A151"/>
            <sp:arg1>
              <sp:add>
                <sp:arg2 rdf:nodeID="A150"/>
                <sp:arg1 rdf:nodeID="A149"/>
              </sp:add>
            </sp:arg1>
          </sp:eq>
        </sp:expression>
      </sp:Filter>
    </sp:where>
  </sp:Ask>
  <spl:Argument rdf:nodeID="A152">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfQuantities"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >the quantity system</rdfs:comment>
  </spl:Argument>
  <spl:InterArgument_1-4 rdf:nodeID="A153">
    <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
    >true</spl:transitive>
    <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
  </spl:InterArgument_1-4>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getCoherentUnit">
    <spin:returnType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the input quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfQuantities"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the system of quantities</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:InterArgument_1-2>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
      </spl:InterArgument_1-2>
    </spin:constraint>
    <spin:body rdf:nodeID="A94"/>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#UnitFunctions"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get coherent unit</rdfs:label>
  </spin:Function>
  <spl:Argument rdf:nodeID="A154">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >a quantity kind</rdfs:comment>
  </spl:Argument>
  <rdf:Description rdf:nodeID="A155">
    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >O2</sp:varName>
  </rdf:Description>
  <spl:Argument rdf:nodeID="A156">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >a quantity kind</rdfs:comment>
  </spl:Argument>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getVectorUnitString">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <spin:constraint rdf:nodeID="A145"/>
    <spin:constraint rdf:nodeID="A139"/>
    <spin:body rdf:nodeID="A104"/>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#DeprecatedFunctions"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get vector unit string</rdfs:label>
  </spin:Function>
  <rdf:Description rdf:nodeID="A157">
    <sp:subject rdf:resource="http://spinrdf.org/spin#_arg3"/>
    <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#conversionOffset"/>
    <sp:object rdf:nodeID="A155"/>
  </rdf:Description>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getQuantityKindBaseExponent">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
    <spin:body>
      <sp:Select>
        <sp:where rdf:parseType="Resource">
          <rdf:rest rdf:parseType="Resource">
            <rdf:rest rdf:parseType="Resource">
              <rdf:rest rdf:parseType="Resource">
                <rdf:rest rdf:nodeID="A122"/>
                <rdf:first rdf:nodeID="A120"/>
              </rdf:rest>
              <rdf:first rdf:parseType="Resource">
                <sp:subject>
                  <rdf:Description rdf:nodeID="A158">
                    <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                    >sd</sp:varName>
                  </rdf:Description>
                </sp:subject>
                <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#dimensionVector"/>
                <sp:object rdf:nodeID="A121"/>
              </rdf:first>
            </rdf:rest>
            <rdf:first rdf:parseType="Resource">
              <sp:subject rdf:nodeID="A158"/>
              <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#referenceQuantity"/>
              <sp:object rdf:resource="http://spinrdf.org/spin#_arg2"/>
            </rdf:first>
          </rdf:rest>
          <rdf:first rdf:parseType="Resource">
            <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemDimension"/>
            <sp:object rdf:nodeID="A158"/>
          </rdf:first>
        </sp:where>
        <sp:resultVariables rdf:parseType="Collection">
          <rdf:Description rdf:nodeID="A123"/>
        </sp:resultVariables>
      </sp:Select>
    </spin:body>
    <spin:constraint>
      <spl:InterArgument_1-3>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >false</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemBaseQuantityKind"/>
      </spl:InterArgument_1-3>
    </spin:constraint>
    <spin:constraint rdf:nodeID="A128"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get quantity kind base exponent</rdfs:label>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#QuantityFunctions"/>
    <spin:constraint rdf:nodeID="A131"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a base quantity kind for the system</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:InterArgument_1-2>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
      </spl:InterArgument_1-2>
    </spin:constraint>
  </spin:Function>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#isBaseQuotient-Internal">
    <spin:constraint rdf:nodeID="A156"/>
    <spin:constraint rdf:nodeID="A154"/>
    <spin:constraint rdf:nodeID="A152"/>
    <spin:constraint rdf:nodeID="A146"/>
    <spin:constraint rdf:nodeID="A140"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >is base quotient</rdfs:label>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#InternalFunctions"/>
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
    <spin:body rdf:nodeID="A124"/>
  </spin:Function>
  <rdf:Description rdf:nodeID="A159">
    <rdf:rest rdf:parseType="Collection">
      <sp:Let>
        <sp:variable>
          <rdf:Description rdf:nodeID="A160">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >value</sp:varName>
          </rdf:Description>
        </sp:variable>
        <sp:expression>
          <sp:divide>
            <sp:arg2 rdf:nodeID="A135"/>
            <sp:arg1>
              <sp:sub>
                <sp:arg2 rdf:nodeID="A155"/>
                <sp:arg1>
                  <sp:add>
                    <sp:arg2>
                      <rdf:Description rdf:nodeID="A161">
                        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                        >O1</sp:varName>
                      </rdf:Description>
                    </sp:arg2>
                    <sp:arg1>
                      <sp:mul>
                        <sp:arg2>
                          <rdf:Description rdf:nodeID="A162">
                            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                            >M1</sp:varName>
                          </rdf:Description>
                        </sp:arg2>
                        <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
                      </sp:mul>
                    </sp:arg1>
                  </sp:add>
                </sp:arg1>
              </sp:sub>
            </sp:arg1>
          </sp:divide>
        </sp:expression>
      </sp:Let>
    </rdf:rest>
    <rdf:first rdf:nodeID="A157"/>
  </rdf:Description>
  <sp:Ask rdf:nodeID="A163">
    <sp:where rdf:parseType="Collection">
      <rdf:Description>
        <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
        <sp:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
      </rdf:Description>
      <rdf:Description>
        <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
        <sp:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <sp:object rdf:resource="http://spinrdf.org/spin#_arg3"/>
      </rdf:Description>
      <sp:Optional rdf:nodeID="A89"/>
      <sp:Filter>
        <sp:expression>
          <sp:not>
            <sp:arg1>
              <sp:bound>
                <sp:arg1 rdf:nodeID="A90"/>
              </sp:bound>
            </sp:arg1>
          </sp:not>
        </sp:expression>
      </sp:Filter>
    </sp:where>
  </sp:Ask>
  <qudtspin:isQuantityKindQuotient rdf:nodeID="A164">
    <sp:arg4>
      <rdf:Description rdf:nodeID="A165">
        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >result</sp:varName>
      </rdf:Description>
    </sp:arg4>
    <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg3"/>
    <sp:arg2 rdf:resource="http://spinrdf.org/spin#_arg2"/>
    <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg1"/>
  </qudtspin:isQuantityKindQuotient>
  <sp:Select rdf:nodeID="A166">
    <sp:where rdf:parseType="Resource">
      <rdf:rest rdf:parseType="Resource">
        <rdf:rest rdf:parseType="Resource">
          <rdf:rest rdf:parseType="Resource">
            <rdf:rest rdf:parseType="Resource">
              <rdf:rest rdf:nodeID="A141"/>
              <rdf:first>
                <sp:Let>
                  <sp:variable rdf:nodeID="A144"/>
                  <sp:expression>
                    <xsd:string>
                      <sp:arg1>
                        <rdf:Description rdf:nodeID="A167">
                          <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                          >exp</sp:varName>
                        </rdf:Description>
                      </sp:arg1>
                    </xsd:string>
                  </sp:expression>
                </sp:Let>
              </rdf:first>
            </rdf:rest>
            <rdf:first>
              <sp:Let>
                <sp:variable rdf:parseType="Resource">
                  <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                  >b</sp:varName>
                </sp:variable>
                <sp:expression>
                  <smf:if>
                    <sp:arg3>
                      <rdf:Description rdf:nodeID="A168">
                        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                        >base</sp:varName>
                      </rdf:Description>
                    </sp:arg3>
                    <sp:arg2>
                      <glyph:getXhtmlGlyphEncoding>
                        <sp:arg1 rdf:nodeID="A168"/>
                      </glyph:getXhtmlGlyphEncoding>
                    </sp:arg2>
                    <sp:arg1 rdf:resource="http://spinrdf.org/spin#_arg2"/>
                  </smf:if>
                </sp:expression>
              </sp:Let>
            </rdf:first>
          </rdf:rest>
          <rdf:first rdf:parseType="Resource">
            <sp:subject>
              <rdf:Description rdf:nodeID="A169">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >element</sp:varName>
              </rdf:Description>
            </sp:subject>
            <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#symbol"/>
            <sp:object rdf:nodeID="A168"/>
          </rdf:first>
        </rdf:rest>
        <rdf:first rdf:parseType="Resource">
          <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
          <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#vectorMagnitude"/>
          <sp:object rdf:nodeID="A167"/>
        </rdf:first>
      </rdf:rest>
      <rdf:first rdf:parseType="Resource">
        <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
        <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#basisElement"/>
        <sp:object rdf:nodeID="A169"/>
      </rdf:first>
    </sp:where>
    <sp:resultVariables rdf:parseType="Collection">
      <rdf:Description rdf:nodeID="A142"/>
    </sp:resultVariables>
  </sp:Select>
  <sp:Select rdf:nodeID="A170">
    <sp:where rdf:parseType="Resource">
      <rdf:rest rdf:parseType="Resource">
        <rdf:rest rdf:parseType="Resource">
          <rdf:rest rdf:nodeID="A159"/>
          <rdf:first rdf:nodeID="A134"/>
        </rdf:rest>
        <rdf:first rdf:parseType="Resource">
          <sp:subject rdf:resource="http://spinrdf.org/spin#_arg2"/>
          <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#conversionOffset"/>
          <sp:object rdf:nodeID="A161"/>
        </rdf:first>
      </rdf:rest>
      <rdf:first rdf:parseType="Resource">
        <sp:subject rdf:resource="http://spinrdf.org/spin#_arg2"/>
        <sp:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#conversionMultiplier"/>
        <sp:object rdf:nodeID="A162"/>
      </rdf:first>
    </sp:where>
    <sp:resultVariables rdf:parseType="Collection">
      <rdf:Description rdf:nodeID="A160"/>
    </sp:resultVariables>
  </sp:Select>
  <rdf:Description rdf:nodeID="A171">
    <rdf:rest rdf:parseType="Resource">
      <rdf:rest rdf:nodeID="A119"/>
      <rdf:first rdf:nodeID="A99"/>
    </rdf:rest>
    <rdf:first>
      <sp:TriplePath>
        <sp:subject rdf:nodeID="A100"/>
        <sp:path>
          <sp:ModPath>
            <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
            <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >0</sp:modMin>
            <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >-2</sp:modMax>
          </sp:ModPath>
        </sp:path>
        <sp:object rdf:nodeID="A116"/>
      </sp:TriplePath>
    </rdf:first>
  </rdf:Description>
  <spl:InterArgument_1-3 rdf:nodeID="A172">
    <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
    >true</spl:transitive>
    <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
  </spl:InterArgument_1-3>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getVectorSymbol-Internal">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >true if the result should be encoded for html</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#DimensionVector"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the dimension vector</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body rdf:nodeID="A166"/>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#InternalFunctions"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get vector symbol - internal</rdfs:label>
  </spin:Function>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#convert">
    <spin:constraint rdf:nodeID="A112"/>
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#Unit"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the target unit of measure</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body rdf:nodeID="A170"/>
    <spin:constraint rdf:nodeID="A113"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Converts a numerical value (a xsd:double) from one unit of measure (specified in arg2) to another (specified in arg3). The source and target units of measure must be comparable (qudtspin:comparableUnits).</rdfs:comment>
    <spin:constraint rdf:nodeID="A118"/>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#UnitFunctions"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >convert</rdfs:label>
  </spin:Function>
  <sp:Filter rdf:nodeID="A173">
    <sp:expression rdf:nodeID="A164"/>
  </sp:Filter>
  <sp:Select rdf:nodeID="A174">
    <sp:where rdf:parseType="Collection">
      <sp:Optional>
        <sp:elements rdf:parseType="Collection">
          <rdf:Description>
            <sp:subject>
              <rdf:Description rdf:nodeID="A175">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >glyph</sp:varName>
              </rdf:Description>
            </sp:subject>
            <sp:predicate rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>
            <sp:object rdf:resource="http://topbraid.org/glyph#Glyph"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A175"/>
            <sp:predicate rdf:resource="http://topbraid.org/glyph#symbol"/>
            <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
          </rdf:Description>
          <rdf:Description>
            <sp:subject rdf:nodeID="A175"/>
            <sp:predicate rdf:resource="http://topbraid.org/glyph#xhtmlName"/>
            <sp:object>
              <rdf:Description rdf:nodeID="A176">
                <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
                >xhtmlName</sp:varName>
              </rdf:Description>
            </sp:object>
          </rdf:Description>
        </sp:elements>
      </sp:Optional>
      <sp:Let>
        <sp:variable>
          <rdf:Description rdf:nodeID="A177">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >result</sp:varName>
          </rdf:Description>
        </sp:variable>
        <sp:expression>
          <smf:if>
            <sp:arg3 rdf:resource="http://spinrdf.org/spin#_arg1"/>
            <sp:arg2 rdf:nodeID="A176"/>
            <sp:arg1>
              <sp:bound>
                <sp:arg1 rdf:nodeID="A176"/>
              </sp:bound>
            </sp:arg1>
          </smf:if>
        </sp:expression>
      </sp:Let>
    </sp:where>
    <sp:resultVariables rdf:parseType="Collection">
      <rdf:Description rdf:nodeID="A177"/>
    </sp:resultVariables>
  </sp:Select>
  <spl:Argument rdf:nodeID="A178">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg5"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >the base quantity kind</rdfs:comment>
  </spl:Argument>
  <rdf:Description rdf:nodeID="A179">
    <rdf:rest rdf:parseType="Collection">
      <sp:Filter>
        <sp:expression>
          <sp:not>
            <sp:arg1>
              <sp:bound>
                <sp:arg1 rdf:nodeID="A133"/>
              </sp:bound>
            </sp:arg1>
          </sp:not>
        </sp:expression>
      </sp:Filter>
    </rdf:rest>
    <rdf:first>
      <sp:Optional>
        <sp:elements rdf:parseType="Resource">
          <rdf:rest rdf:nodeID="A137"/>
          <rdf:first>
            <sp:TriplePath>
              <sp:subject rdf:nodeID="A133"/>
              <sp:path rdf:nodeID="A147"/>
              <sp:object rdf:nodeID="A138"/>
            </sp:TriplePath>
          </rdf:first>
        </sp:elements>
      </sp:Optional>
    </rdf:first>
  </rdf:Description>
  <spl:Argument rdf:nodeID="A180">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >a quantity kind</rdfs:comment>
  </spl:Argument>
  <rdf:Description rdf:nodeID="A181">
    <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
    <sp:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
    <sp:object rdf:resource="http://spinrdf.org/spin#_arg2"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A182">
    <rdf:rest rdf:nodeID="A179"/>
    <rdf:first rdf:nodeID="A181"/>
  </rdf:Description>
  <spl:Argument rdf:nodeID="A183">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >a quantity kind</rdfs:comment>
  </spl:Argument>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#isBaseProduct-Internal">
    <spin:body rdf:nodeID="A148"/>
    <spin:constraint rdf:nodeID="A132"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >is base product</rdfs:label>
    <spin:constraint rdf:nodeID="A129"/>
    <spin:constraint rdf:nodeID="A183"/>
    <spin:constraint rdf:nodeID="A178"/>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#InternalFunctions"/>
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
    <spin:constraint rdf:nodeID="A180"/>
  </spin:Function>
  <rdf:Description rdf:nodeID="A184">
    <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
    <sp:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
    <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
  </rdf:Description>
  <spl:Argument rdf:nodeID="A185">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfQuantities"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >the quantity system</rdfs:comment>
  </spl:Argument>
  <rdf:Description rdf:nodeID="A186">
    <rdf:rest rdf:nodeID="A182"/>
    <rdf:first rdf:nodeID="A184"/>
  </rdf:Description>
  <sp:Ask rdf:nodeID="A187">
    <sp:where rdf:nodeID="A186"/>
  </sp:Ask>
  <spl:Argument rdf:nodeID="A188">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >a quantity kind</rdfs:comment>
  </spl:Argument>
  <spl:Argument rdf:nodeID="A189">
    <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >a quantity kind</rdfs:comment>
  </spl:Argument>
  <rdf:Description rdf:nodeID="A190">
    <rdf:rest rdf:parseType="Collection">
      <rdf:Description>
        <sp:subject rdf:resource="http://spinrdf.org/spin#_arg1"/>
        <sp:predicate>
          <rdf:Description rdf:nodeID="A191">
            <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
            >pred</sp:varName>
          </rdf:Description>
        </sp:predicate>
        <sp:object rdf:nodeID="A165"/>
      </rdf:Description>
      <sp:Filter rdf:nodeID="A173"/>
    </rdf:rest>
    <rdf:first>
      <sp:TriplePath>
        <sp:subject rdf:nodeID="A191"/>
        <sp:path>
          <sp:ModPath>
            <sp:subPath rdf:resource="http://www.w3.org/2000/01/rdf-schema#subPropertyOf"/>
            <sp:modMin rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >0</sp:modMin>
            <sp:modMax rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
            >-2</sp:modMax>
          </sp:ModPath>
        </sp:path>
        <sp:object rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
      </sp:TriplePath>
    </rdf:first>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A192">
    <rdf:rest rdf:parseType="Resource">
      <rdf:rest rdf:parseType="Resource">
        <rdf:rest rdf:nodeID="A130"/>
        <rdf:first>
          <sp:Optional>
            <sp:elements rdf:nodeID="A171"/>
          </sp:Optional>
        </rdf:first>
      </rdf:rest>
      <rdf:first rdf:parseType="Resource">
        <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
        <sp:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
        <sp:object rdf:resource="http://spinrdf.org/spin#_arg4"/>
      </rdf:first>
    </rdf:rest>
    <rdf:first rdf:parseType="Resource">
      <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
      <sp:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
      <sp:object rdf:resource="http://spinrdf.org/spin#_arg1"/>
    </rdf:first>
  </rdf:Description>
  <sp:Ask rdf:nodeID="A193">
    <sp:where rdf:nodeID="A192"/>
  </sp:Ask>
  <rdf:Description rdf:nodeID="A194">
    <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
    <rdf:first rdf:nodeID="A165"/>
  </rdf:Description>
  <spl:Argument rdf:nodeID="A195">
    <spl:valueType rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
    <spl:predicate rdf:resource="http://spinrdf.org/spl#predicate"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >the constraining predicate</rdfs:comment>
  </spl:Argument>
  <sp:Select rdf:nodeID="A196">
    <sp:where rdf:nodeID="A190"/>
    <sp:resultVariables rdf:nodeID="A194"/>
  </sp:Select>
  <spl:Argument rdf:nodeID="A197">
    <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
    <spl:predicate rdf:resource="http://spinrdf.org/spl#transitive"/>
    <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
    >true</spl:optional>
    <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
    >true</spl:defaultValue>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >true if the constraint is checked against sub-properties of the predicate</rdfs:comment>
  </spl:Argument>
  <spl:Argument rdf:nodeID="A198">
    <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
    <spl:predicate rdf:resource="http://spinrdf.org/spl#transitive"/>
    <spl:optional rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
    >true</spl:optional>
    <spl:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
    >true</spl:defaultValue>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >true if the constraint is checked against sub-properties of the predicate</rdfs:comment>
  </spl:Argument>
  <spl:Argument rdf:nodeID="A199">
    <spl:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >the input string</rdfs:comment>
  </spl:Argument>
  <fn:string-length rdf:nodeID="A200">
    <sp:arg1>
      <rdf:Description rdf:nodeID="A201">
        <sp:varName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >string</sp:varName>
      </rdf:Description>
    </sp:arg1>
  </fn:string-length>
  <sp:gt rdf:nodeID="A202">
    <sp:arg2 rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
    >1</sp:arg2>
    <sp:arg1 rdf:nodeID="A200"/>
  </sp:gt>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#isQuantityKindQuotient">
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg4"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body rdf:nodeID="A103"/>
    <spin:constraint>
      <spl:InterArgument_1-2>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
      </spl:InterArgument_1-2>
    </spin:constraint>
    <spin:constraint rdf:nodeID="A153"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg3"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#SystemOfQuantities"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the quantity system</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >is dimension quotient</rdfs:label>
    <spin:constraint>
      <spl:InterArgument_1-3>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
      </spl:InterArgument_1-3>
    </spin:constraint>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#QuantityFunctions"/>
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
        <spl:predicate rdf:resource="http://spinrdf.org/sp#arg2"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >a quantity kind</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
  </spin:Function>
  <spin:Template rdf:about="http://spinrdf.org/spl#InterArgument_1-2">
    <spin:labelTemplate rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Inter Argument 1-2 : {?predicate}</spin:labelTemplate>
    <spin:constraint rdf:nodeID="A114"/>
    <spin:constraint>
      <spl:Argument>
        <spl:valueType rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
        <spl:predicate rdf:resource="http://spinrdf.org/spl#predicate"/>
        <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
        >the constraining predicate</rdfs:comment>
      </spl:Argument>
    </spin:constraint>
    <spin:body rdf:nodeID="A187"/>
    <rdfs:subClassOf rdf:resource="http://spinrdf.org/spl#InterArgument"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >1-2 Inter Argument Constraint</rdfs:label>
  </spin:Template>
  <sp:Filter rdf:nodeID="A203">
    <sp:expression rdf:nodeID="A202"/>
  </sp:Filter>
  <rdf:Description rdf:nodeID="A204">
    <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
    <rdf:first rdf:nodeID="A203"/>
  </rdf:Description>
  <spl:Argument rdf:nodeID="A205">
    <spl:valueType rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"/>
    <spl:predicate rdf:resource="http://spinrdf.org/spl#predicate"/>
    <rdfs:comment rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >the constraining predicate</rdfs:comment>
  </spl:Argument>
  <rdf:Description rdf:nodeID="A206">
    <sp:subject rdf:resource="http://spinrdf.org/spin#_this"/>
    <sp:predicate rdf:resource="http://spinrdf.org/sp#arg1"/>
    <sp:object rdf:nodeID="A201"/>
  </rdf:Description>
  <spin:Function rdf:about="http://data.qudt.org/qudt/owl/qudt-spin#getQuantityKindQuotient">
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get dimension quotient</rdfs:label>
    <rdfs:subClassOf rdf:resource="http://data.qudt.org/qudt/owl/qudt-spin#QuantityFunctions"/>
    <spin:returnType rdf:resource="http://data.nasa.gov/qudt/owl/qudt#QuantityKind"/>
    <spin:constraint rdf:nodeID="A189"/>
    <spin:constraint rdf:nodeID="A172"/>
    <spin:constraint>
      <spl:InterArgument_1-2>
        <spl:transitive rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean"
        >true</spl:transitive>
        <spl:predicate rdf:resource="http://data.nasa.gov/qudt/owl/qudt#systemQuantityKind"/>
      </spl:InterArgument_1-2>
    </spin:constraint>
    <spin:constraint rdf:nodeID="A185"/>
    <spin:constraint rdf:nodeID="A188"/>
    <spin:body rdf:nodeID="A196"/>
  </spin:Function>
  <rdf:Description rdf:nodeID="A207">
    <rdf:rest rdf:nodeID="A204"/>
    <rdf:first rdf:nodeID="A206"/>
  </rdf:Description>
  <spin:Function rdf:about="http://topbraid.org/glyph#getXhtmlGlyphEncoding">
    <spin:returnType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <spin:constraint rdf:nodeID="A199"/>
    <spin:constraint>
      <sp:Ask>
        <sp:where rdf:nodeID="A207"/>
      </sp:Ask>
    </spin:constraint>
    <spin:body rdf:nodeID="A174"/>
    <rdfs:subClassOf rdf:resource="http://topbraid.org/glyph#Functions"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >get xhtml glyph encoding</rdfs:label>
  </spin:Function>
  <spin:Template rdf:about="http://spinrdf.org/spl#InterArgument_1-4">
    <spin:labelTemplate rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Inter Argument 1-4 : {?predicate}</spin:labelTemplate>
    <spin:constraint rdf:nodeID="A205"/>
    <spin:constraint rdf:nodeID="A198"/>
    <spin:body rdf:nodeID="A193"/>
    <rdfs:subClassOf rdf:resource="http://spinrdf.org/spl#InterArgument"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >1-4 Inter Argument Constraint</rdfs:label>
  </spin:Template>
  <spin:Template rdf:about="http://spinrdf.org/spl#InterArgument_1-3">
    <spin:labelTemplate rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >Inter Argument 1-3 : {?predicate}</spin:labelTemplate>
    <spin:constraint rdf:nodeID="A195"/>
    <spin:constraint rdf:nodeID="A197"/>
    <spin:body rdf:nodeID="A163"/>
    <rdfs:subClassOf rdf:resource="http://spinrdf.org/spl#InterArgument"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
    >1-3 Inter Argument Constraint</rdfs:label>
  </spin:Template>
</rdf:RDF>

<!-- Created with TopBraid -->

