-
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 remote-tracking branch 'upstream/main' into simplify-cli-tests-…
…output-check
- Loading branch information
Showing
28 changed files
with
802 additions
and
130 deletions.
There are no files selected for viewing
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
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
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
2 changes: 1 addition & 1 deletion
2
src/scribe_data/language_data_extraction/Estonian/adverbs/query_adverbs_1.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
2 changes: 1 addition & 1 deletion
2
src/scribe_data/language_data_extraction/Estonian/adverbs/query_adverbs_2.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
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
2 changes: 1 addition & 1 deletion
2
src/scribe_data/language_data_extraction/Estonian/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
31 changes: 31 additions & 0 deletions
31
src/scribe_data/language_data_extraction/Igbo/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,31 @@ | ||
# tool: scribe-data | ||
# All Igbo (Q33578) adjective (Q34698) and the given forms. | ||
# Enter this query at https://query.wikidata.org/. | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?adjective | ||
?singular | ||
?plural | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q33578; | ||
wikibase:lexicalCategory wd:Q34698; | ||
wikibase:lemma ?adjective . | ||
|
||
# MARK: Singular | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?singularForm . | ||
?singularForm ontolex:representation ?singular ; | ||
wikibase:grammaticalFeature wd:Q110786 . | ||
} | ||
|
||
# MARK: Plural | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pluralForm . | ||
?pluralForm ontolex:representation ?plural ; | ||
wikibase:grammaticalFeature wd:Q146786 . | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/scribe_data/language_data_extraction/Igbo/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
13 changes: 13 additions & 0 deletions
13
src/scribe_data/language_data_extraction/Igbo/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,13 @@ | ||
# tool: scribe-data | ||
# All Igbo (Q33578) nouns (Q1084) and the given forms. | ||
# Enter this query at https://query.wikidata.org/. | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?noun | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q33578 ; | ||
wikibase:lexicalCategory wd:Q1084 ; | ||
wikibase:lemma ?noun . | ||
} |
22 changes: 22 additions & 0 deletions
22
src/scribe_data/language_data_extraction/Igbo/prepositions/query_prepositions.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,22 @@ | ||
# tool: scribe-data | ||
# All Igbo (Q33578) prepositions (Q4833830) and the given forms. | ||
# Enter this query at https://query.wikidata.org/. | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?preposition | ||
?contraction | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q33578 ; | ||
wikibase:lexicalCategory wd:Q4833830 ; | ||
wikibase:lemma ?preposition . | ||
|
||
# MARK: Contraction | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?contractionForm . | ||
?contractionForm ontolex:representation ?contraction ; | ||
wikibase:grammaticalFeature wd:Q126473 . | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
src/scribe_data/language_data_extraction/Korean/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 Korean (Q9176) 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) | ||
?adjective | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9176 ; | ||
wikibase:lexicalCategory wd:Q34698 ; | ||
wikibase:lemma ?adjective . | ||
} |
31 changes: 31 additions & 0 deletions
31
src/scribe_data/language_data_extraction/Latin/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,31 @@ | ||
# tool: scribe-data | ||
# All Latin language (Q397) 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 | ||
?comparative | ||
?superlative | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q397 ; | ||
wikibase:lexicalCategory wd:Q380057 ; | ||
wikibase:lemma ?adverb . | ||
|
||
# MARK: Comparative | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?comparativeForm . | ||
?comparativeForm ontolex:representation ?comparative ; | ||
wikibase:grammaticalFeature wd:Q14169499 . | ||
} | ||
|
||
# MARK: Superlative | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?superlativeForm . | ||
?superlativeForm ontolex:representation ?superlative ; | ||
wikibase:grammaticalFeature wd:Q1817208 . | ||
} | ||
} |
Oops, something went wrong.