Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
User edits count on Wikidata items linking to the same Qid
by
Poslovitch
This query is marked as a draft
This query has been published
by
Heleich54
.
The number of user edits on Wikidata items that link to the same Qid (through any property). In this query, the items are linked to Université de Lorraine (Q4173330).
Toggle Highlighting
SQL
SELECT actor.actor_name, COUNT(*) edits FROM revision JOIN page ON rev_page=page_id JOIN actor ON rev_actor=actor_id JOIN ( SELECT pl_from FROM pagelinks JOIN linktarget ON lt_id=pl_target_id WHERE pl_from_namespace = 0 AND lt_namespace = 0 AND lt_title = 'Q4173330' # Université de Lorraine ) univ_lorraine WHERE univ_lorraine.pl_from = page_id AND page.page_namespace = 0 GROUP BY revision.rev_actor ORDER BY edits DESC;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...