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

Panel of instance count on lexical category-language aspect #152

Open
fnielsen opened this issue Jan 17, 2023 · 0 comments
Open

Panel of instance count on lexical category-language aspect #152

fnielsen opened this issue Jan 17, 2023 · 0 comments

Comments

@fnielsen
Copy link
Owner

SELECT
  ?number_of_lexemes
  ?class ?classLabel
  ?example_lexeme
{
  {
    SELECT 
      ?class
      (COUNT(?lexeme) AS ?number_of_lexemes)
      (SAMPLE(?lexeme) AS ?example_lexeme)
    {
      ?lexeme wikibase:lexicalCategory wd:Q24905 ;
              dct:language wd:Q9035 ;
              wdt:P31 ?class .
    }
    GROUP BY ?class
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?number_of_lexemes)
LIMIT 10000
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

1 participant