Skip to content

Full defined term list displayed in RO-Crate json instead of only the one selected #161

Description

@rosanna-smith

I'm doing some more testing of defined terms in the ldac comprehensive mode, with linguisticGenre and communicationMode (this is under the Language subtab at the file level).

On the current test, when I add Formulaic as the linguisticGenre and save the crate, the json correctly adds Formulaic as the linguisticGenre, but then lists all of the linguisticGenreTerms following this, instead of only the one that was selected.

    {
      "@id": "#temp-1",
      "@type": "File",
      "name": "temp-1",
      "communicationMode": [],
      "materialType": "",
      "linguisticGenre": {
        "@id": "ldac:Formulaic"
      }
    },
    {
      "@id": "ldac:Dialogue",
      "@type": "DefinedTerm",
      "description": "An interactive discourse with two or more participants. Examples of dialogues include conversations, interviews, correspondence, consultations, greetings and leave-takings.",
      "inDefinedTermSet": {
        "@id": "ldac:LinguisticGenreTerms"
      },
      "name": "Dialogue"
    },
    {
      "@id": "ldac:Drama",
      "@type": "DefinedTerm",
      "description": "A planned, creative rendition of discourse with two or more participants intended for presentation to an audience.",
      "inDefinedTermSet": {
        "@id": "ldac:LinguisticGenreTerms"
      },
      "name": "Drama"
    },
    {
      "@id": "ldac:Lexicon",
      "@type": "DefinedTerm",
      "description": "The resource includes a systematic listing of lexical items.",
      "inDefinedTermSet": {
        "@id": "ldac:LinguisticGenreTerms"
      },
      "name": "Lexicon"
    },
    {
      "@id": "ldac:Informational",
      "@type": "DefinedTerm",
      "description": "Discourse whose primary purpose is to inform the audience about the natural or social world.",
      "inDefinedTermSet": {
        "@id": "ldac:LinguisticGenreTerms"
      },
      "name": "Informational"
    },
    {
      "@id": "ldac:Formulaic",
      "@type": "DefinedTerm",
      "description": "The resource is a ritually or conventionally structured discourse.",
      "inDefinedTermSet": {
        "@id": "ldac:LinguisticGenreTerms"
      },
      "name": "Formulaic"
    }

Full json output included: ro-crate-metadata.json

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions