Skip to content

Commit

Permalink
Merge pull request #393 from kanishk128/issue-391
Browse files Browse the repository at this point in the history
Fix: Put query end of statement period within OPTIONALs in all querie…
  • Loading branch information
andrewtavis authored Oct 16, 2024
2 parents 999d862 + 314921f commit 367f7df
Show file tree
Hide file tree
Showing 93 changed files with 861 additions and 861 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,42 +46,42 @@ WHERE {
OPTIONAL {
?lexeme ontolex:lexicalForm ?femSingularNominativeIndefForm .
?femSingularNominativeIndefForm ontolex:representation ?femSingularNominativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q131105, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q131105, wd:Q53997857 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masSingularNominativeIndefForm .
?masSingularNominativeIndefForm ontolex:representation ?masSingularNominativeIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q131105, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q131105, wd:Q53997857 .
}

# Dual

OPTIONAL {
?lexeme ontolex:lexicalForm ?femDualNominativeIndefForm .
?femDualNominativeIndefForm ontolex:representation ?femDualNominativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q131105, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q131105, wd:Q53997857 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masDualNominativeIndefForm .
?masDualNominativeIndefForm ontolex:representation ?masDualNominativeIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q131105, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q131105, wd:Q53997857 .
}

# Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?femPluralNominativeIndefForm .
?femPluralNominativeIndefForm ontolex:representation ?femPluralNominativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q131105, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q131105, wd:Q53997857 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masPluralNominativeIndefForm .
?masPluralNominativeIndefForm ontolex:representation ?masPluralNominativeIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q131105, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q131105, wd:Q53997857 .
}

# MARK: Accusative

Expand All @@ -90,42 +90,42 @@ WHERE {
OPTIONAL {
?lexeme ontolex:lexicalForm ?femSingularAccusativeIndefForm .
?femSingularAccusativeIndefForm ontolex:representation ?femSingularAccusativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q146078, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q146078, wd:Q53997857 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masSingularAccusativeIndefForm .
?masSingularAccusativeIndefForm ontolex:representation ?masSingularAccusativeIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q146078, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q146078, wd:Q53997857 .
}

# Dual

OPTIONAL {
?lexeme ontolex:lexicalForm ?femDualAccusativeIndefForm .
?femDualAccusativeIndefForm ontolex:representation ?femDualAccusativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q146078, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q146078, wd:Q53997857 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masDualAccusativeIndefForm .
?masDualAccusativeIndefForm ontolex:representation ?masDualAccusativeIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q146078, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q146078, wd:Q53997857 .
}

# Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?femPluralAccusativeIndefForm .
?femPluralAccusativeIndefForm ontolex:representation ?femPluralAccusativeIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q146078, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q146078, wd:Q53997857 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masPluralAccusativeIndefForm .
?masPluralAccusativeIndefForm ontolex:representation ?masPluralAccusativeIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q146078, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q146078, wd:Q53997857 .
}

# MARK: Genitive

Expand All @@ -134,42 +134,42 @@ WHERE {
OPTIONAL {
?lexeme ontolex:lexicalForm ?femSingularGanitiveIndefForm .
?femSingularGanitiveIndefForm ontolex:representation ?femSingularGanitiveIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q146233, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q146233, wd:Q53997857 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masSingularGanitiveIndefForm .
?masSingularGanitiveIndefForm ontolex:representation ?masSingularGanitiveIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q146233, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q146233, wd:Q53997857 .
}

# Dual

OPTIONAL {
?lexeme ontolex:lexicalForm ?femDualGanitiveIndefForm .
?femDualGanitiveIndefForm ontolex:representation ?femDualGanitiveIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q146233, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q146233, wd:Q53997857 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masDualGanitiveIndefForm .
?masDualGanitiveIndefForm ontolex:representation ?masDualGanitiveIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q146233, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q146233, wd:Q53997857 .
}

# Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?femPluralGanitiveIndefForm .
?femPluralGanitiveIndefForm ontolex:representation ?femPluralGanitiveIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q146233, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q146233, wd:Q53997857 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masPluralGanitiveIndefForm .
?masPluralGanitiveIndefForm ontolex:representation ?masPluralGanitiveIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q146233, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q146233, wd:Q53997857 .
}

# MARK: Pausal

Expand All @@ -178,40 +178,40 @@ WHERE {
OPTIONAL {
?lexeme ontolex:lexicalForm ?femSingularPausalIndefForm .
?femSingularPausalIndefForm ontolex:representation ?femSingularPausalIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q117262361, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q117262361, wd:Q53997857 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masSingularPausalIndefForm .
?masSingularPausalIndefForm ontolex:representation ?masSingularPausalIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q117262361, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q117262361, wd:Q53997857 .
}

# Dual

OPTIONAL {
?lexeme ontolex:lexicalForm ?femDualPausalIndefForm .
?femDualPausalIndefForm ontolex:representation ?femDualPausalIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q117262361, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q1775415, wd:Q110022, wd:Q117262361, wd:Q53997857 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masDualPausalIndefForm .
?masDualPausalIndefForm ontolex:representation ?masDualPausalIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q117262361, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q110022, wd:Q117262361, wd:Q53997857 .
}

# Plural

OPTIONAL {
?lexeme ontolex:lexicalForm ?femPluralPausalIndefForm .
?femPluralPausalIndefForm ontolex:representation ?femPluralPausalIndef ;
wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q117262361, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q117262361, wd:Q53997857 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?masPluralPausalIndefForm .
?masPluralPausalIndefForm ontolex:representation ?masPluralPausalIndef ;
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q117262361, wd:Q53997857 ;
} .
wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q117262361, wd:Q53997857 .
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,66 +19,66 @@ WHERE {
OPTIONAL {
?lexeme ontolex:lexicalForm ?presFPSForm .
?presFPSForm ontolex:representation ?presFPS ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q12230930
} .
wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q12230930 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPSMForm .
?presSPSMForm ontolex:representation ?presSPSM ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q499327, wd:Q682111, wd:Q12230930
} .
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q499327, wd:Q682111, wd:Q12230930 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPSFForm .
?presSPSFForm ontolex:representation ?presSPSF ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q1775415, wd:Q682111, wd:Q12230930
} .
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q1775415, wd:Q682111, wd:Q12230930 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presTPSMForm .
?presTPSMForm ontolex:representation ?presTPSM ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q499327, wd:Q682111, wd:Q12230930
} .
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q499327, wd:Q682111, wd:Q12230930 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presTPSFForm .
?presTPSFForm ontolex:representation ?presTPSF ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q1775415, wd:Q682111, wd:Q12230930
} .
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q1775415, wd:Q682111, wd:Q12230930 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPDForm .
?presSPDForm ontolex:representation ?presSPD ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110022, wd:Q682111, wd:Q12230930
} .
wikibase:grammaticalFeature wd:Q51929049, wd:Q110022, wd:Q682111, wd:Q12230930 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presTPDMForm .
?presTPDMForm ontolex:representation ?presTPDM ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q499327, wd:Q682111, wd:Q12230930
} .
wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q499327, wd:Q682111, wd:Q12230930 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presTPDFForm .
?presTPDFForm ontolex:representation ?presTPDF ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q1775415, wd:Q682111, wd:Q12230930
} .
wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q1775415, wd:Q682111, wd:Q12230930 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presFPPForm .
?presFPPForm ontolex:representation ?presFPP ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q12230930
} .
wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q12230930 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPPMForm .
?presSPPMForm ontolex:representation ?presSPPM ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q499327, wd:Q682111, wd:Q12230930
} .
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q499327, wd:Q682111, wd:Q12230930 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?presSPPFForm .
?presSPPFForm ontolex:representation ?presSPPF ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q1775415, wd:Q682111, wd:Q12230930
} .
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q1775415, wd:Q682111, wd:Q12230930 .
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,66 +19,66 @@ WHERE {
OPTIONAL {
?lexeme ontolex:lexicalForm ?pastFPSForm .
?pastFPSForm ontolex:representation ?pastFPS ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q1317831, wd:Q124351233
} .
wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q1317831, wd:Q124351233 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastSPSMForm .
?pastSPSMForm ontolex:representation ?pastSPSM ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q499327, wd:Q1317831, wd:Q124351233
} .
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q499327, wd:Q1317831, wd:Q124351233 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastSPSFForm .
?pastSPSFForm ontolex:representation ?pastSPSF ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q1775415, wd:Q1317831, wd:Q124351233
} .
wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q1775415, wd:Q1317831, wd:Q124351233 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastTPSMForm .
?pastTPSMForm ontolex:representation ?pastTPSM ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q499327, wd:Q1317831, wd:Q124351233
} .
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q499327, wd:Q1317831, wd:Q124351233 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastTPSFForm .
?pastTPSFForm ontolex:representation ?pastTPSF ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q1775415, wd:Q1317831, wd:Q124351233
} .
wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q1775415, wd:Q1317831, wd:Q124351233 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastSPDForm .
?pastSPDForm ontolex:representation ?pastSPD ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q110022, wd:Q1317831, wd:Q124351233
} .
wikibase:grammaticalFeature wd:Q51929049, wd:Q110022, wd:Q1317831, wd:Q124351233 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastTPDMForm .
?pastTPDMForm ontolex:representation ?pastTPDM ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q499327, wd:Q1317831, wd:Q124351233
} .
wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q499327, wd:Q1317831, wd:Q124351233 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastTPDFForm .
?pastTPDFForm ontolex:representation ?pastTPDF ;
wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q1775415, wd:Q1317831, wd:Q124351233
} .
wikibase:grammaticalFeature wd:Q51929074, wd:Q110022, wd:Q1775415, wd:Q1317831, wd:Q124351233 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastFPPForm .
?pastFPPForm ontolex:representation ?pastFPP ;
wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q1317831, wd:Q124351233
} .
wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q1317831, wd:Q124351233 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastSPPMForm .
?pastSPPMForm ontolex:representation ?pastSPPM ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q499327, wd:Q1317831, wd:Q124351233
} .
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q499327, wd:Q1317831, wd:Q124351233 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?pastSPPFForm .
?pastSPPFForm ontolex:representation ?pastSPPF ;
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q1775415, wd:Q1317831, wd:Q124351233
} .
wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q1775415, wd:Q1317831, wd:Q124351233 .
}
}
Loading

0 comments on commit 367f7df

Please sign in to comment.