Skip to content

ndi.database.metadata_app.fun.parseOpenMINDSAtID

  parseAtID - Parse an openMINDS @id

    Syntax:
        S = parseOpenMINDSAtID(semanticName)

        [type, name] = parseOpenMINDSAtID(semanticName)

    Input: 
        semanticName : A URI representing an openMINDS instance @id. Ex: https://openminds.ebrains.eu/instances/geneticStrainType/knockout

    Output:
        S : A struct with fields 
            - Type
            - Name

        OR

        type : openMINDS type, i.e schema specification
        name : name of instance 

    Example:

     atId = "https://openminds.ebrains.eu/instances/geneticStrainType/knockout"
     S = ndi.database.metadata_app.fun.parseOpenMINDSAtID(atId)

     S = 

       struct with fields:

         Type: "geneticStrainType"
         Name: "knockout"