Comments (8)
Ah, that solution works much better :)
Thank you for your help!
from wikibase-sdk.
that could probably done using UNION
s in the SPARQL requests
from wikibase-sdk.
That's what I've figured as well, but being a SPARQL noob it'd be nice if getReverseClaims
could handle that for me 😛
from wikibase-sdk.
done in 36d79e9 and published in v5.15.0
, can you confirm it works for you? :)
from wikibase-sdk.
Amazing, thank you!
I tried it with a few property values and it works great! However, I also tried it with my specific use case (>1000 property values) and I got a timeout exception
I couldn't really find in any Wikidata documentation the max amount of UNION
s you can do in a single query..
from wikibase-sdk.
waaaah, yes a 1000 values doesn't look doable that way ^^
could you tell me more about your case? maybe I can help you write the SPARQL query to do it without timeout
from wikibase-sdk.
Yes.. figures :(
I have a large list of property values that should each have one wikidata item, similar to the book example with their ISBN. I need to match each value to its respective wikidata id
from wikibase-sdk.
can't you do it one by one? or, if the ensemble isn't too big, get a dump of all the values for this property against which you could match your values? For instance, you could get all the Wikidata ids matched to an ISBN-13 with this query
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.