-
Notifications
You must be signed in to change notification settings - Fork 69
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 #394 from OkpePhillips/italian-verb-query
Expand Italian verbs query
- Loading branch information
Showing
3 changed files
with
91 additions
and
32 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
60 changes: 60 additions & 0 deletions
60
src/scribe_data/language_data_extraction/Italian/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,60 @@ | ||
|
||
# tool: scribe-data | ||
# All Italian (Q652) verbs and the currently implemented tenses for each. | ||
# Enter this query at https://query.wikidata.org/. | ||
|
||
SELECT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?infinitive | ||
?pretFPS ?pretSPS ?pretTPS | ||
?pretFPP ?pretSPP ?pretTPP | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q652 ; | ||
wikibase:lexicalCategory wd:Q24905 ; | ||
wikibase:lemma ?infinitive . | ||
|
||
# MARK: Preterite | ||
|
||
# FPS | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pretFPSForm . | ||
?pretFPSForm ontolex:representation ?pretFPS ; | ||
wikibase:grammaticalFeature wd:Q442485, wd:Q21714344, wd:Q110786 . | ||
} | ||
|
||
# SPS | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pretSPSForm . | ||
?pretSPSForm ontolex:representation ?pretSPS ; | ||
wikibase:grammaticalFeature wd:Q442485, wd:Q51929049, wd:Q110786 . | ||
} | ||
|
||
# TPS | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pretTPSForm . | ||
?pretTPSForm ontolex:representation ?pretTPS ; | ||
wikibase:grammaticalFeature wd:Q442485, wd:Q51929074, wd:Q110786 . | ||
} | ||
|
||
# FPP | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pretFPPForm . | ||
?pretFPPForm ontolex:representation ?pretFPP ; | ||
wikibase:grammaticalFeature wd:Q442485, wd:Q21714344, wd:Q146786 . | ||
} | ||
|
||
# SPP | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pretSPPForm . | ||
?pretSPPForm ontolex:representation ?pretSPP ; | ||
wikibase:grammaticalFeature wd:Q442485, wd:Q51929049, wd:Q146786 . | ||
} | ||
|
||
# TPP | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pretTPPForm . | ||
?pretTPPForm ontolex:representation ?pretTPP ; | ||
wikibase:grammaticalFeature wd:Q442485, wd:Q51929074, wd:Q146786 . | ||
} | ||
} |