Skip to content

Commit

Permalink
Merge pull request #270 from KesharwaniArpita/ArpitaContributions
Browse files Browse the repository at this point in the history
Added the query for extracting Adverbs, Proper Nouns and Personal Pronouns in Esperanto
  • Loading branch information
andrewtavis authored Oct 9, 2024
2 parents b694aee + 260a590 commit b25dab2
Show file tree
Hide file tree
Showing 35 changed files with 62 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?dual

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q13955 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?absPlural

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q8752 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SELECT DISTINCT
?locative

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q9610 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q9056 ;
wikibase:lexicalCategory ?nounTypes .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q9035 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SELECT DISTINCT
?plural

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q1860 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# tool: scribe-data
# All Esperanto (Q143) adverbs.
# Enter this query at https://query.wikidata.org/.

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

WHERE {

?lexeme dct:language wd:Q143 ;
wikibase:lexicalCategory wd:Q380057 ;
wikibase:lemma ?adverb .
FILTER(LANG(?adverb) = "eo") .
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SELECT DISTINCT
?accPlural

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q143 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# tool: scribe-data
# All Esperanto (Q143) personal pronouns.
# Enter this query at https://query.wikidata.org/.

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

WHERE {
?lexeme dct:language wd:Q143 ;
wikibase:lexicalCategory wd:Q468801 ;
wikibase:lemma ?personalPronouns .
FILTER(LANG(?personalPronouns) = "eo") .
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SELECT DISTINCT
?plural

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q9072 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SELECT DISTINCT
?nomPlural

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q1412 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q150 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q188 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q36510;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q56475 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q9288 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q11051 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SELECT DISTINCT
?noun

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q9240 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns
?lexeme dct:language wd:Q652 ;
wikibase:lexicalCategory ?nounTypes ;
wikibase:lemma ?singular .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SELECT DISTINCT
?noun

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q5287 ;
wikibase:lexicalCategory ?nounType ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q36163 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q397 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SELECT DISTINCT
?noun

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q9237 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q36236 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SELECT DISTINCT
?noun

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q727694 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q809 ;
wikibase:lexicalCategory ?nounTypes .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q5146 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q7737 ;
wikibase:lexicalCategory ?nounTypes .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q9058 ;
wikibase:lexicalCategory ?nounTypes .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ SELECT DISTINCT
?femPlural

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q1321 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q9027 ;
wikibase:lexicalCategory ?nounTypes .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SELECT DISTINCT
?noun

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q9260 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SELECT DISTINCT
?nomPlural

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q5885 ;
wikibase:lexicalCategory ?nounTypes .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q8798 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SELECT DISTINCT
?gender

WHERE {
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and pronouns
VALUES ?nounTypes {wd:Q1084 wd:Q147276} # Nouns and proper nouns

?lexeme dct:language wd:Q11051 ;
wikibase:lexicalCategory ?nounTypes ;
Expand Down

0 comments on commit b25dab2

Please sign in to comment.