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

Feature Request: Handle Library of Congress JSONLD format #63

Open
lagbolt opened this issue May 13, 2022 · 1 comment
Open

Feature Request: Handle Library of Congress JSONLD format #63

lagbolt opened this issue May 13, 2022 · 1 comment

Comments

@lagbolt
Copy link

lagbolt commented May 13, 2022

The Library of Congress publishes a LOT of data (e.g., names and subject headings) in a format of one JSON object per line.

It would be great if you could handle this format.

You can download sample files from https://id.loc.gov/download/ -- the smaller more manageable files are lower down the page.

@jsejcksn
Copy link

Technical info for implementers/others:

The following is a description of the format of the files mentioned above:

  • each file is UTF-8 encoded text, compressed using gzip compression
  • each file is formatted according to the JSON Lines specification1:
    • each file is composed of one or more lines:
      • every line is terminated by a single LF (newline) character "\n" and preceded by a JSON string composed only of non-LF characters — the LF is the line delimiter and the file ends after the last line: so the file ends with a delimiter character
        • each JSON string is a serialized representation of a JSON-LD object

Because there are quite a few files at the URL shared in the original message, I'll include a copy of one (of the "smaller more manageable files") here for reference:

from: https://id.loc.gov/download/vocabulary/iso639-1.madsrdf.jsonld.gz
retrieved at: 2022-11-29T08:46:46.853Z
size: ~30.5 KB

iso639-1.madsrdf.jsonld.gz

Decompressed example of the first 10 lines:
{"@context": "http://v3/vocabulary/context.json", "@graph": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/aa", "@type": ["file://www.loc.gov/mads/rdf/v1#Authority", "http://id.loc.gov/vocabulary/iso639-1/iso639-1_Language", "madsrdf:Language"], "madsrdf:adminMetadata": {"@id": "_:n2f2b5ff1784349d08f418a960977f322b1"}, "madsrdf:authoritativeLabel": [{"@language": "de", "@value": "Danakil-Sprache"}, {"@language": "en", "@value": "Afar"}, {"@language": "fr", "@value": "afar"}], "madsrdf:code": "aa", "madsrdf:hasExactExternalAuthority": [{"@id": "http://id.loc.gov/vocabulary/iso639-2/aar"}, {"@id": "http://id.loc.gov/vocabulary/languages/aar"}], "madsrdf:hasVariant": [{"@id": "_:n2f2b5ff1784349d08f418a960977f322b2"}, {"@id": "_:n2f2b5ff1784349d08f418a960977f322b3"}, {"@id": "_:n2f2b5ff1784349d08f418a960977f322b4"}], "madsrdf:isMemberOfMADSCollection": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_PastPresentISO639-1Entries"}, {"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_iso639-1"}], "madsrdf:isMemberOfMADSScheme": {"@id": "http://id.loc.gov/vocabulary/iso639-1"}}, {"@id": "_:n2f2b5ff1784349d08f418a960977f322b1", "@type": "ri:RecordInfo", "ri:recordChangeDate": {"@type": "xsd:dateTime", "@value": "1970-01-01T00:00:00"}, "ri:recordContentSource": {"@id": "http://id.loc.gov/vocabulary/organizations/dlc"}, "ri:recordStatus": "new"}, {"@id": "_:n2f2b5ff1784349d08f418a960977f322b2", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "fr", "@value": "afar"}}, {"@id": "_:n2f2b5ff1784349d08f418a960977f322b3", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "en", "@value": "Afar"}}, {"@id": "_:n2f2b5ff1784349d08f418a960977f322b4", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "de", "@value": "Danakil-Sprache"}}], "@id": "/vocabulary/iso639-1/aa"}
{"@context": "http://v3/vocabulary/context.json", "@graph": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/ab", "@type": ["file://www.loc.gov/mads/rdf/v1#Authority", "http://id.loc.gov/vocabulary/iso639-1/iso639-1_Language", "madsrdf:Language"], "madsrdf:adminMetadata": {"@id": "_:nd940ce4c136a40b2b5ab7ebdb165d476b1"}, "madsrdf:authoritativeLabel": [{"@language": "de", "@value": "Abchasisch"}, {"@language": "en", "@value": "Abkhazian"}, {"@language": "fr", "@value": "abkhaze"}], "madsrdf:code": "ab", "madsrdf:hasExactExternalAuthority": [{"@id": "http://id.loc.gov/vocabulary/iso639-2/abk"}, {"@id": "http://id.loc.gov/vocabulary/languages/abk"}], "madsrdf:hasVariant": [{"@id": "_:nd940ce4c136a40b2b5ab7ebdb165d476b2"}, {"@id": "_:nd940ce4c136a40b2b5ab7ebdb165d476b3"}, {"@id": "_:nd940ce4c136a40b2b5ab7ebdb165d476b4"}], "madsrdf:isMemberOfMADSCollection": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_PastPresentISO639-1Entries"}, {"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_iso639-1"}], "madsrdf:isMemberOfMADSScheme": {"@id": "http://id.loc.gov/vocabulary/iso639-1"}}, {"@id": "_:nd940ce4c136a40b2b5ab7ebdb165d476b1", "@type": "ri:RecordInfo", "ri:recordChangeDate": {"@type": "xsd:dateTime", "@value": "1970-01-01T00:00:00"}, "ri:recordContentSource": {"@id": "http://id.loc.gov/vocabulary/organizations/dlc"}, "ri:recordStatus": "new"}, {"@id": "_:nd940ce4c136a40b2b5ab7ebdb165d476b2", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "fr", "@value": "abkhaze"}}, {"@id": "_:nd940ce4c136a40b2b5ab7ebdb165d476b3", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "en", "@value": "Abkhazian"}}, {"@id": "_:nd940ce4c136a40b2b5ab7ebdb165d476b4", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "de", "@value": "Abchasisch"}}], "@id": "/vocabulary/iso639-1/ab"}
{"@context": "http://v3/vocabulary/context.json", "@graph": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/ae", "@type": ["file://www.loc.gov/mads/rdf/v1#Authority", "http://id.loc.gov/vocabulary/iso639-1/iso639-1_Language", "madsrdf:Language"], "madsrdf:adminMetadata": {"@id": "_:n6027d56829c54d7e86e37cef906d01e3b1"}, "madsrdf:authoritativeLabel": [{"@language": "de", "@value": "Avestisch"}, {"@language": "en", "@value": "Avestan"}, {"@language": "fr", "@value": "avestique"}], "madsrdf:code": "ae", "madsrdf:hasExactExternalAuthority": [{"@id": "http://id.loc.gov/vocabulary/iso639-2/ave"}, {"@id": "http://id.loc.gov/vocabulary/languages/ave"}], "madsrdf:hasVariant": [{"@id": "_:n6027d56829c54d7e86e37cef906d01e3b2"}, {"@id": "_:n6027d56829c54d7e86e37cef906d01e3b3"}, {"@id": "_:n6027d56829c54d7e86e37cef906d01e3b4"}], "madsrdf:isMemberOfMADSCollection": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_PastPresentISO639-1Entries"}, {"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_iso639-1"}], "madsrdf:isMemberOfMADSScheme": {"@id": "http://id.loc.gov/vocabulary/iso639-1"}}, {"@id": "_:n6027d56829c54d7e86e37cef906d01e3b1", "@type": "ri:RecordInfo", "ri:recordChangeDate": {"@type": "xsd:dateTime", "@value": "2000-02-18T00:00:00"}, "ri:recordContentSource": {"@id": "http://id.loc.gov/vocabulary/organizations/dlc"}, "ri:recordStatus": "new"}, {"@id": "_:n6027d56829c54d7e86e37cef906d01e3b2", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "de", "@value": "Avestisch"}}, {"@id": "_:n6027d56829c54d7e86e37cef906d01e3b3", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "fr", "@value": "avestique"}}, {"@id": "_:n6027d56829c54d7e86e37cef906d01e3b4", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "en", "@value": "Avestan"}}], "@id": "/vocabulary/iso639-1/ae"}
{"@context": "http://v3/vocabulary/context.json", "@graph": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/af", "@type": ["file://www.loc.gov/mads/rdf/v1#Authority", "http://id.loc.gov/vocabulary/iso639-1/iso639-1_Language", "madsrdf:Language"], "madsrdf:adminMetadata": {"@id": "_:nb84291befee445b7be8adb5953dcada9b1"}, "madsrdf:authoritativeLabel": [{"@language": "de", "@value": "Afrikaans"}, {"@language": "en", "@value": "Afrikaans"}, {"@language": "fr", "@value": "afrikaans"}], "madsrdf:code": "af", "madsrdf:hasExactExternalAuthority": [{"@id": "http://id.loc.gov/vocabulary/iso639-2/afr"}, {"@id": "http://id.loc.gov/vocabulary/languages/afr"}], "madsrdf:hasVariant": [{"@id": "_:nb84291befee445b7be8adb5953dcada9b2"}, {"@id": "_:nb84291befee445b7be8adb5953dcada9b3"}, {"@id": "_:nb84291befee445b7be8adb5953dcada9b4"}], "madsrdf:isMemberOfMADSCollection": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_PastPresentISO639-1Entries"}, {"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_iso639-1"}], "madsrdf:isMemberOfMADSScheme": {"@id": "http://id.loc.gov/vocabulary/iso639-1"}}, {"@id": "_:nb84291befee445b7be8adb5953dcada9b1", "@type": "ri:RecordInfo", "ri:recordChangeDate": {"@type": "xsd:dateTime", "@value": "1970-01-01T00:00:00"}, "ri:recordContentSource": {"@id": "http://id.loc.gov/vocabulary/organizations/dlc"}, "ri:recordStatus": "new"}, {"@id": "_:nb84291befee445b7be8adb5953dcada9b2", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "de", "@value": "Afrikaans"}}, {"@id": "_:nb84291befee445b7be8adb5953dcada9b3", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "en", "@value": "Afrikaans"}}, {"@id": "_:nb84291befee445b7be8adb5953dcada9b4", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "fr", "@value": "afrikaans"}}], "@id": "/vocabulary/iso639-1/af"}
{"@context": "http://v3/vocabulary/context.json", "@graph": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/ak", "@type": ["file://www.loc.gov/mads/rdf/v1#Authority", "http://id.loc.gov/vocabulary/iso639-1/iso639-1_Language", "madsrdf:Language"], "madsrdf:adminMetadata": {"@id": "_:n91364a4e429a47b58ea723e42cbc05c0b1"}, "madsrdf:authoritativeLabel": [{"@language": "de", "@value": "Akan-Sprache"}, {"@language": "en", "@value": "Akan"}, {"@language": "fr", "@value": "akan"}], "madsrdf:code": "ak", "madsrdf:hasExactExternalAuthority": [{"@id": "http://id.loc.gov/vocabulary/iso639-2/aka"}, {"@id": "http://id.loc.gov/vocabulary/languages/aka"}], "madsrdf:hasVariant": [{"@id": "_:n91364a4e429a47b58ea723e42cbc05c0b2"}, {"@id": "_:n91364a4e429a47b58ea723e42cbc05c0b3"}, {"@id": "_:n91364a4e429a47b58ea723e42cbc05c0b4"}], "madsrdf:historyNote": {"@language": "en", "@value": "This alpha-2 ISO 639-1 code was approved in 1999 and included in ISO 639-1: 2002. It was mistakenly missing in earlier versions of the tables on the ISO639-2 web site. As of January 2003, it has been included."}, "madsrdf:isMemberOfMADSCollection": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_PastPresentISO639-1Entries"}, {"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_iso639-1"}], "madsrdf:isMemberOfMADSScheme": {"@id": "http://id.loc.gov/vocabulary/iso639-1"}}, {"@id": "_:n91364a4e429a47b58ea723e42cbc05c0b1", "@type": "ri:RecordInfo", "ri:recordChangeDate": {"@type": "xsd:dateTime", "@value": "1999-08-16T00:00:00"}, "ri:recordContentSource": {"@id": "http://id.loc.gov/vocabulary/organizations/dlc"}, "ri:recordStatus": "new"}, {"@id": "_:n91364a4e429a47b58ea723e42cbc05c0b2", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "fr", "@value": "akan"}}, {"@id": "_:n91364a4e429a47b58ea723e42cbc05c0b3", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "en", "@value": "Akan"}}, {"@id": "_:n91364a4e429a47b58ea723e42cbc05c0b4", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "de", "@value": "Akan-Sprache"}}], "@id": "/vocabulary/iso639-1/ak"}
{"@context": "http://v3/vocabulary/context.json", "@graph": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/am", "@type": ["file://www.loc.gov/mads/rdf/v1#Authority", "http://id.loc.gov/vocabulary/iso639-1/iso639-1_Language", "madsrdf:Language"], "madsrdf:adminMetadata": {"@id": "_:nf7e88276a21c412fa640c72ddd6f11d0b1"}, "madsrdf:authoritativeLabel": [{"@language": "de", "@value": "Amharisch"}, {"@language": "en", "@value": "Amharic"}, {"@language": "fr", "@value": "amharique"}], "madsrdf:code": "am", "madsrdf:hasExactExternalAuthority": [{"@id": "http://id.loc.gov/vocabulary/iso639-2/amh"}, {"@id": "http://id.loc.gov/vocabulary/languages/amh"}], "madsrdf:hasVariant": [{"@id": "_:nf7e88276a21c412fa640c72ddd6f11d0b2"}, {"@id": "_:nf7e88276a21c412fa640c72ddd6f11d0b3"}, {"@id": "_:nf7e88276a21c412fa640c72ddd6f11d0b4"}], "madsrdf:isMemberOfMADSCollection": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_PastPresentISO639-1Entries"}, {"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_iso639-1"}], "madsrdf:isMemberOfMADSScheme": {"@id": "http://id.loc.gov/vocabulary/iso639-1"}}, {"@id": "_:nf7e88276a21c412fa640c72ddd6f11d0b1", "@type": "ri:RecordInfo", "ri:recordChangeDate": {"@type": "xsd:dateTime", "@value": "1970-01-01T00:00:00"}, "ri:recordContentSource": {"@id": "http://id.loc.gov/vocabulary/organizations/dlc"}, "ri:recordStatus": "new"}, {"@id": "_:nf7e88276a21c412fa640c72ddd6f11d0b2", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "en", "@value": "Amharic"}}, {"@id": "_:nf7e88276a21c412fa640c72ddd6f11d0b3", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "fr", "@value": "amharique"}}, {"@id": "_:nf7e88276a21c412fa640c72ddd6f11d0b4", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "de", "@value": "Amharisch"}}], "@id": "/vocabulary/iso639-1/am"}
{"@context": "http://v3/vocabulary/context.json", "@graph": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/an", "@type": ["file://www.loc.gov/mads/rdf/v1#Authority", "http://id.loc.gov/vocabulary/iso639-1/iso639-1_Language", "madsrdf:Language"], "madsrdf:adminMetadata": {"@id": "_:n7660998d1f544b1d8e516ce7814e6702b1"}, "madsrdf:authoritativeLabel": [{"@language": "de", "@value": "Aragonesisch"}, {"@language": "en", "@value": "Aragonese"}, {"@language": "fr", "@value": "aragonais"}], "madsrdf:code": "an", "madsrdf:hasExactExternalAuthority": [{"@id": "http://id.loc.gov/vocabulary/iso639-2/arg"}, {"@id": "http://id.loc.gov/vocabulary/languages/arg"}], "madsrdf:hasVariant": [{"@id": "_:n7660998d1f544b1d8e516ce7814e6702b2"}, {"@id": "_:n7660998d1f544b1d8e516ce7814e6702b3"}, {"@id": "_:n7660998d1f544b1d8e516ce7814e6702b4"}], "madsrdf:isMemberOfMADSCollection": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_PastPresentISO639-1Entries"}, {"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_iso639-1"}], "madsrdf:isMemberOfMADSScheme": {"@id": "http://id.loc.gov/vocabulary/iso639-1"}}, {"@id": "_:n7660998d1f544b1d8e516ce7814e6702b1", "@type": "ri:RecordInfo", "ri:recordChangeDate": {"@type": "xsd:dateTime", "@value": "2002-12-23T00:00:00"}, "ri:recordContentSource": {"@id": "http://id.loc.gov/vocabulary/organizations/dlc"}, "ri:recordStatus": "new"}, {"@id": "_:n7660998d1f544b1d8e516ce7814e6702b2", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "en", "@value": "Aragonese"}}, {"@id": "_:n7660998d1f544b1d8e516ce7814e6702b3", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "fr", "@value": "aragonais"}}, {"@id": "_:n7660998d1f544b1d8e516ce7814e6702b4", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "de", "@value": "Aragonesisch"}}], "@id": "/vocabulary/iso639-1/an"}
{"@context": "http://v3/vocabulary/context.json", "@graph": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/ar", "@type": ["file://www.loc.gov/mads/rdf/v1#Authority", "http://id.loc.gov/vocabulary/iso639-1/iso639-1_Language", "madsrdf:Language"], "madsrdf:adminMetadata": {"@id": "_:n884d54f315034343961efcb19b7ca7a0b1"}, "madsrdf:authoritativeLabel": [{"@language": "de", "@value": "Arabisch"}, {"@language": "en", "@value": "Arabic"}, {"@language": "fr", "@value": "arabe"}], "madsrdf:code": "ar", "madsrdf:hasExactExternalAuthority": [{"@id": "http://id.loc.gov/vocabulary/iso639-2/ara"}, {"@id": "http://id.loc.gov/vocabulary/languages/ara"}], "madsrdf:hasVariant": [{"@id": "_:n884d54f315034343961efcb19b7ca7a0b2"}, {"@id": "_:n884d54f315034343961efcb19b7ca7a0b3"}, {"@id": "_:n884d54f315034343961efcb19b7ca7a0b4"}], "madsrdf:isMemberOfMADSCollection": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_PastPresentISO639-1Entries"}, {"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_iso639-1"}], "madsrdf:isMemberOfMADSScheme": {"@id": "http://id.loc.gov/vocabulary/iso639-1"}}, {"@id": "_:n884d54f315034343961efcb19b7ca7a0b1", "@type": "ri:RecordInfo", "ri:recordChangeDate": {"@type": "xsd:dateTime", "@value": "1970-01-01T00:00:00"}, "ri:recordContentSource": {"@id": "http://id.loc.gov/vocabulary/organizations/dlc"}, "ri:recordStatus": "new"}, {"@id": "_:n884d54f315034343961efcb19b7ca7a0b2", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "en", "@value": "Arabic"}}, {"@id": "_:n884d54f315034343961efcb19b7ca7a0b3", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "de", "@value": "Arabisch"}}, {"@id": "_:n884d54f315034343961efcb19b7ca7a0b4", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "fr", "@value": "arabe"}}], "@id": "/vocabulary/iso639-1/ar"}
{"@context": "http://v3/vocabulary/context.json", "@graph": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/as", "@type": ["file://www.loc.gov/mads/rdf/v1#Authority", "http://id.loc.gov/vocabulary/iso639-1/iso639-1_Language", "madsrdf:Language"], "madsrdf:adminMetadata": {"@id": "_:nead3494259b245beafb7e1fe1350a17fb1"}, "madsrdf:authoritativeLabel": [{"@language": "de", "@value": "Assamesisch"}, {"@language": "en", "@value": "Assamese"}, {"@language": "fr", "@value": "assamais"}], "madsrdf:code": "as", "madsrdf:hasExactExternalAuthority": [{"@id": "http://id.loc.gov/vocabulary/iso639-2/asm"}, {"@id": "http://id.loc.gov/vocabulary/languages/asm"}], "madsrdf:hasVariant": [{"@id": "_:nead3494259b245beafb7e1fe1350a17fb2"}, {"@id": "_:nead3494259b245beafb7e1fe1350a17fb3"}, {"@id": "_:nead3494259b245beafb7e1fe1350a17fb4"}], "madsrdf:isMemberOfMADSCollection": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_PastPresentISO639-1Entries"}, {"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_iso639-1"}], "madsrdf:isMemberOfMADSScheme": {"@id": "http://id.loc.gov/vocabulary/iso639-1"}}, {"@id": "_:nead3494259b245beafb7e1fe1350a17fb1", "@type": "ri:RecordInfo", "ri:recordChangeDate": {"@type": "xsd:dateTime", "@value": "1970-01-01T00:00:00"}, "ri:recordContentSource": {"@id": "http://id.loc.gov/vocabulary/organizations/dlc"}, "ri:recordStatus": "new"}, {"@id": "_:nead3494259b245beafb7e1fe1350a17fb2", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "de", "@value": "Assamesisch"}}, {"@id": "_:nead3494259b245beafb7e1fe1350a17fb3", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "fr", "@value": "assamais"}}, {"@id": "_:nead3494259b245beafb7e1fe1350a17fb4", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "en", "@value": "Assamese"}}], "@id": "/vocabulary/iso639-1/as"}
{"@context": "http://v3/vocabulary/context.json", "@graph": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/av", "@type": ["file://www.loc.gov/mads/rdf/v1#Authority", "http://id.loc.gov/vocabulary/iso639-1/iso639-1_Language", "madsrdf:Language"], "madsrdf:adminMetadata": {"@id": "_:n40d5d18e19374e2b89d2fb03575bce39b1"}, "madsrdf:authoritativeLabel": [{"@language": "de", "@value": "Awarisch"}, {"@language": "en", "@value": "Avaric"}, {"@language": "fr", "@value": "avar"}], "madsrdf:code": "av", "madsrdf:hasExactExternalAuthority": [{"@id": "http://id.loc.gov/vocabulary/iso639-2/ava"}, {"@id": "http://id.loc.gov/vocabulary/languages/ava"}], "madsrdf:hasVariant": [{"@id": "_:n40d5d18e19374e2b89d2fb03575bce39b2"}, {"@id": "_:n40d5d18e19374e2b89d2fb03575bce39b3"}, {"@id": "_:n40d5d18e19374e2b89d2fb03575bce39b4"}], "madsrdf:historyNote": {"@language": "en", "@value": "This alpha-2 ISO 639-1 code was approved in 1999 and included in ISO 639-1: 2002. It was mistakenly missing in earlier versions of the tables on the ISO639-2 web site. As of January 2003, it has been included."}, "madsrdf:isMemberOfMADSCollection": [{"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_PastPresentISO639-1Entries"}, {"@id": "http://id.loc.gov/vocabulary/iso639-1/collection_iso639-1"}], "madsrdf:isMemberOfMADSScheme": {"@id": "http://id.loc.gov/vocabulary/iso639-1"}}, {"@id": "_:n40d5d18e19374e2b89d2fb03575bce39b1", "@type": "ri:RecordInfo", "ri:recordChangeDate": {"@type": "xsd:dateTime", "@value": "1999-08-16T00:00:00"}, "ri:recordContentSource": {"@id": "http://id.loc.gov/vocabulary/organizations/dlc"}, "ri:recordStatus": "new"}, {"@id": "_:n40d5d18e19374e2b89d2fb03575bce39b2", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "de", "@value": "Awarisch"}}, {"@id": "_:n40d5d18e19374e2b89d2fb03575bce39b3", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "en", "@value": "Avaric"}}, {"@id": "_:n40d5d18e19374e2b89d2fb03575bce39b4", "@type": ["file://www.loc.gov/mads/rdf/v1#Variant", "madsrdf:Language"], "madsrdf:variantLabel": {"@language": "fr", "@value": "avar"}}], "@id": "/vocabulary/iso639-1/av"}

1 JSON Lines is synonymous with the NDJSON spec (and perhaps other names). JSON Lines and NDJSON might even be merging in the future — see these issues:

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

2 participants