Obtain the structure of the classification tables from CELLAR and FAO.

structureData(prefix, conceptScheme, endpoint, language = "en")

Arguments

prefix

The SPARQL instruction for a declaration of a namespace prefix. It can be found using the classEndpoint() function.

conceptScheme

Taxonomy of the SKOS object to be retrieved. It can be found using the classEndpoint() function.

endpoint

The SPARQL Endpoint

language

Language of the table. By default is set to "en". This is an optional argument.

Value

structureData() returns the structure of a classification table from CELLAR and FAO in form a table with the following colums:

  • Concept_Scheme: taxonomy of the SKOS object to be retrieved

  • Level: the levels of the objects in the collection

  • Depth: identify the hierarchy of each level

  • Count: the number of objects retrieved in each level

Examples

{
    endpoint = "CELLAR"
    prefix = "nace2"
    conceptScheme = "nace2"
    language = "en"
    structure_dt = structureData(prefix, conceptScheme, endpoint, language)
    }