Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand Italian verbs query #394

Merged
merged 3 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ SELECT
?infinitive
?presFPS ?presSPS ?presTPS
?presFPP ?presSPP ?presTPP
?pretFPS ?pretSPS ?pretTPS
?pretFPP ?pretSPP ?pretTPP


WHERE {
?lexeme dct:language wd:Q652 ;
Expand All @@ -21,43 +20,43 @@ WHERE {
OPTIONAL {
?lexeme ontolex:lexicalForm ?presFPSForm .
?presFPSForm ontolex:representation ?presFPS ;
wikibase:grammaticalFeature wd:Q56682909, wd:Q51929218 .
}
wikibase:grammaticalFeature wd:Q56682909, wd:Q21714344, wd:Q110786 .
}

# SPS
OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPSForm .
?presSPSForm ontolex:representation ?presSPS ;
wikibase:grammaticalFeature wd:Q56682909, wd:Q51929369 .
}
wikibase:grammaticalFeature wd:Q56682909, wd:Q51929049, wd:Q110786 .
}

# TPS
OPTIONAL {
?lexeme ontolex:lexicalForm ?presTPSForm .
?presTPSForm ontolex:representation ?presTPS ;
wikibase:grammaticalFeature wd:Q56682909, wd:Q51929447 .
}
wikibase:grammaticalFeature wd:Q56682909, wd:Q51929074, wd:Q110786 .
}

# FPP
OPTIONAL {
?lexeme ontolex:lexicalForm ?presFPPForm .
?presFPPForm ontolex:representation ?presFPP ;
wikibase:grammaticalFeature wd:Q56682909, wd:Q51929290 .
}
wikibase:grammaticalFeature wd:Q56682909, wd:Q21714344, wd:Q146786 .
}

# SPP
OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPPForm .
?presSPPForm ontolex:representation ?presSPP ;
wikibase:grammaticalFeature wd:Q56682909, wd:Q51929403 .
}
wikibase:grammaticalFeature wd:Q56682909, wd:Q51929049, wd:Q146786 .
}

# TPP
OPTIONAL {
?lexeme ontolex:lexicalForm ?presTPPForm .
?presTPPForm ontolex:representation ?presTPP ;
wikibase:grammaticalFeature wd:Q56682909, wd:Q51929517 .
}
wikibase:grammaticalFeature wd:Q56682909, wd:Q51929074, wd:Q146786 .
}

# MARK: Preterite

Expand All @@ -66,40 +65,40 @@ WHERE {
?lexeme ontolex:lexicalForm ?pretFPSForm .
?pretFPSForm ontolex:representation ?pretFPS ;
wikibase:grammaticalFeature wd:Q442485, wd:Q51929218 .
}
}

# SPS
OPTIONAL {
?lexeme ontolex:lexicalForm ?pretSPSForm .
?pretSPSForm ontolex:representation ?pretSPS ;
wikibase:grammaticalFeature wd:Q442485, wd:Q51929369 .
}
}

# TPS
OPTIONAL {
?lexeme ontolex:lexicalForm ?pretTPSForm .
?pretTPSForm ontolex:representation ?pretTPS ;
wikibase:grammaticalFeature wd:Q442485, wd:Q51929447 .
}
}

# FPP
OPTIONAL {
?lexeme ontolex:lexicalForm ?pretFPPForm .
?pretFPPForm ontolex:representation ?pretFPP ;
wikibase:grammaticalFeature wd:Q442485, wd:Q51929290 .
}
}

# SPP
OPTIONAL {
?lexeme ontolex:lexicalForm ?pretSPPForm .
?pretSPPForm ontolex:representation ?pretSPP ;
wikibase:grammaticalFeature wd:Q442485, wd:Q51929403 .
}
}

# TPP
OPTIONAL {
?lexeme ontolex:lexicalForm ?pretTPPForm .
?pretTPPForm ontolex:representation ?pretTPP ;
wikibase:grammaticalFeature wd:Q442485, wd:Q51929517 .
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,41 +19,41 @@ WHERE {
OPTIONAL {
?lexeme ontolex:lexicalForm ?impFPSForm .
?impFPSForm ontolex:representation ?impFPS ;
wikibase:grammaticalFeature wd:Q12547192, wd:Q51929218 .
}
wikibase:grammaticalFeature wd:Q12547192, wd:Q21714344, wd:Q110786 .
}

# SPS
OPTIONAL {
?lexeme ontolex:lexicalForm ?impSPSForm .
?impSPSForm ontolex:representation ?impSPS ;
wikibase:grammaticalFeature wd:Q12547192, wd:Q51929369 .
}
wikibase:grammaticalFeature wd:Q12547192, wd:Q51929049, wd:Q110786 .
}

# TPS
OPTIONAL {
?lexeme ontolex:lexicalForm ?impTPSForm .
?impTPSForm ontolex:representation ?impTPS ;
wikibase:grammaticalFeature wd:Q12547192, wd:Q51929447 .
}
wikibase:grammaticalFeature wd:Q12547192, wd:Q51929074, wd:Q110786 .
}

# FPP
OPTIONAL {
?lexeme ontolex:lexicalForm ?impFPPForm .
?impFPPForm ontolex:representation ?impFPP ;
wikibase:grammaticalFeature wd:Q12547192, wd:Q51929290 .
}
wikibase:grammaticalFeature wd:Q12547192, wd:Q21714344, wd:Q146786 .
}

# SPP
OPTIONAL {
?lexeme ontolex:lexicalForm ?impSPPForm .
?impSPPForm ontolex:representation ?impSPP ;
wikibase:grammaticalFeature wd:Q12547192, wd:Q51929403 .
}
wikibase:grammaticalFeature wd:Q12547192, wd:Q51929049, wd:Q146786 .
}

# TPP
OPTIONAL {
?lexeme ontolex:lexicalForm ?impTPPForm .
?impTPPForm ontolex:representation ?impTPP ;
wikibase:grammaticalFeature wd:Q12547192, wd:Q51929517 .
}
wikibase:grammaticalFeature wd:Q12547192, wd:Q51929074, wd:Q146786 .
}
}
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 .
}
}
Loading