iodepo / odis-in

Demonstration repository to OIH Book development
Other
0 stars 1 forks source link

create INCOIS dataset template #14

Open jmckenna opened 3 months ago

jmckenna commented 3 months ago

related to https://github.com/iodepo/odis-arch/issues/396

cc @pbuttigieg

pbuttigieg commented 1 month ago

@jmckenna this was helpful: http://blog.schema.org/2014/06/introducing-role.html

It's a little unusual to me, but Role is an intervening Type between a relationship and other entities, and the repetition of the original relation (in this case creator) seems valid. I'd improve it by adding starting and ending dates for the role, but these are optional.

SmartSelect_20240601_094658_Chrome.png

    "creator": [ 
         { 
             "@type": "Role", 
             "roleName": "PrincipalInvestigator", 
             "creator": { 
                 "@type": "Person", 
                 "name": "Mr. Hashim Manjebrayakath", 
                 "email": "anil [ at ] ncaor.gov.in", 
                 "telephone": "+91-832-2525513", 
                 "affiliation": { 
                     "@type": "Organization", 
                     "name": "National Centre for Polar and Ocean Research (NCPOR)" 
                 }, 
                 "address": { 
                     "@type": "PostalAddress", 
                     "addressLocality": "Vasco-da-Gama", 
                     "addressRegion": "Goa", 
                     "postalCode": "403804", 
                     "addressCountry": "IND" 
                 } 
             } 
         } 
     ]
jmckenna commented 1 month ago

@pbuttigieg my earlier question here to you about Keywords with DefinedTerm is now critical as I tested bringing the INCOIS records into Solr/front-end search, and all of that code does not support keywords with DefinedTerms :( example:

  "keywords": [
    {
      "@type": "DefinedTerm",
      "name": "Aerosol Forward Scatter",
      "inDefinedTermSet": "https://gcmd.earthdata.nasa.gov/kms/concepts/concept_scheme/sciencekeywords"
    },
    {
      "@type": "DefinedTerm",
      "name": "Aerosol Extinction",
      "inDefinedTermSet": "https://gcmd.earthdata.nasa.gov/kms/concepts/concept_scheme/sciencekeywords"
    },
    {
      "@type": "DefinedTerm",
      "name": "Aerosol Particle Properties",
      "inDefinedTermSet": "https://gcmd.earthdata.nasa.gov/kms/concepts/concept_scheme/sciencekeywords"
    },
    "Mahabaleshwar(1792N",
    "High Altitude Cloud Physics Laboratory"
  ],

INCOIS team is VERY fast to adapt to our recommended changes. So do we: 1) adapt all of our code to handle DefinedTerms in Keywords, or 2) ask INCOIS to change to __ ?

Need your feedback here @pbuttigieg

(related to https://github.com/iodepo/odis-arch/issues/396 )