-
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.
- Loading branch information
Showing
9 changed files
with
349 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/scribe_data/language_data_extraction/Persian/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,13 @@ | ||
# tool: scribe-data | ||
# All persian (Q9168) prepositions and the given forms. | ||
# Enter this query at https://query.wikidata.org/. | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?prepositions | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9168 ; | ||
wikibase:lexicalCategory wd:Q4833830 ; | ||
wikibase:lemma ?prepositions . | ||
} |
44 changes: 44 additions & 0 deletions
44
src/scribe_data/language_data_extraction/Persian/verbs/query_verbs_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# tool: scribe-data | ||
# All Persian (Q9168) 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) | ||
?infinitive | ||
?aorist | ||
?participle | ||
?wordStem | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9168; | ||
wikibase:lexicalCategory wd:Q24905; | ||
wikibase:lemma ?infinitiveForm. | ||
|
||
#MARK: infinitive | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?infinitiveLexForm. | ||
?infinitiveLexForm ontolex:representation ?infinitive; | ||
wikibase:grammaticalFeature wd:Q179230. | ||
} | ||
#MARK: aorist | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?aoristForm. | ||
?aoristForm ontolex:representation ?aorist; | ||
wikibase:grammaticalFeature wd:Q216497. | ||
} | ||
#MARK: participle | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?participleForm. | ||
?participleForm ontolex:representation ?participle; | ||
wikibase:grammaticalFeature wd:Q814722. | ||
FILTER(lang(?participle) = "fa") . | ||
} | ||
#MARK: wordStem | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?wordStemForm. | ||
?wordStemForm ontolex:representation ?wordStem; | ||
wikibase:grammaticalFeature wd:Q210523. | ||
FILTER(lang(?wordStem) = "fa") . | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
src/scribe_data/language_data_extraction/Persian/verbs/query_verbs_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# tool: scribe-data | ||
# All Persian (Q9168) 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) | ||
?infinitive | ||
?firstPersonSingPresent | ||
?secondPersonSingPresent | ||
?thirdPersonSingPresent | ||
?firstPersonPluralPresent | ||
?secondPersonPluralPresent | ||
?thirdPersonPluralPresent | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9168; | ||
wikibase:lexicalCategory wd:Q24905. | ||
|
||
# MARK: Infinitive | ||
?lexeme ontolex:lexicalForm ?infinitiveForm . | ||
?infinitiveForm ontolex:representation ?infinitive ; | ||
wikibase:grammaticalFeature wd:Q179230 . | ||
|
||
# MARK: Present Tense Forms | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?firstPersonSingPresentForm. | ||
?firstPersonSingPresentForm ontolex:representation ?firstPersonSingPresent; | ||
wikibase:grammaticalFeature wd:Q21714344 , wd:Q110786 , wd:Q192613. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?secondPersonSingPresentForm. | ||
?secondPersonSingPresentForm ontolex:representation ?secondPersonSingPresent; | ||
wikibase:grammaticalFeature wd:Q51929049 , wd:Q110786 , wd:Q192613. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?thirdPersonSingPresentForm. | ||
?thirdPersonSingPresentForm ontolex:representation ?thirdPersonSingPresent; | ||
wikibase:grammaticalFeature wd:Q51929074 , wd:Q110786 , wd:Q192613. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?firstPersonPluralPresentForm. | ||
?firstPersonPluralPresentForm ontolex:representation ?firstPersonPluralPresent; | ||
wikibase:grammaticalFeature wd:Q21714344 , wd:Q146786 , wd:Q192613. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?secondPersonPluralPresentForm. | ||
?secondPersonPluralPresentForm ontolex:representation ?secondPersonPluralPresent; | ||
wikibase:grammaticalFeature wd:Q51929049 , wd:Q146786 , wd:Q192613. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?thirdPersonPluralPresentForm. | ||
?thirdPersonPluralPresentForm ontolex:representation ?thirdPersonPluralPresent; | ||
wikibase:grammaticalFeature wd:Q51929074 , wd:Q146786 , wd:Q192613. | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
src/scribe_data/language_data_extraction/Persian/verbs/query_verbs_3.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,55 @@ | ||
# tool: scribe-data | ||
# All Persian (Q9168) verbs and the given perfect tense forms. | ||
# Enter this query at https://query.wikidata.org/. | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?infinitive | ||
?firstPersonSingPerfect | ||
?secondPersonSingPerfect | ||
?thirdPersonSingPerfect | ||
?firstPersonPluralPerfect | ||
?secondPersonPluralPerfect | ||
?thirdPersonPluralPerfect | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9168; | ||
wikibase:lexicalCategory wd:Q24905. | ||
|
||
# MARK: Infinitive | ||
?lexeme ontolex:lexicalForm ?infinitiveForm . | ||
?infinitiveForm ontolex:representation ?infinitive ; | ||
wikibase:grammaticalFeature wd:Q179230 . | ||
|
||
# MARK: Perfect Tense Forms | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?firstPersonSingPerfectForm. | ||
?firstPersonSingPerfectForm ontolex:representation ?firstPersonSingPerfect; | ||
wikibase:grammaticalFeature wd:Q625420 , wd:Q21714344 , wd:Q110786. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?secondPersonSingPerfectForm. | ||
?secondPersonSingPerfectForm ontolex:representation ?secondPersonSingPerfect; | ||
wikibase:grammaticalFeature wd:Q625420 , wd:Q51929049 , wd:Q110786. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?thirdPersonSingPerfectForm. | ||
?thirdPersonSingPerfectForm ontolex:representation ?thirdPersonSingPerfect; | ||
wikibase:grammaticalFeature wd:Q625420 , wd:Q51929074 , wd:Q110786. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?firstPersonPluralPerfectForm. | ||
?firstPersonPluralPerfectForm ontolex:representation ?firstPersonPluralPerfect; | ||
wikibase:grammaticalFeature wd:Q625420 , wd:Q21714344 , wd:Q146786. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?secondPersonPluralPerfectForm. | ||
?secondPersonPluralPerfectForm ontolex:representation ?secondPersonPluralPerfect; | ||
wikibase:grammaticalFeature wd:Q625420 , wd:Q51929049 , wd:Q146786. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?thirdPersonPluralPerfectForm. | ||
?thirdPersonPluralPerfectForm ontolex:representation ?thirdPersonPluralPerfect; | ||
wikibase:grammaticalFeature wd:Q625420 , wd:Q51929074 , wd:Q146786. | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
src/scribe_data/language_data_extraction/Persian/verbs/query_verbs_4.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,55 @@ | ||
# tool: scribe-data | ||
# All Persian (Q9168) verbs and the given present perfect tense forms. | ||
# Enter this query at https://query.wikidata.org/. | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?infinitive | ||
?firstPersonSingPresentPerfect | ||
?secondPersonSingPresentPerfect | ||
?thirdPersonSingPresentPerfect | ||
?firstPersonPluralPresentPerfect | ||
?secondPersonPluralPresentPerfect | ||
?thirdPersonPluralPresentPerfect | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9168; | ||
wikibase:lexicalCategory wd:Q24905. | ||
|
||
# MARK: Infinitive | ||
?lexeme ontolex:lexicalForm ?infinitiveForm . | ||
?infinitiveForm ontolex:representation ?infinitive ; | ||
wikibase:grammaticalFeature wd:Q179230 . | ||
|
||
# MARK: Present Perfect Forms | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?firstPersonSingPresentPerfectForm. | ||
?firstPersonSingPresentPerfectForm ontolex:representation ?firstPersonSingPresentPerfect; | ||
wikibase:grammaticalFeature wd:Q625420 , wd:Q21714344 , wd:Q192613 , wd:Q110786. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?secondPersonSingPresentPerfectForm. | ||
?secondPersonSingPresentPerfectForm ontolex:representation ?secondPersonSingPresentPerfect; | ||
wikibase:grammaticalFeature wd:Q625420 , wd:Q51929049 ,wd:Q192613 , wd:Q110786. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?thirdPersonSingPresentPerfectForm. | ||
?thirdPersonSingPresentPerfectForm ontolex:representation ?thirdPersonSingPresentPerfect; | ||
wikibase:grammaticalFeature wd:Q625420 , wd:Q51929074 ,wd:Q192613 , wd:Q110786. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?firstPersonPluralPresentPerfectForm. | ||
?firstPersonPluralPresentPerfectForm ontolex:representation ?firstPersonPluralPresentPerfect; | ||
wikibase:grammaticalFeature wd:Q625420 , wd:Q21714344 ,wd:Q192613 , wd:Q146786. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?secondPersonPluralPresentPerfectForm. | ||
?secondPersonPluralPresentPerfectForm ontolex:representation ?secondPersonPluralPresentPerfect; | ||
wikibase:grammaticalFeature wd:Q625420 , wd:Q51929049 ,wd:Q192613 , wd:Q146786. | ||
} | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?thirdPersonPluralPresentPerfectForm. | ||
?thirdPersonPluralPresentPerfectForm ontolex:representation ?thirdPersonPluralPresentPerfect; | ||
wikibase:grammaticalFeature wd:Q625420 , wd:Q51929074 ,wd:Q192613 , wd:Q146786. | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
src/scribe_data/language_data_extraction/Persian/verbs/query_verbs_5.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,61 @@ | ||
# tool: scribe-data | ||
# All Persian (Q9168) 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) | ||
?infinitive | ||
?firstPersonSingSubjunctive | ||
?secondPersonSingSubjunctive | ||
?thirdPersonSingSubjunctive | ||
?firstPersonPluralSubjunctive | ||
?secondPersonPluralSubjunctive | ||
?thirdPersonPluralSubjunctive | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9168; | ||
wikibase:lexicalCategory wd:Q24905; | ||
wikibase:lemma ?infinitiveForm. | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?infinitiveLexForm. | ||
?infinitiveLexForm ontolex:representation ?infinitive; | ||
wikibase:grammaticalFeature wd:Q179230. | ||
} | ||
#MARK: subjunctive | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?firstPersonSingSubjunctiveForm. | ||
?firstPersonSingSubjunctiveForm ontolex:representation ?firstPersonSingSubjunctive; | ||
wikibase:grammaticalFeature wd:Q473746 , wd:Q21714344 , wd:Q110786. | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?secondPersonSingSubjunctiveForm. | ||
?secondPersonSingSubjunctiveForm ontolex:representation ?secondPersonSingSubjunctive; | ||
wikibase:grammaticalFeature wd:Q473746 , wd:Q51929049 , wd:Q110786. | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?thirdPersonSingSubjunctiveForm. | ||
?thirdPersonSingSubjunctiveForm ontolex:representation ?thirdPersonSingSubjunctive; | ||
wikibase:grammaticalFeature wd:Q473746 , wd:Q51929074 , wd:Q110786. | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?firstPersonPluralSubjunctiveForm. | ||
?firstPersonPluralSubjunctiveForm ontolex:representation ?firstPersonPluralSubjunctive; | ||
wikibase:grammaticalFeature wd:Q473746 , wd:Q21714344 , wd:Q146786. | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?secondPersonPluralSubjunctiveForm. | ||
?secondPersonPluralSubjunctiveForm ontolex:representation ?secondPersonPluralSubjunctive; | ||
wikibase:grammaticalFeature wd:Q473746 , wd:Q51929049 , wd:Q146786. | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?thirdPersonPluralSubjunctiveForm. | ||
?thirdPersonPluralSubjunctiveForm ontolex:representation ?thirdPersonPluralSubjunctive; | ||
wikibase:grammaticalFeature wd:Q473746 , wd:Q51929074 , wd:Q146786. | ||
} | ||
} |
61 changes: 61 additions & 0 deletions
61
src/scribe_data/language_data_extraction/Persian/verbs/query_verbs_6.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,61 @@ | ||
# tool: scribe-data | ||
# All Persian (Q9168) 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) | ||
?infinitive | ||
?indicative1PS | ||
?indicative2PS | ||
?indicative3PS | ||
?indicative1PP | ||
?indicative2PP | ||
?indicative3PP | ||
|
||
|
||
WHERE { | ||
?lexeme dct:language wd:Q9168 ; | ||
wikibase:lexicalCategory wd:Q24905 . | ||
|
||
#MARK: infinitive | ||
?lexeme ontolex:lexicalForm ?infinitiveForm . | ||
?infinitiveForm ontolex:representation ?infinitive ; | ||
wikibase:grammaticalFeature wd:Q179230 . | ||
|
||
# MARK: Indicative | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?indicative1PSForm . | ||
?indicative1PSForm ontolex:representation ?indicative1PS ; | ||
wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111 . | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?indicative2PSForm . | ||
?indicative2PSForm ontolex:representation ?indicative2PS ; | ||
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111 . | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?indicative3PSForm . | ||
?indicative3PSForm ontolex:representation ?indicative3PS ; | ||
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111 . | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?indicative1PPForm . | ||
?indicative1PPForm ontolex:representation ?indicative1PP ; | ||
wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111 . | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?indicative2PPForm . | ||
?indicative2PPForm ontolex:representation ?indicative2PP ; | ||
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111 . | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?indicative3PPForm . | ||
?indicative3PPForm ontolex:representation ?indicative3PP ; | ||
wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111 . | ||
} | ||
} |
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 |
---|---|---|
|
@@ -115,6 +115,10 @@ | |
} | ||
} | ||
}, | ||
"persian": { | ||
"iso": "fa", | ||
"qid": "Q9168" | ||
}, | ||
"pidgin": { | ||
"sub_languages": { | ||
"nigerian": { | ||
|
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