Skip to content

wikidata labels in random languages #1909

@andrecastro0o

Description

@andrecastro0o

Description of the problem

I am playing with Skosmos 3.0 and the the Getty AAT concepts. I was looking to include skos:exactMatch values with each concept. But I noticed something of a bug: Wikidata labels appear, but in seemingly random language - ky, nds - , as you can see in image bellow, followed by the concepts' TTL.

I am not familiar with the source code, so I did not look any further. But I imagine there is some issue with queries to wikidata and their labels.

Additional information (e.g. screenshots) about the problem

Image

concept TTL is Skomos

<http://vocab.getty.edu/aat/300189557>
  a skos:Concept ;
  dc:source <http://vocab.getty.edu/>, <http://www.getty.edu/research-institute/> ;
  skos:exactMatch <http://rdaregistry.info/termList/gender/1001>, wd:Q6581072, <http://vocab.getty.edu/aat/300189557>, wd:Q43445 ;
  skos:inScheme aatc:aatconcepts ;
  skos:prefLabel "vrouwelijk"@nl, "female"@en ;
  skos:scopeNote "Referring to the sex that normally produces eggs or female germ cells."@en .

aatc:aatconcepts
  a skos:ConceptScheme ;
  rdfs:label "The Art and Architecture Thesaurus Concepts"@en .

mappings in response to http://localhost:9090/rest/v1/AATC/mappings?uri=http://vocab.getty.edu/aat/300189557&external=true&lang=en-US&clang=en

{
    "mappings": [
        {
            "uri": "http://vocab.getty.edu/aat/300189557",
            "notation": null,
            "type": [
                "skos:exactMatch"
            ],
            "prefLabel": "female",
            "from": {
                "memberSet": [
                    {
                        "uri": "http://vocab.getty.edu/aat/300189557"
                    }
                ]
            },
            "to": {
                "memberSet": [
                    {
                        "uri": "http://vocab.getty.edu/aat/300189557",
                        "prefLabel": {
                            "en": "female"
                        }
                    }
                ]
            },
            "hrefLink": "http://vocab.getty.edu/aat/300189557",
            "lang": "en",
            "vocabName": "Art and Architecture Thesaurus",
            "typeLabel": "Exactly matching concepts",
            "description": "Exactly matching concepts in another vocabulary.",
            "fromScheme": {
                "uri": "http://vocabularies.dans.knaw.nl/aatconcepts"
            }
        },
        {
            "uri": "http://vocab.getty.edu/aat/300189557",
            "notation": null,
            "type": [
                "skos:exactMatch"
            ],
            "prefLabel": "http://rdaregistry.info/termList/gender/1001",
            "from": {
                "memberSet": [
                    {
                        "uri": "http://vocab.getty.edu/aat/300189557"
                    }
                ]
            },
            "to": {
                "memberSet": [
                    {
                        "uri": "http://rdaregistry.info/termList/gender/1001"
                    }
                ]
            },
            "hrefLink": "http://rdaregistry.info/termList/gender/1001",
            "lang": "",
            "vocabName": "rdaregistry.info",
            "typeLabel": "Exactly matching concepts",
            "description": "Exactly matching concepts in another vocabulary.",
            "fromScheme": {
                "uri": "http://vocabularies.dans.knaw.nl/aatconcepts"
            }
        },
        {
            "uri": "http://vocab.getty.edu/aat/300189557",
            "notation": null,
            "type": [
                "skos:exactMatch"
            ],
            "prefLabel": "weiblich Geschlecht",
            "from": {
                "memberSet": [
                    {
                        "uri": "http://vocab.getty.edu/aat/300189557"
                    }
                ]
            },
            "to": {
                "memberSet": [
                    {
                        "uri": "http://www.wikidata.org/entity/Q43445",
                        "prefLabel": {
                            "nds": "weiblich Geschlecht"
                        }
                    }
                ]
            },
            "hrefLink": "http://www.wikidata.org/entity/Q43445",
            "lang": "nds",
            "vocabName": "www.wikidata.org",
            "typeLabel": "Exactly matching concepts",
            "description": "Exactly matching concepts in another vocabulary.",
            "fromScheme": {
                "uri": "http://vocabularies.dans.knaw.nl/aatconcepts"
            }
        },
        {
            "uri": "http://vocab.getty.edu/aat/300189557",
            "notation": null,
            "type": [
                "skos:exactMatch"
            ],
            "prefLabel": "Аял",
            "from": {
                "memberSet": [
                    {
                        "uri": "http://vocab.getty.edu/aat/300189557"
                    }
                ]
            },
            "to": {
                "memberSet": [
                    {
                        "uri": "http://www.wikidata.org/entity/Q6581072",
                        "prefLabel": {
                            "ky": "Аял"
                        }
                    }
                ]
            },
            "hrefLink": "http://www.wikidata.org/entity/Q6581072",
            "lang": "ky",
            "vocabName": "www.wikidata.org",
            "typeLabel": "Exactly matching concepts",
            "description": "Exactly matching concepts in another vocabulary.",
            "fromScheme": {
                "uri": "http://vocabularies.dans.knaw.nl/aatconcepts"
            }
        }
    ]

The browser you used when the problem appeared

firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions