Follow

@WikidataFacts Hi, I pull some data from wd for several items. Some have several statements where only one is needed. How can I limit my query to the ‚preferred value‘ or the first one.

@bitnapper If you use wdt:P1234 (rather than p:P1234/ps:P1234), you’ll actually only get the best-rank statement(s), i. e. the preferred-rank one(s) if any, otherwise the normal-rank one(s).

Sign in to participate in the conversation
chaos.social

chaos.social – a Fediverse instance for & by the Chaos community