gs1 / WebVoc

GS1 Web vocabulary development site
Apache License 2.0
29 stars 6 forks source link

rdfs:seeAlso in ontology browser #29

Open VladimirAlexiev opened 3 years ago

VladimirAlexiev commented 3 years ago

The ontology uses rdfs:seeAlso for cross-reference links, which is great information. It's used for these purposes:

1) links to schema.org: https://www.gs1.org/voc/dependentProprietaryProduct: image

2) links to other gs1 terms: https://www.gs1.org/voc/dutyFeeTaxAmount image

I'm proposing also:

3) links to documentation eg https://www.gs1.org/docs/Digital-Link/GS1_Digital_link_Standard_i1.1.pdf (see https://github.com/gs1/WebVoc/issues/18#issuecomment-866839648)

@mgh128 could you please:

  1. render seeAlso values always on a new line (even in case 2) because this is key linking info
  2. render the value as a link even in case 2
  3. make sure URLs that are neither in neither namespace gs1, schema (like the doc URL in case 3) are rendered properly
  4. check what happens if there's a mix of 1, 2 and 3. Because of the added header Nearest schema.org equivalent, case 1 should be rendered last