Skip to content

language is extracted from @xx of rdfs:label #67

@tfrancart

Description

@tfrancart

dataset.py maps the @XX of rdfs:label to the dct:language property:

            key = self.get_key(requested_key='rdfs:label')
            position = data.index(key) + 1
            description = data[position]

            languages = list()
            try:
                languages = [x[1].replace("@", "").lower() for x in description]

I don't think this is correct : the language of the content of a dataset might be different from the language(s) in which its labels are given. Instead a dct:language metadata should be sought.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions