-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #445 from KesharwaniArpita/AK-NorthernSami
Added the Queries for Northern Sami
- Loading branch information
Showing
6 changed files
with
167 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/scribe_data/language_data_extraction/Northern Sami/adjectives/query_adjectives.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# tool: scribe-data | ||
# All Northern Sami(Q33947) adjectives (Q34698) and the given forms. | ||
# Enter this query at https://query.wikidata.org/. | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?verb | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q33947 ; | ||
wikibase:lexicalCategory wd:Q34698 ; | ||
wikibase:lemma ?verb . | ||
} |
13 changes: 13 additions & 0 deletions
13
src/scribe_data/language_data_extraction/Northern Sami/adverbs/query_adverbs.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# tool: scribe-data | ||
# All Northern Sami(Q33947) adverbs (Q380057) and the given forms. | ||
# Enter this query at https://query.wikidata.org/. | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?adverb | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q33947 ; | ||
wikibase:lexicalCategory wd:Q380057 ; | ||
wikibase:lemma ?adverb . | ||
} |
123 changes: 123 additions & 0 deletions
123
src/scribe_data/language_data_extraction/Northern Sami/nouns/query_nouns.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
# tool: scribe-data | ||
# All Northern Sami(Q33947) nouns (Q1084) and the given forms. | ||
# Enter this query at https://query.wikidata.org/. | ||
|
||
SELECT DISTINCT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?nominativeSingular | ||
?nominativePlural | ||
?genitiveSingular | ||
?genitivePlural | ||
?dativeSingular | ||
?dativePlural | ||
?accusativeSingular | ||
?accusativePlural | ||
?instrumentalSingular | ||
?instrumentalPlural | ||
?locativeSingular | ||
?locativePlural | ||
?vocativeSingular | ||
?vocativePlural | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9078 ; | ||
wikibase:lexicalCategory wd:Q1084 . | ||
|
||
# MARK: Nominative | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?nominativeSingularForm . | ||
?nominativeSingularForm ontolex:representation ?nominativeSingular ; | ||
wikibase:grammaticalFeature wd:Q131105, wd:Q110786 . | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?nominativePluralForm . | ||
?nominativePluralForm ontolex:representation ?nominativePlural ; | ||
wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . | ||
} | ||
|
||
# MARK: Genitive | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?genitiveSingularForm . | ||
?genitiveSingularForm ontolex:representation ?genitiveSingular ; | ||
wikibase:grammaticalFeature wd:Q146233, wd:Q110786 . | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?genitivePluralForm . | ||
?genitivePluralForm ontolex:representation ?genitivePlural ; | ||
wikibase:grammaticalFeature wd:Q146233, wd:Q146786 . | ||
} | ||
|
||
# MARK: Dative | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?dativeSingularForm . | ||
?dativeSingularForm ontolex:representation ?dativeSingular ; | ||
wikibase:grammaticalFeature wd:Q145599, wd:Q110786 . | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?dativePluralForm . | ||
?dativePluralForm ontolex:representation ?dativePlural ; | ||
wikibase:grammaticalFeature wd:Q145599, wd:Q146786 . | ||
} | ||
|
||
# MARK: Accusative | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?accusativeSingularForm . | ||
?accusativeSingularForm ontolex:representation ?accusativeSingular ; | ||
wikibase:grammaticalFeature wd:Q146078, wd:Q110786 . | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?accusativePluralForm . | ||
?accusativePluralForm ontolex:representation ?accusativePlural ; | ||
wikibase:grammaticalFeature wd:Q146078, wd:Q146786 . | ||
} | ||
|
||
# MARK: Instrumental | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?instrumentalSingularForm . | ||
?instrumentalSingularForm ontolex:representation ?instrumentalSingular ; | ||
wikibase:grammaticalFeature wd:Q192997, wd:Q110786 . | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?instrumentalPluralForm . | ||
?instrumentalPluralForm ontolex:representation ?instrumentalPlural ; | ||
wikibase:grammaticalFeature wd:Q192997, wd:Q146786 . | ||
} | ||
|
||
# MARK: Locative | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?locativeSingularForm . | ||
?locativeSingularForm ontolex:representation ?locativeSingular ; | ||
wikibase:grammaticalFeature wd:Q202142, wd:Q110786 . | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?locativePluralForm . | ||
?locativePluralForm ontolex:representation ?locativePlural ; | ||
wikibase:grammaticalFeature wd:Q202142, wd:Q146786 . | ||
} | ||
|
||
# MARK: Vocative | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?vocativeSingularForm . | ||
?vocativeSingularForm ontolex:representation ?vocativeSingular ; | ||
wikibase:grammaticalFeature wd:Q185077, wd:Q110786 . | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?vocativePluralForm . | ||
?vocativePluralForm ontolex:representation ?vocativePlural ; | ||
wikibase:grammaticalFeature wd:Q185077, wd:Q146786 . | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
src/scribe_data/language_data_extraction/Northern Sami/verbs/query_verbs.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# tool: scribe-data | ||
# All Northern Sami(Q33947) verbs (Q24905) and the given forms. | ||
# Enter this query at https://query.wikidata.org/. | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?verb | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q33947 ; | ||
wikibase:lexicalCategory wd:Q24905 ; | ||
wikibase:lemma ?verb . | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters