Comments (1)
I don't think this kind of simplification is a good thing, we should be tolerant on the input, but consistent on the output: having variable claims values depending on the number of values means that you don't know what you get. For instance, before being able to do something like entity.claims.P31.map(someFunction)
you need to first check that entity.claims.P31
is an array
from wikibase-sdk.
Related Issues (20)
- Entity Language Type is incorrect HOT 1
- Types of multiple things are sometimes confusing
- Create dedicated simplifySparqlResultsOneVariable function HOT 1
- Circular Dependencies, Uncaught ReferenceError: can't access lexical declaration 'simplifyEntities' before initialization HOT 7
- Network request failed error HOT 4
- No "export" main defined in package.json HOT 3
- given isEntityId examples all return true
- Convenience module for CommonJS HOT 8
- More examples/samples HOT 2
- Date formatting using moment.js HOT 2
- Musical notation claim parser isn't implemented HOT 5
- Support non-default script path HOT 2
- Support for tabular data HOT 1
- Where are the types definitions as claimed in npm? HOT 2
- Can't resolve 'querystring' HOT 1
- Missing types library HOT 13
- Idea: ActivityStreams JSON-LD HOT 1
- Uncaught (in promise) Error: missing a title HOT 4
- Missing .prettierrc HOT 9
- Compilation fails with latest version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wikibase-sdk.