Skip to content

Commit

Permalink
adding a simple sparql query for fetching Nynorsk adverbs from wikidata
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarAI2003 committed Oct 19, 2024
1 parent 938032d commit 648792c
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# tool: scribe-data
# All Nynorsk Norwegian (Q25164) adverbs.
# Enter this query at https://query.wikidata.org/.

# Note: This query is for Nynorsk (Q25164) rather than Bokmål (Q25167).

SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)
?adverb

WHERE {
?lexeme dct:language wd:Q25164 ;
wikibase:lexicalCategory wd:Q380057 ;
wikibase:lemma ?adverb .

}
Order by ?lexemeID

0 comments on commit 648792c

Please sign in to comment.