Skip to content Skip to footer

Language Data Commons of Australia Program

LDaCA uses RO-Crate as an interchange and archive format for language data, and is providing data discovery portals and API access to data using RO-Crate-centric APIs. The LDaCA Program architecture consists of a set of modular services; data preservation/archiving, APIs for delivery, access control and a discovery portal for data and analysis tools as well as automated container-based notebook environments to run analytics via the Australian Text Analytics Platform (which is a component of the broader program).

The data portal for the ATAP platform is the first released product, there will be more data portals which provide access to a broader range of data in 2023.

RO-Crate in the LDaCA Program

RO-Crate is the central metadata standard for all data within the LDaCA environment. The use of detached RO-crates has been utilised to navigating centralised API resources, rather than considering RO-Crate only as a standalone publication on the Web.

Archiving

RO-Crate provides a consistent metadata model for long term archiving and preservation and is used to store archival copies of language datasets using the Oxford Common File Layout.

API Access

The LDaCA project provide access-controlled API access to data using the Oni tool. Access control is important for language data as it is created by and collected from humans who have intellectual property rights over the data and some of he content may be confidential

For example, this query looks for RO-Crates which package objects, with a conformsTo property from the (draft) profile: https://purl.archive.org/textcommons/profile#Collection

 curl --location --request GET 'http://localhost:9000/api/object?conformsTo=https://purl.archive.org/textcommons/profile%23Collection' \
--header 'Authorization: Bearer XXXXX-XXXXX-XXXXX-XXXXX'

In this demonstration this returns 10 results (truncated here), which can then be fetched using the crateId property.

{
    "total": 10,
    "data": [
        {
            "conformsTo": "https://purl.archive.org/textcommons/profile#Collection",
            "crateId": "arcp://name,multilingual.gov.au/corpus/root",
            "record": {
                "name": "Collection of Australian Government Documents in six languages",
                "license": "https://creativecommons.org/licenses/by/3.0/au/",
                "description": "This dataset consists of documents created by government agencies in Australia which provide information to members of the Australian community. They originate as English text and also exist as translations into various other languages used in the Australian community. The initial dataset (12/2021) includes documents prepared by Services Australia (https://www.servicesaustralia.gov.au/) and by the Victorian Department of Health ( Health Translations) in English, Arabic, Farsi, Turkish, Vietnamese and Chinese."
            }
        },
        {
            "conformsTo": "https://purl.archive.org/textcommons/profile#Collection",
            "crateId": "arcp://name,cooee-corpus/corpus/root",
            "record": {
                "name": "A COrpus of Oz Early English (COOEE)",
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "description": "Material to be included had to meet with a regional and a temporal criterion. The latter required texts to have been produced between 1788 and 1900 in order to become eligible for COOEE. It was mandatory for a text to have been written in Australia, New Zealand or Norfolk Island. But in a few cases, other localities were allowed. For example, if a person who was a native Australian or who had lived in Australia for a considerable time, wrote a shipboard diary or travelled in other countries. Contains: Letters, published materials in book form, historical texts"
            }
        },
        ...
        {
            "conformsTo": "https://purl.archive.org/textcommons/profile#Collection",
            "crateId": "arcp://name,ausnc-ace/root/collection",
            "record": {
                "name": "The Australian Corpus of English",
                "license": "license.txt",
                "description": "The Australian Corpus of English (ACE) was compiled to match Australian data from 1986 with the American (Brow) and British (LOB) corpora of written English from the 1960s. It includes 500 samples of published texts taken from 15 different categories of nonfiction and fiction, including newspapers, reportage, editorials, reviews; magazines and journals popular, academic; government and corporate documents; fiction monographs and short stories (both popular and literary)."
            }
        }
    ]
}

Discovery portals

The structural API described above is used to build discovery and access portals which use the metadata from RO-Crate objects to generate an Elasticsearch index and a web site to search and browse the RO-Crate-packaged data.

The portal/index system us highly configurable to work with differently structured RO-Crate data.

Resources