<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Lorenz,<div><br></div><div>Are there specific relations that you are interested in? A few of the entries in relation are BioPortal-specific:</div><div>SubClass (child classes/terms)</div><div>SuperClass (parent classes/terms)</div><div>ChildCount (# of child classes/terms)</div><div>IndividualCount (# of instances/individuals of this class)</div><div><br></div><div>The others are supplied by the ontology itself. You should see them listed on the properties call that I sent earlier in most cases. It appears as though PAR doesn't show up there, and to be honest I'm not sure why. I'll file a bug report on that.</div><div><br></div><div>Let me know if you have other questions.</div><div><br></div><div>Paul</div><div><br></div><div><br><div><div>On Dec 5, 2012, at 1:15 PM, Lorenz Buehmann <<a href="mailto:buehmann@informatik.uni-leipzig.de">buehmann@informatik.uni-leipzig.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  <div text="#000000" bgcolor="#FFFFFF">
    <br>
    -----BEGIN PGP SIGNED MESSAGE-----<br>
    Hash: SHA1<br>
    <br>
    Hi Paul,<br>
    <br>
    thanks for your answer. I guess what you suggest is the service for
    getting all properties for an ontology. This properties can than be
    used by instances.<br>
    What I want to know is, how to handle the relations which are
    contained in class beans, e.g.<br>
    <br>
    <?xml version="1.0" encoding="UTF-8"?><br>
    <success><br>
     
<accessedResource>/bioportal/concepts/44103</accessedResource><br>
      <accessDate>2010-12-08 16:57:43.763 PST</accessDate><br>
      <data><br>
        <classBean><br>
          <id>O80-O84.9</id><br>
         
<fullId><a class="moz-txt-link-freetext" href="http://purl.bioontology.org/ontology/ICD10/O80-O84.9">http://purl.bioontology.org/ontology/ICD10/O80-O84.9</a></fullId><br>
    <br>
          <label>Delivery</label><br>
          <type>Class</type><br>
          <relations><br>
            <entry><br>
              <string>SubClass</string><br>
              <list><br>
                <classBean><br>
    <br>
                  <id>O84</id><br>
                 
<fullId><a class="moz-txt-link-freetext" href="http://purl.bioontology.org/ontology/ICD10/O84">http://purl.bioontology.org/ontology/ICD10/O84</a></fullId><br>
                  <label>Multiple delivery</label><br>
                  <type>Class</type><br>
                  <relations><br>
                    <entry><br>
                      <string>ChildCount</string><br>
    <br>
                      <int>5</int><br>
                    </entry><br>
                  </relations><br>
                </classBean><br>
                <classBean><br>
                  <id>O83</id><br>
                 
<fullId><a class="moz-txt-link-freetext" href="http://purl.bioontology.org/ontology/ICD10/O83">http://purl.bioontology.org/ontology/ICD10/O83</a></fullId><br>
    <br>
                  <label>Other assisted single
    delivery</label><br>
                  <type>Class</type><br>
                  <relations><br>
                    <entry><br>
                      <string>ChildCount</string><br>
                      <int>7</int><br>
                    </entry><br>
    <br>
                  </relations><br>
                </classBean><br>
                <classBean><br>
                  <id>O82</id><br>
                 
<fullId><a class="moz-txt-link-freetext" href="http://purl.bioontology.org/ontology/ICD10/O82">http://purl.bioontology.org/ontology/ICD10/O82</a></fullId><br>
                  <label>Single delivery by caesarean
    section</label><br>
                  <type>Class</type><br>
    <br>
                  <relations><br>
                    <entry><br>
                      <string>ChildCount</string><br>
                      <int>5</int><br>
                    </entry><br>
                  </relations><br>
                </classBean><br>
                <classBean><br>
    <br>
                  <id>O81</id><br>
                 
<fullId><a class="moz-txt-link-freetext" href="http://purl.bioontology.org/ontology/ICD10/O81">http://purl.bioontology.org/ontology/ICD10/O81</a></fullId><br>
                  <label>Single delivery by forceps and vacuum
    extractor</label><br>
                  <type>Class</type><br>
                  <relations><br>
                    <entry><br>
                      <string>ChildCount</string><br>
    <br>
                      <int>6</int><br>
                    </entry><br>
                  </relations><br>
                </classBean><br>
                <classBean><br>
                  <id>O80</id><br>
                 
<fullId><a class="moz-txt-link-freetext" href="http://purl.bioontology.org/ontology/ICD10/O80">http://purl.bioontology.org/ontology/ICD10/O80</a></fullId><br>
    <br>
                  <label>Single spontaneous delivery</label><br>
                  <type>Class</type><br>
                  <relations><br>
                    <entry><br>
                      <string>ChildCount</string><br>
                      <int>4</int><br>
                    </entry><br>
    <br>
                  </relations><br>
                </classBean><br>
              </list><br>
            </entry><br>
            <entry><br>
              <string>PAR</string><br>
              <list><br>
                <classBean><br>
    <br>
                  <id>O00-O99.9</id><br>
                 
<fullId><a class="moz-txt-link-freetext" href="http://purl.bioontology.org/ontology/ICD10/O00-O99.9">http://purl.bioontology.org/ontology/ICD10/O00-O99.9</a></fullId><br>
                  <label>Pregnancy, childbirth and the
    puerperium</label><br>
                  <type>Class</type><br>
                  <relations><br>
                    <entry><br>
                      <string>ChildCount</string><br>
    <br>
                      <int>8</int><br>
                    </entry><br>
                  </relations><br>
                </classBean><br>
              </list><br>
            </entry><br>
            <entry><br>
              <string>ChildCount</string><br>
    <br>
              <int>5</int><br>
            </entry><br>
            <entry><br>
              <string>Semantic_Type</string><br>
              <list><br>
                <string>Therapeutic or Preventive
    Procedure</string><br>
              </list><br>
    <br>
            </entry><br>
            <entry><br>
              <string>TUI</string><br>
              <list><br>
                <string>T061</string><br>
              </list><br>
            </entry><br>
            <entry><br>
    <br>
              <string>UMLS_CUI</string><br>
              <list><br>
                <string>C0011209</string><br>
              </list><br>
            </entry><br>
            <entry><br>
              <string>SuperClass</string><br>
    <br>
              <list><br>
                <classBean><br>
                  <id>O00-O99.9</id><br>
                 
<fullId><a class="moz-txt-link-freetext" href="http://purl.bioontology.org/ontology/ICD10/O00-O99.9">http://purl.bioontology.org/ontology/ICD10/O00-O99.9</a></fullId><br>
                  <label>Pregnancy, childbirth and the
    puerperium</label><br>
                  <type>Class</type><br>
                  <relations><br>
    <br>
                    <entry><br>
                      <string>ChildCount</string><br>
                      <int>8</int><br>
                    </entry><br>
                  </relations><br>
                </classBean><br>
              </list><br>
            </entry><br>
    <br>
          </relations><br>
        </classBean><br>
      </data><br>
    </success><br>
    <br>
    Here we have for example relation entries like SubClass, SuperClass,
    PAR, TUI... What is the semantic behind them, and are there some
    full URIs? For some of them I guess it is clear, so SubClass is
    maybe equal to rdfs:subClassOf, but what about others like PAR, TUI.<br>
    <br>
    Kind regards,<br>
    Lorenz<br>
    <br>
    On 05.12.2012 20:11, Paul R Alexander wrote:<br>
    <span style="white-space: pre;">> Lorenz,<br>
      ><br>
      > You can see information about the property ids found in the
      relation element by making a separate call using the ontology
      version id:<br>
      >
<a class="moz-txt-link-freetext" href="http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey">http://rest.bioontology.org/bioportal/ontologies/properties/38801?apikey=YourAPIKey</a><br>
      ><br>
      > If this isn't what you are looking for, please let me know.<br>
      ><br>
      > Paul<br>
      ><br>
      ><br>
      > On Dec 5, 2012, at 6:43 AM, Lorenz Bühmann
      <<a class="moz-txt-link-abbreviated" href="mailto:buehmann@informatik.uni-leipzig.de">buehmann@informatik.uni-leipzig.de</a>
      <a class="moz-txt-link-rfc2396E" href="mailto:buehmann@informatik.uni-leipzig.de"><mailto:buehmann@informatik.uni-leipzig.de></a>> wrote:<br>
      ><br>
      >> Hello BioPortal developers,<br>
      >><br>
      >> I'm currently playing around with the BioPortal REST
      services, and now I'm just wondering how it is possible to get the
      URIs for the relations which are contained in the relations part,
      when I for example use the term service. Is there a preferred
      namespace for the relations you provide via the REST service? Or
      is there somewhere a full list of possible relations?<br>
      >><br>
      >> Kind regards,<br>
      >> Lorenz Bühmann<br>
      >> -- <br>
      >> M.Sc. Inf. Lorenz Bühmann<br>
      >> Institute of Computer Science, University of Leipzig<br>
      >> Research Group: Agile Knowledge Engineering and Semantic
      Web (AKSW) <a class="moz-txt-link-rfc2396E" href="http://aksw.org/"><http://aksw.org/></a><br>
      >> Workpage:
      <a class="moz-txt-link-freetext" href="http://bis.informatik.uni-leipzig.de/LorenzBuehmann">http://bis.informatik.uni-leipzig.de/LorenzBuehmann</a><br>
      >> _______________________________________________<br>
      >> bioontology-support mailing list<br>
      >> <a class="moz-txt-link-abbreviated" href="mailto:bioontology-support@lists.stanford.edu">bioontology-support@lists.stanford.edu</a>
      <a class="moz-txt-link-rfc2396E" href="mailto:bioontology-support@lists.stanford.edu"><mailto:bioontology-support@lists.stanford.edu></a><br>
      >>
      <a class="moz-txt-link-freetext" href="https://mailman.stanford.edu/mailman/listinfo/bioontology-support">https://mailman.stanford.edu/mailman/listinfo/bioontology-support</a><br>
      ></span><br>
    <br>
    -----BEGIN PGP SIGNATURE-----<br>
    Version: GnuPG v1.4.11 (GNU/Linux)<br>
    Comment: Using GnuPG with undefined - <a class="moz-txt-link-freetext" href="http://www.enigmail.net/">http://www.enigmail.net/</a><br>
    <br>
    iQEcBAEBAgAGBQJQv7lUAAoJEI97YhPimK8yJlgIAJl/dKsV7+JNZGlUnBxKxCHk<br>
    eaPBx7vgwUSLu0EbfsEjsrLXqUw/QGkj5EXflQsxognQxQE61owJvh4HuBdRFCXR<br>
    cVvkb+s7FOPakAvQZ9qLkcwQXFP658kXeIAUg9LWpSIRVfaBodEHzUr9mUbh0F08<br>
    49bobdiaCEN+Q587xL3lhlXSGzRxDFPYYCkI4Be8BLZLucG1KO8YFP2JyFnaK3mn<br>
    88YjQG5gTNtAGSyG6IX9MK6YRgikPxj1K2kmgXXsobE/I++BaY+EjW9E/7ISXIBK<br>
    tOsifAgVnR3T4UouvYqVd9ANQiDHbsbjJ+w2oFL3LA6vnyBcOg95M3CV/v5BXlA=<br>
    =HXYS<br>
    -----END PGP SIGNATURE-----<br>
    <br>
  </div>

</blockquote></div><br></div></body></html>