-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Expanded Italian verbs query to align with the new standard of s…
…eparate grammatical number and person
- Loading branch information
1 parent
9fdb576
commit 87575fa
Showing
3 changed files
with
109 additions
and
58 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
72 changes: 72 additions & 0 deletions
72
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,72 @@ | ||
|
||
# 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 ; | ||
wikibase:grammaticalFeature wd:Q21714344 ; | ||
wikibase:grammaticalFeature wd:Q110786 ; | ||
} . | ||
|
||
# SPS | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pretSPSForm . | ||
?pretSPSForm ontolex:representation ?pretSPS ; | ||
wikibase:grammaticalFeature wd:Q442485 ; | ||
wikibase:grammaticalFeature wd:Q51929049 ; | ||
wikibase:grammaticalFeature wd:Q110786 ; | ||
} . | ||
|
||
# TPS | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pretTPSForm . | ||
?pretTPSForm ontolex:representation ?pretTPS ; | ||
wikibase:grammaticalFeature wd:Q442485 ; | ||
wikibase:grammaticalFeature wd:Q51929074 ; | ||
wikibase:grammaticalFeature wd:Q110786 ; | ||
} . | ||
|
||
# FPP | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pretFPPForm . | ||
?pretFPPForm ontolex:representation ?pretFPP ; | ||
wikibase:grammaticalFeature wd:Q442485 ; | ||
wikibase:grammaticalFeature wd:Q21714344 ; | ||
wikibase:grammaticalFeature wd:Q146786 ; | ||
} . | ||
|
||
# SPP | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pretSPPForm . | ||
?pretSPPForm ontolex:representation ?pretSPP ; | ||
wikibase:grammaticalFeature wd:Q442485 ; | ||
wikibase:grammaticalFeature wd:Q51929049 ; | ||
wikibase:grammaticalFeature wd:Q146786 ; | ||
} . | ||
|
||
# TPP | ||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?pretTPPForm . | ||
?pretTPPForm ontolex:representation ?pretTPP ; | ||
wikibase:grammaticalFeature wd:Q442485 ; | ||
wikibase:grammaticalFeature wd:Q51929074 ; | ||
wikibase:grammaticalFeature wd:Q146786 ; | ||
} . | ||
} |