Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Matěj Suchánek
.
[[Wikidata:List of properties/Summary table]] lists all properties from all subpages of [[Wikidata:List of properties]]. These properties are not linked from any of those subpages, so it's harder to find them for users.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT CONCAT("P",pi_property_id) AS propertyId, term_text AS label, pi_type, COUNT(pl2.pl_from) AS backlinks FROM wb_property_info JOIN wb_terms ON term_entity_type = 'property' AND term_entity_id = pi_property_id AND term_entity_id > 1900 AND term_language = 'en' AND term_type = 'label' LEFT JOIN pagelinks AS pl1 ON pl1.pl_from = 14546880 AND pl1.pl_namespace = 120 AND pl1.pl_title = CONCAT("P",pi_property_id) LEFT JOIN pagelinks AS pl2 ON pl2.pl_title = CONCAT("P",pi_property_id) AND pl2.pl_from_namespace = 0 WHERE pl1.pl_title IS NULL GROUP BY pl1.pl_title ORDER BY pl1.pl_title;
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...