Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rosanna-smith opened this issue Dec 5, 2024 · 0 comments
Assignees

Comments

@rosanna-smith
Copy link
Contributor

rosanna-smith commented Dec 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants