Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possibility for filtering deprecated statements n Wikidata #97

Closed
JAnDud opened this issue Jun 2, 2021 · 1 comment
Closed

possibility for filtering deprecated statements n Wikidata #97

JAnDud opened this issue Jun 2, 2021 · 1 comment

Comments

@JAnDud
Copy link

JAnDud commented Jun 2, 2021

https://petscan.wmflabs.org/?psid=1313317

Here is query for people with authority data od WD but no authority template on WP.

But there are also people who have e.g. VIAF, but this statement is deprecated
https://www.wikidata.org/wiki/Q956657

There is no easy possibility to filter out these items

@JAnDud JAnDud changed the title deprecated possibility for filtering deprecated statements n Wikidata Jun 2, 2021
@magnusmanske
Copy link
Owner

"Uses items/props" can not get information about ranks (eg deprecated) in Wikidata, as it is using the pagelinks table which was never designed for this kind of request.

You can try to use SPARQL where you can filter on preferred/normal/deprecated but the query engine might timeout, depending on the query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants