Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Wikidata items linking to the same Qid edited by a specified contributor
by
Poslovitch
This query is marked as a draft
This query has been published
by
Heleich54
.
Wikidata items connected to the same Qid (through any property) that were edited by a specific contributor. In this query, the items are linked to Université de Lorraine (Q4173330), and the contributor is Heleich54.
Toggle Highlighting
SQL
SELECT DISTINCT page.page_title qid, wbx_text label_fr 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 JOIN wbt_item_terms ON wbit_item_id = SUBSTR(page_title, 2) JOIN wbt_term_in_lang ON wbit_term_in_lang_id = wbtl_id JOIN wbt_text_in_lang ON wbtl_text_in_lang_id = wbxl_id JOIN wbt_text ON wbxl_text_id = wbx_id WHERE univ_lorraine.pl_from = page_id AND wbtl_type_id = (SELECT wby_id FROM wbt_type WHERE wby_name = 'label') AND wbxl_language = 'fr' AND page.page_namespace = 0 AND actor.actor_name = 'Heleich54' ORDER BY revision.rev_timestamp 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...