Skip to content

Is the MESH ID expansion in the example correct? #9

Open
@cmungall

Description

@cmungall
{
  "@context": {
    "drugbank" : "http://identifiers.org/drugbank/",
    "mesh"     : "http://identifiers.org/mesh/",
    "schema"   : "http://schema.org/",
    "object"   : "schema:object",
    "ChemicalName" : {
      "@type" : "schema:name",
      "@id"   : "schema:name"
    },
    "ChemicalID"     : {
      "@type" : "mesh:",
      "@id"   : "mesh:"
    },

the data looks like this:

(0.017ferrocene)amylose,MESH:C089250,,,MESH:D000688|MESH:D005296,D01.490.200/C089250|D02.691.550.200/C089250|D09.301.915.361/C089250|D09.698.365.855.361/C089250,D01.490.200|D02.691.550.200|D09.301.915.361|D09.698.365.855.361,(0.017 ferrocene)amylose,

Expansion from values in a CSV is not covered in the JSON-LD spec but I understand the intention to be to treat the value like it's a string in a JSON doc

in which case shouldn't the context say

   "MESH"     : "http://identifiers.org/mesh/",

Which will make col2 expand to

http://identifiers.org/mesh/MESH:C089250

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions