kermitt2 / entity-fishing

A machine learning tool for fishing entities
http://nerd.readthedocs.io/
Apache License 2.0
245 stars 24 forks source link

Sometimes entity fishing returns "Invalid id or excluded via caching" as rawName of preferredForm #134

Open oterrier opened 3 years ago

oterrier commented 3 years ago

When you call the /service/kb/concept/ endpoint with a valid QID, sometimes the rawName and/or PreferredForm in the response is "Invalid id or excluded via caching"

Like for example:

{
    "rawName": "Invalid id or excluded via caching",
    "preferredTerm": "Invalid id or excluded via caching",
    "confidence_score": 0,
    "wikipediaExternalRef": 10250,
    "wikidataId": "Q132621",
    "statements": [
        {
            "conceptId": "Q132621",
            "propertyId": "P935",
            "propertyName": "Commons gallery",
            "valueType": "string",
            "value": "Epinephrine"
        },

Best regards

Olivier Terrier

kermitt2 commented 2 years ago

Hello !

I can't reproduce this error. It might be limited to a previous version or loading issues.

Screenshot from 2022-05-03 23-18-37