Code Monkey home page Code Monkey logo

Comments (2)

maxlath avatar maxlath commented on July 18, 2024

wb sparql reshapes the results JSON, unless the --raw option is called, and does it by regrouping variables in JSON objects, so that ?item ?itemLabel ?itemAltLabel ?itemType end up in an object as { item: { value, aliases, type } }, based on their variable names sharing the same prefix. The case where a variable (?endTimePrecision) has 2 variables (end and endTime) to which it could be associated was not handled: should have been fixed in maxlath/wikibase-sdk@6137621 and published in wikibase-cli v15.16.7

from wikibase-cli.

tmtmtmtm avatar tmtmtmtm commented on July 18, 2024

Oh, that's a fun one! I was definitely struggling to figure out why three variables would be problematic. Thanks for the quick fix.

from wikibase-cli.

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.