researchdata-se / docs.researchdata.se

API and metadata documentation for researchdata.se
https://docs.researchdata.se
1 stars 0 forks source link

Add DataCite and JsonLd example of subject using vocabulary #10

Open borsna opened 6 months ago

borsna commented 6 months ago

Markup example in DataCite XML & JsonLD schema.org

borsna commented 5 months ago

Suggestion how to encode a term in DataCite XML and schema.org:

<subject 
  subjectScheme="ALLFO" 
  schemeURI="http://www.yso.fi/onto/yso" 
  valueURI="http://www.yso.fi/onto/yso/p8958" 
  classificationCode="p8958" 
  xml:lang="en">political parties</subject>
{
    "keywords": [
        {
            "@type": "DefinedTerm",
            "@id": "http://www.yso.fi/onto/yso/p8958",
            "name": "political parties",
            "inDefinedTermSet": "http://www.yso.fi/onto/yso",
            "termCode": "p8958"
        }
    ]
}

Should we extend this with example for all the vocabularies to show a the recomended way for each vocabulary?

borsna commented 5 months ago

More complete example for AAT at https://docs.researchdata.se/controlled-vocabularies/#aat-the-art-architecture-thesaurus