<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Vincent,</div>
<div class=""><br class="">
</div>
<div class="">Just a little history as to why it's done this way. We chose JSON-LD for the REST API because it provided a good compromise between proper RDF and developer usability. When we decided to make the API hypermedia-based we knew that it could clash
 a bit with the RDF in JSON-LD and this is the exact area where the clash occurs.</div>
<div class=""><br class="">
</div>
<div class="">Exposing the links using the proper RDF would cause a usability problem for developers, the vast majority of whom don't care about the underlying RDF semantics and would be very confused by having to learn RDF to traverse the data we expose. When
 we designed the API there weren't great standards for using JSON-LD to expose hypermedia links, so that may have changed and there may be better solutions out there.</div>
<div class=""><br class="">
</div>
<div class="">We also felt that the links weren't a part of the underlying data model we are exposing but something we were layering on top, IE if you put all of the data as RDF into a triplestore, the links would not be represented and would not be traversable
 because they aren't actually data within the system (there is no RDF object that corresponds to an ontology's roots, for example, even though there is a REST endpoint for that data).</div>
<div class=""><br class="">
</div>
<div class="">I'll leave it to the current BioPortal team to offer an official recommendation here, but my sense is that it's just a quirk of trying to adhere to standards where we can while also trying to make the system usable by as many people as possible.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class="">Paul</div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Mar 21, 2016, at 8:53 AM, Emonet <<a href="mailto:vincent.emonet@lirmm.fr" class="">vincent.emonet@lirmm.fr</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class="">Hi,<br class="">
<div class="moz-forward-container">
<div class="WordSection1">
<p class="MsoNormal">It seems like there is an error in the JSON-LD @context for Links<br class="">
</p>
<p class="MsoNormal">The context should provide the properties URI. e.g.: " <span class="prop" style="font-weight: bold; font-family: monospace; font-size: 14.3000001907349px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
name<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></span><span style="font-family: monospace; font-size: 14.3000001907349px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">:
</span><a href="http://data.bioontology.org/metadata/omvname" style="animation: documents_linkInserted 1ms; font-fam
 ily: mono


space; font-size: 14.3000001907349px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>http://data.bioontology.org/metadata/omvname<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></a><span style="font-family: monospace; font-size: 14.3000001907349px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">,</span>"<br class="">
But instead it is providing the object type: " <span class="prop" style="font-weight: bold; font-family: monospace; font-size: 14.3000001907349px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
children<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></span><span style="font-family: monospace; font-size: 14.3000001907349px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">:
</span><a href="http://www.w3.org/2002/07/owl#Class" style="animation: documents_linkInserted 1ms; font-family: 
 monospace


; font-size: 14.3000001907349px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>http://www.w3.org/2002/07/owl#Class<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></a><span style="font-family: monospace; font-size: 14.3000001907349px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">,</span>"<br class="">
</p>
<p class="MsoNormal"><br class="">
</p>
<p class="MsoNormal">@context should be "traducing" the property terms used in the JSON as an IRI. For instance in<br class="">
<a moz-do-not-send="true" href="http://data.bioontology.org/ontologies/STY/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSTY%2FT057" class="">http://data.bioontology.org/ontologies/STY/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSTY%2FT057</a><br class="">
</p>
<p class="MsoNormal">The @context defines that the predicate "obsolete" has <a class="moz-txt-link-freetext" href="http://data.bioontology.org/metadata/owlobsolete">
http://data.bioontology.org/metadata/owlobsolete</a> as property<br class="">
So it is representing the following triple: < <a moz-do-not-send="true" href="http://purl.bioontology.org/ontology/STY/T057" class="">
<span style="font-size:10.5pt;font-family:"Courier
              New"" class=""></span></a><a class="moz-txt-link-freetext" href="http://purl.bioontology.org/ontology/STY/T057">http://purl.bioontology.org/ontology/STY/T057</a><span class="q">"</span>> <<a moz-do-not-send="true" href="http://data.bioontology.org/metadata/owlobsolete" class=""><span style="font-size:10.5pt;font-family:"Courier
              New"" class=""></span></a><a class="moz-txt-link-freetext" href="http://data.bioontology.org/metadata/owlobsolete">http://data.bioontology.org/metadata/owlobsolete</a>>
<span style="font-size:10.5pt;font-family:"Courier
            New";color:blue" class="">
false .</span><span style="font-size:10.5pt;font-family:"Courier
            New";color:blue" class=""></span><br class="">
</p>
<p class="MsoNormal"><br class="">
But the @context generated for "links" is it:<br class="">
</p>
<blockquote type="cite" class="">
<p class="MsoNormal"><span class="prop"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">@context</span></b></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">:
 {</span> <o:p class=""></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:24.0pt;text-indent:-18.0pt;mso-list:l0



            level1 lfo1">
<span style="font-size:10.0pt;font-family:Symbol" class=""><span style="mso-list:Ignore" class="">·<span style="font:7.0pt
                  "Times New Roman"" class="">        
</span></span></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span class="prop"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">self</span></b></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">:
<a moz-do-not-send="true" href="http://www.w3.org/2002/07/owl#Class" class=""><span class="q">"</span>http://www.w3.org/2002/07/owl#Class<span class="q">"</span></a>,<o:p class=""></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:24.0pt;text-indent:-18.0pt;mso-list:l0



            level1 lfo1">
<span style="font-size:10.0pt;font-family:Symbol" class=""><span style="mso-list:Ignore" class="">·<span style="font:7.0pt
                  "Times New Roman"" class="">        
</span></span></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span class="prop"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">ontology</span></b></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">:
<a moz-do-not-send="true" href="http://data.bioontology.org/metadata/Ontology" class="">
<span class="q">"</span>http://data.bioontology.org/metadata/Ontology<span class="q">"</span></a>,<o:p class=""></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:24.0pt;text-indent:-18.0pt;mso-list:l0



            level1 lfo1">
<span style="font-size:10.0pt;font-family:Symbol" class=""><span style="mso-list:Ignore" class="">·<span style="font:7.0pt
                  "Times New Roman"" class="">        
</span></span></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span class="prop"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">children</span></b></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">:
<a moz-do-not-send="true" href="http://www.w3.org/2002/07/owl#Class" class=""><span class="q">"</span>http://www.w3.org/2002/07/owl#Class<span class="q">"</span></a>,<o:p class=""></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:24.0pt;text-indent:-18.0pt;mso-list:l0



            level1 lfo1">
<span style="font-size:10.0pt;font-family:Symbol" class=""><span style="mso-list:Ignore" class="">·<span style="font:7.0pt
                  "Times New Roman"" class="">        
</span></span></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span class="prop"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">parents</span></b></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">:
<a moz-do-not-send="true" href="http://www.w3.org/2002/07/owl#Class" class=""><span class="q">"</span>http://www.w3.org/2002/07/owl#Class<span class="q">"</span></a>,<o:p class=""></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:24.0pt;text-indent:-18.0pt;mso-list:l0



            level1 lfo1">
<span style="font-size:10.0pt;font-family:Symbol" class=""><span style="mso-list:Ignore" class="">·<span style="font:7.0pt
                  "Times New Roman"" class="">        
</span></span></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span class="prop"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">descendants</span></b></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">:
<a moz-do-not-send="true" href="http://www.w3.org/2002/07/owl#Class" class=""><span class="q">"</span>http://www.w3.org/2002/07/owl#Class<span class="q">"</span></a>,<o:p class=""></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:24.0pt;text-indent:-18.0pt;mso-list:l0



            level1 lfo1">
<span style="font-size:10.0pt;font-family:Symbol" class=""><span style="mso-list:Ignore" class="">·<span style="font:7.0pt
                  "Times New Roman"" class="">        
</span></span></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span class="prop"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">ancestors</span></b></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">:
<a moz-do-not-send="true" href="http://www.w3.org/2002/07/owl#Class" class=""><span class="q">"</span>http://www.w3.org/2002/07/owl#Class<span class="q">"</span></a>,<o:p class=""></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:24.0pt;text-indent:-18.0pt;mso-list:l0



            level1 lfo1">
<span style="font-size:10.0pt;font-family:Symbol" class=""><span style="mso-list:Ignore" class="">·<span style="font:7.0pt
                  "Times New Roman"" class="">        
</span></span></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span class="prop"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">tree</span></b></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">:
<a moz-do-not-send="true" href="http://www.w3.org/2002/07/owl#Class" class=""><span class="q">"</span>http://www.w3.org/2002/07/owl#Class<span class="q">"</span></a>,<o:p class=""></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:24.0pt;text-indent:-18.0pt;mso-list:l0



            level1 lfo1">
<span style="font-size:10.0pt;font-family:Symbol" class=""><span style="mso-list:Ignore" class="">·<span style="font:7.0pt
                  "Times New Roman"" class="">        
</span></span></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span class="prop"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">notes</span></b></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">:
<a moz-do-not-send="true" href="http://data.bioontology.org/metadata/Note" class="">
<span class="q">"</span>http://data.bioontology.org/metadata/Note<span class="q">"</span></a>,<o:p class=""></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:24.0pt;text-indent:-18.0pt;mso-list:l0



            level1 lfo1">
<span style="font-size:10.0pt;font-family:Symbol" class=""><span style="mso-list:Ignore" class="">·<span style="font:7.0pt
                  "Times New Roman"" class="">        
</span></span></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span class="prop"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">mappings</span></b></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">:
<a moz-do-not-send="true" href="http://data.bioontology.org/metadata/Mapping" class="">
<span class="q">"</span>http://data.bioontology.org/metadata/Mapping<span class="q">"</span></a>,<o:p class=""></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:24.0pt;text-indent:-18.0pt;mso-list:l0



            level1 lfo1">
<span style="font-size:10.0pt;font-family:Symbol" class=""><span style="mso-list:Ignore" class="">·<span style="font:7.0pt
                  "Times New Roman"" class="">        
</span></span></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span class="prop"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">ui</span></b></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">:
<a moz-do-not-send="true" href="http://www.w3.org/2002/07/owl#Class" class=""><span class="q">"</span>http://www.w3.org/2002/07/owl#Class<span class="q">"</span></a><o:p class=""></o:p></span></p>
<span style="font-size:10.5pt;font-family:"Courier
            New"" class="">}</span></blockquote>
<br class="">
<p class="MsoNormal"><br class="">
</p>
<p class="MsoNormal">These are not the properties that are defined here, but the types of the objects<br class="">
</p>
<p class="MsoNormal">This JSON is defining the following triple:<br class="">
<node "links" of <a moz-do-not-send="true" href="http://purl.bioontology.org/ontology/STY/T057" class="">
<span style="font-size:10.5pt;font-family:"Courier
              New"" class="">http://purl.bioontology.org/ontology/STY/T057</span></a>> <<a moz-do-not-send="true" href="http://www.w3.org/2002/07/owl#Class" class="">http://www.w3.org/2002/07/owl#Class</a>>
 <<a moz-do-not-send="true" href="http://data.bioontology.org/ontologies/STY/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSTY%2FT057/parents" class=""><span class="q"><span style="font-size:10.5pt;font-family:"Courier
                New"" class=""></span></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">http://data.bioontology.org/ontologies/STY/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSTY%2FT057/parents<span class="q"></span></span></a>>
 .<br class="">
<br class="">
When it should define the following one:<br class="">
<node "links" of <a moz-do-not-send="true" href="http://purl.bioontology.org/ontology/STY/T057" class=""><span class="q"><span style="font-size:10.5pt;font-family:"Courier
                New"" class=""></span></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">http://purl.bioontology.org/ontology/STY/T057</span></a>>
 <<a moz-do-not-send="true" href="http://data.bioontology.org/metadata/Mapping" class=""><span class="q"></span>http://data.bioontology.org/metadata/parents</a>> <<a moz-do-not-send="true" href="http://data.bioontology.org/ontologies/STY/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSTY%2FT057/parents" class=""><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">http://data.bioontology.org/ontologies/STY/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSTY%2FT057/parents<span class="q"></span></span></a>>
 .<br class="">
<br class="">
If we want to define types we would have to do the following:</p>
<blockquote type="cite" class="">
<p class="MsoNormal"><span class="prop"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">@context</span></b></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">:
 {</span> <o:p class=""></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:24.0pt;text-indent:-18.0pt;mso-list:l1



            level1 lfo2">
<span style="font-size:10.0pt;font-family:Symbol" class=""><span style="mso-list:Ignore" class="">·<span style="font:7.0pt
                  "Times New Roman"" class="">        
</span></span></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span class="prop"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">parents</span></b></span><span class="q"><b class=""><span style="font-size:10.5pt;font-family:"Courier
                  New"" class="">"</span></b></span><span style="font-size:10.5pt;font-family:"Courier
              New"" class="">:
 {@type: <a moz-do-not-send="true" href="http://www.w3.org/2002/07/owl#Class" class="">
<span class="q">"</span>http://www.w3.org/2002/07/owl#Class<span class="q">"</span></a>},<o:p class=""></o:p></span></p>
}</blockquote>
<a class="moz-txt-link-freetext" href="https://github.com/ncbo/ontologies_linked_data/blob/master/lib/ontologies_linked_data/serializers/json.rb#L71"></a><br class="">
<p class="MsoNormal" style="margin-bottom:12.0pt">This error is only in @context of link. If we look at how you define the context for the class, we have the following (that respects the w3c recommendation):<br class="">
<span class="prop" style="font-weight: bold; font-family: monospace; font-size: 14.3px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span class="q" style="display: inline-block; width: 0px; color: transparent;"></span></span></p>
<span style="font-family: monospace; font-size: 14.3px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""></span>
<div style="margin-bottom: 12pt;" class=""><br class="webkit-block-placeholder">
</div>
<blockquote type="cite" class=""><span class="prop" style="font-weight: bold; font-family: monospace; font-size: 14.3px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>@context<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></span><span style="font-family: monospace; font-size: 14.3px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">:
 {</span>
<ul class="obj collapsible" style="list-style: none; margin: 0px 0px 0px 2em; padding: 0px; font-family: monospace; font-size: 14.3px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<li style="position: relative;" class=""><span class="prop" style="font-weight: bold;"><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>@vocab<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></span>:
<a href="http://data.bioontology.org/metadata/" class=""><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>http://data.bioontology.org/metadata/<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></a>,</li><li style="position
 : relativ
e;" class=""><span class="prop" style="font-weight: bold;"><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>prefLabel<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></span>:
<a href="http://data.bioontology.org/metadata/skosprefLabel" class=""><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>http://data.bioontology.org/metadata/skosprefLabel<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></a>,</li><li style="position: relative;" class=""><span class="prop" style="font-weight: bold;"><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>synonym<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></span>:
<a href="http://data.bioontology.org/metadata/skossynonym" class=""><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>http://data.bioontology.org/metadata/sk ossynonym
<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></a>,</li><li style="position: relative;" class=""><span class="prop" style="font-weight: bold;"><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>definition<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></span>:
<a href="http://data.bioontology.org/metadata/skosdefinition" class=""><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>http://data.bioontology.org/metadata/skosdefinition<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></a>,</li><li style="position: relative;" class=""><span class="prop" style="font-weight: bold;"><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>obsolete<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></span>:
<a href="http://data.bioontology.org/metadata/owlobsolet%20e" class=""><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>http://data.bioontology.org/metadata/owlobsolete<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></a>,</li><li style="position: relative;" class=""><span class="prop" style="font-weight: bold;"><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>semanticType<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></span>:
<a href="http://data.bioontology.org/metadata/umlssemanticType" class=""><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>http://data.bioontology.org/metadata/umlssemanticType<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></a>,</li><li style="position: relative;" class=""><span class="prop" style="font-weight: bold;"><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>cui<span class="q" style="display:
 inline-block; width: 0px; color: transparent;">"</span></span>:
<a href="http://data.bioontology.org/metadata/umlscui" class=""><span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span>http://data.bioontology.org/metadata/umlscui<span class="q" style="display: inline-block; width: 0px; color: transparent;">"</span></a></li></ul>
<span style="font-family: monospace; font-size: 14.3px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">}</span></blockquote>
<br class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">It seems the Links context are generated here :
<a class="moz-txt-link-freetext" href="https://github.com/ncbo/ontologies_linked_data/blob/master/lib/ontologies_linked_data/serializers/json.rb#L71">
</a><a class="moz-txt-link-freetext" href="https://github.com/ncbo/ontologies_linked_data/blob/master/lib/ontologies_linked_data/serializers/json.rb#L71">https://github.com/ncbo/ontologies_linked_data/blob/master/lib/ontologies_linked_data/serializers/json.rb#L71</a></p>
<br class="">
Note that to understand the use of @context I used the w3c recommendation : <a moz-do-not-send="true" href="http://www.w3.org/TR/json-ld/#base-iri" class="">
http://www.w3.org/TR/json-ld/#base-iri</a><br class="">
<br class="">
<br class="">
Is it an expected behavior? Or is there a problem when generating the links context?<br class="">
<br class="">
<br class="">
Have a good day,<br class="">
<br class="">
Vincent Emonet<br class="">
<br class="">
<br class="">
</div>
<br class="">
</div>
<br class="">
</div>
_______________________________________________<br class="">
bioontology-support mailing list<br class="">
<a href="mailto:bioontology-support@lists.stanford.edu" class="">bioontology-support@lists.stanford.edu</a><br class="">
<a href="https://mailman.stanford.edu/mailman/listinfo/bioontology-support" class="">https://mailman.stanford.edu/mailman/listinfo/bioontology-support</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</body>
</html>