Giter Site home page Giter Site logo

Comments (10)

wetneb avatar wetneb commented on June 14, 2024

That is surprising. Have you removed the services and added them back?

from openrefine-wikibase.

susannaanas avatar susannaanas commented on June 14, 2024

I did remove one of three, but now I removed them all and got it going. Sorry for the trouble!

I am looking for ways to edit labels and descriptions, I have yet to learn how to display them :)

from openrefine-wikibase.

wetneb avatar wetneb commented on June 14, 2024

The data extension feature does not let you fetch descriptions or aliases yet unfortunately.

from openrefine-wikibase.

susannaanas avatar susannaanas commented on June 14, 2024

That's a pity. I must say that the Wikidata upload is GREAT, but my workflows stumble on other glitches.

from openrefine-wikibase.

wetneb avatar wetneb commented on June 14, 2024

you can always fetch them directly with the MediaWiki API, using the add column by fetching URLs operation. Just use this expression:

"https://www.wikidata.org/w/api.php?action=wbgetentities&format=json&props=descriptions&languages=en|fi&ids="+cell.recon.match.id

from openrefine-wikibase.

susannaanas avatar susannaanas commented on June 14, 2024

Thanks a lot! Running the call and waiting to see what happens. That saved me a lot of time, I was about to investigate that too. It is pretty slow, though. I generally use Google sheets extension for this kind of things but today it stopped working for me.

from openrefine-wikibase.

wetneb avatar wetneb commented on June 14, 2024

You can tweak the time between consecutive requests when you start the operation (the default 5000ms is clearly too high for this sort of queries).

from openrefine-wikibase.

susannaanas avatar susannaanas commented on June 14, 2024

Thanks! I will need to parse the output and the scandics... must leave until later :-)

from openrefine-wikibase.

wetneb avatar wetneb commented on June 14, 2024

If you struggle with parsing, I have just added support for labels, descriptions and aliases: just use "Lfi" for Finnish labels, "Den" for English description, "Ade" for German aliases.

from openrefine-wikibase.

susannaanas avatar susannaanas commented on June 14, 2024

Wow!! I will check it out soon!

from openrefine-wikibase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.