We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Instead of the below version one can add a WITH block
SELECT ?lexeme ?lexemeLabel ?lexical_category ?lexical_categoryLabel ?other_compounds WHERE { { SELECT ?lexeme (GROUP_CONCAT(?compoundLabel; separator=" // ") AS ?other_compounds) WHERE { ?lexeme wdt:P5238 wd:L1010956 . OPTIONAL { ?lexeme wdt:P5238 ?compound . ?compound wikibase:lemma ?compoundLabel . FILTER (?compound != wd:L1010956) } } GROUP BY ?lexeme } ?lexeme wikibase:lemma ?lexemeLabel . OPTIONAL { ?lexeme wikibase:lexicalCategory ?lexical_category . ?lexical_category rdfs:label ?lexical_categoryLabel . FILTER (LANG(?lexical_categoryLabel) = 'en') } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Instead of the below version one can add a WITH block
The text was updated successfully, but these errors were encountered: