-
Notifications
You must be signed in to change notification settings - Fork 75
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
1 parent
d35b229
commit 7f5586a
Showing
10 changed files
with
73 additions
and
7 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/scribe_data/wikidata/language_data_extraction/dagbani/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
2 changes: 1 addition & 1 deletion
2
src/scribe_data/wikidata/language_data_extraction/dagbani/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
2 changes: 1 addition & 1 deletion
2
src/scribe_data/wikidata/language_data_extraction/greek/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
2 changes: 1 addition & 1 deletion
2
src/scribe_data/wikidata/language_data_extraction/greek/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
38 changes: 38 additions & 0 deletions
38
src/scribe_data/wikidata/language_data_extraction/hausa/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,38 @@ | ||
# tool: scribe-data | ||
# All Hausa (Q56475) 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 | ||
?feminineSingular | ||
?masculineSingular | ||
?plural | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q56475 ; | ||
wikibase:lexicalCategory wd:Q34698 ; | ||
wikibase:lemma ?adjective . | ||
FILTER(lang(?adjective) = "ha") | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?feminineSingularForm . | ||
?feminineSingularForm ontolex:representation ?feminineSingular ; | ||
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786 . | ||
FILTER(lang(?feminineSingular) = "ha") | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?masculineSingularForm . | ||
?masculineSingularForm ontolex:representation ?masculineSingular ; | ||
wikibase:grammaticalFeature wd:Q499327, wd:Q110786 . | ||
FILTER(lang(?masculineSingular) = "ha") | ||
} | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pluralForm . | ||
?pluralForm ontolex:representation ?plural ; | ||
wikibase:grammaticalFeature wd:Q146786 . | ||
FILTER(lang(?plural) = "ha") | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/scribe_data/wikidata/language_data_extraction/hausa/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,14 @@ | ||
# tool: scribe-data | ||
# All Hausa (Q56475) 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:Q56475 ; | ||
wikibase:lexicalCategory wd:Q380057 ; | ||
wikibase:lemma ?adverb . | ||
FILTER(lang(?adverb) = "ha") | ||
} |
14 changes: 14 additions & 0 deletions
14
...cribe_data/wikidata/language_data_extraction/hausa/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,14 @@ | ||
# tool: scribe-data | ||
# All Hausa (Q56475) 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 | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q56475 ; | ||
wikibase:lexicalCategory wd:Q4833830 ; | ||
wikibase:lemma ?preposition . | ||
FILTER(lang(?preposition) = "ha") | ||
} |
2 changes: 1 addition & 1 deletion
2
src/scribe_data/wikidata/language_data_extraction/ibibio/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
2 changes: 1 addition & 1 deletion
2
...cribe_data/wikidata/language_data_extraction/ukrainian/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
2 changes: 1 addition & 1 deletion
2
src/scribe_data/wikidata/language_data_extraction/ukrainian/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