Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Find lexemes by language and lexical category
by
TweetsFactsAndQueries
This query is marked as a draft
This query has been published
by
Neechalkaran
.
This query searches for lexemes which link to two items, which may be the language and the lexical category of the lexeme (but any other link, e. g. in statements, will also be included). Change the item IDs in lines 10 and 18 to search for different item IDs (Q188 = German, Q24905 = verb). Note that the results will be incomplete until https://phabricator.wikimedia.org/T198301 is done.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT page.page_title AS "lexeme ID", lexical_category.pl_title FROM page JOIN ( SELECT pl_from, pl_title FROM pagelinks WHERE pl_from_namespace = 146#Lexeme AND pl_namespace = 0 AND pl_title = 'Q5885'#Tamil ) language ON language.pl_from = page.page_id JOIN ( SELECT pl_from, pl_title FROM pagelinks WHERE pl_from_namespace = 146 AND pl_namespace = 0 AND pl_title = 'Q24905'#verb ) lexical_category ON lexical_category.pl_from = page.page_id limit 200; SELECT NOW() AS "as of";
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...