From 233ca35caa9b782b7e2d0061e6a57773948c3616 Mon Sep 17 00:00:00 2001 From: kanishk128 Date: Thu, 17 Oct 2024 00:28:38 +0530 Subject: [PATCH] Fix: Put query end of statement period within OPTIONALs in all queries #391 --- .../Arabic/nouns/query_nouns.sparql | 96 +++++++++---------- .../Arabic/verbs/query_verbs_1.sparql | 44 ++++----- .../Arabic/verbs/query_verbs_2.sparql | 44 ++++----- .../Arabic/verbs/query_verbs_3.sparql | 20 ++-- .../Basque/nouns/query_nouns.sparql | 8 +- .../Basque/verbs/query_verbs.sparql | 10 +- .../Bengali/nouns/query_nouns.sparql | 16 ++-- .../prepositions/query_prepositions.sparql | 2 +- .../adjectives/query_adjectives_1.sparql | 2 +- .../adjectives/query_adjectives_2.sparql | 2 +- .../adjectives/query_adjectives_3.sparql | 2 +- .../Czech/nouns/query_nouns.sparql | 10 +- .../prepositions/query_prepositions.sparql | 2 +- .../Czech/verbs/query_verbs_1.sparql | 68 ++++++------- .../Czech/verbs/query_verbs_2.sparql | 64 ++++++------- .../adjectives/query_adjectives_1.sparql | 4 +- .../adjectives/query_adjectives_2.sparql | 8 +- .../adjectives/query_adjectives_3.sparql | 4 +- .../Danish/nouns/query_nouns.sparql | 6 +- .../English/nouns/query_nouns.sparql | 4 +- .../English/verbs/query_verbs.sparql | 10 +- .../Esperanto/nouns/query_nouns.sparql | 12 +-- .../Esperanto/verbs/query_verbs.sparql | 10 +- .../adjectives/query_adjectives_1.sparql | 12 +-- .../adjectives/query_adjectives_2.sparql | 16 ++-- .../adjectives/query_adjectives_3.sparql | 16 ++-- .../adjectives/query_adjectives_4.sparql | 12 +-- .../Estonian/nouns/query_nouns.sparql | 4 +- .../prepositions/query_prepositions.sparql | 2 +- .../Finnish/nouns/query_nouns.sparql | 4 +- .../French/nouns/query_nouns.sparql | 6 +- .../French/verbs/query_verbs_1.sparql | 48 +++++----- .../French/verbs/query_verbs_2.sparql | 48 +++++----- .../German/nouns/query_nouns.sparql | 6 +- .../prepositions/query_prepositions.sparql | 2 +- .../German/verbs/query_verbs_1.sparql | 24 ++--- .../German/verbs/query_verbs_2.sparql | 32 +++---- .../Greek/nouns/query_nouns.sparql | 8 +- .../Greek/verbs/query_verbs.sparql | 24 ++--- .../Hausa/nouns/query_nouns.sparql | 8 +- .../Hebrew/adjectives/query_adjectives.sparql | 72 +++++++------- .../Hebrew/nouns/query_nouns.sparql | 8 +- .../Hebrew/verbs/query_verbs_1.sparql | 24 ++--- .../Hebrew/verbs/query_verbs_2.sparql | 24 ++--- .../Hebrew/verbs/query_verbs_3.sparql | 60 ++++++------ .../Hebrew/verbs/query_verbs_4.sparql | 60 ++++++------ .../Hindi/adjectives/query_adjectives.sparql | 76 +++++++-------- .../Hindustani/Hindi/nouns/query_nouns.sparql | 8 +- .../Hindustani/Hindi/verbs/query_verbs.sparql | 18 ++-- .../Urdu/adjectives/query_adjectives.sparql | 76 +++++++-------- .../Hindustani/Urdu/nouns/query_nouns.sparql | 8 +- .../Hindustani/Urdu/verbs/query_verbs.sparql | 8 +- .../Italian/nouns/query_nouns.sparql | 6 +- .../Italian/verbs/query_verbs_1.sparql | 48 +++++----- .../Italian/verbs/query_verbs_2.sparql | 24 ++--- .../Japanese/verbs/query_verbs.sparql | 10 +- .../Kurmanji/nouns/query_nouns.sparql | 2 +- .../adjectives/query_adjectives_1.sparql | 4 +- .../adjectives/query_adjectives_2.sparql | 4 +- .../Latin/nouns/query_nouns_1.sparql | 4 +- .../Latin/nouns/query_nouns_2.sparql | 4 +- .../Latin/nouns/query_nouns_3.sparql | 4 +- .../Malayalam/nouns/query_nouns.sparql | 2 +- .../Malayalam/verbs/query_verbs.sparql | 16 ++-- .../Bokm\303\245l/nouns/query_nouns.sparql" | 14 +-- .../Nynorsk/nouns/query_nouns.sparql | 14 +-- .../Pidgin/Nigerian/nouns/query_nouns.sparql | 6 +- .../Polish/nouns/query_nouns.sparql | 10 +- .../Portuguese/nouns/query_nouns.sparql | 6 +- .../Portuguese/verbs/query_verbs.sparql | 96 +++++++++---------- .../Punjabi/Gurmukhi/nouns/query_nouns.sparql | 8 +- .../Shahmukhi/nouns/query_nouns.sparql | 8 +- .../Russian/nouns/query_nouns.sparql | 10 +- .../prepositions/query_prepositions.sparql | 2 +- .../Russian/verbs/query_verbs.sparql | 40 ++++---- .../adjectives/query_adjectives_1.sparql | 10 +- .../adjectives/query_adjectives_2.sparql | 8 +- .../adjectives/query_adjectives_3.sparql | 8 +- .../adjectives/query_adjectives_4.sparql | 12 +-- .../adjectives/query_adjectives_5.sparql | 8 +- .../adjectives/query_adjectives_6.sparql | 8 +- .../Slovak/nouns/query_nouns.sparql | 6 +- .../prepositions/query_prepositions.sparql | 2 +- .../Spanish/nouns/query_nouns.sparql | 22 ++--- .../Spanish/verbs/query_verbs_1.sparql | 24 ++--- .../Spanish/verbs/query_verbs_2.sparql | 24 ++--- .../Spanish/verbs/query_verbs_3.sparql | 24 ++--- .../Swahili/nouns/query_nouns.sparql | 6 +- .../Swedish/nouns/query_nouns.sparql | 6 +- .../Swedish/verbs/query_verbs.sparql | 32 +++---- .../Tamil/nouns/query_nouns.sparql | 8 +- .../Ukrainian/nouns/query_nouns.sparql | 6 +- .../prepositions/query_prepositions.sparql | 2 +- 93 files changed, 860 insertions(+), 860 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Arabic/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Arabic/nouns/query_nouns.sparql index dda8f26bf..347fdb43d 100644 --- a/src/scribe_data/language_data_extraction/Arabic/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Arabic/nouns/query_nouns.sparql @@ -48,42 +48,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 @@ -92,42 +92,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 @@ -136,42 +136,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 @@ -180,40 +180,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 . + } } diff --git a/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_1.sparql index a547e9dd5..fa8733465 100644 --- a/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_1.sparql @@ -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 . + } } diff --git a/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_2.sparql index 6c00b9313..49a965b9f 100644 --- a/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_2.sparql @@ -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 . + } } diff --git a/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_3.sparql b/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_3.sparql index 9496f6175..47126414b 100644 --- a/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_3.sparql +++ b/src/scribe_data/language_data_extraction/Arabic/verbs/query_verbs_3.sparql @@ -18,30 +18,30 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSMForm . ?impSPSMForm ontolex:representation ?impSPSM ; - 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 ?impSPSFForm . ?impSPSFForm ontolex:representation ?impSPSF ; - 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 ?impSPDForm . ?impSPDForm ontolex:representation ?impSPD ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110022, wd:Q682111, wd:Q12230930 - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110022, wd:Q682111, wd:Q12230930 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPMForm . ?impSPPMForm ontolex:representation ?impSPPM ; - 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 ?impSPPFForm . ?impSPPFForm ontolex:representation ?impSPPF ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q1775415, wd:Q682111, wd:Q12230930 - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q1775415, wd:Q682111, wd:Q12230930 . + } } diff --git a/src/scribe_data/language_data_extraction/Basque/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Basque/nouns/query_nouns.sparql index fffe5c3f5..bde24038e 100644 --- a/src/scribe_data/language_data_extraction/Basque/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Basque/nouns/query_nouns.sparql @@ -20,14 +20,14 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?absSingularForm . ?absSingularForm ontolex:representation ?absSingular ; - wikibase:grammaticalFeature wd:Q332734, wd:Q110786 ; - } . + wikibase:grammaticalFeature wd:Q332734, wd:Q110786 . + } # MARK: Absolutive Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?absPluralForm . ?absPluralForm ontolex:representation ?absPlural ; - wikibase:grammaticalFeature wd:Q332734, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q332734, wd:Q146786 . + } } diff --git a/src/scribe_data/language_data_extraction/Basque/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Basque/verbs/query_verbs.sparql index 4bb8792b2..c3bf56483 100644 --- a/src/scribe_data/language_data_extraction/Basque/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Basque/verbs/query_verbs.sparql @@ -24,7 +24,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?futureForm . ?futureForm ontolex:representation ?future ; wikibase:grammaticalFeature wd:Q501405 . - } . + } # MARK: Gerund @@ -32,7 +32,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?gerundForm . ?gerundForm ontolex:representation ?gerund ; wikibase:grammaticalFeature wd:Q1923028 . - } . + } # MARK: Imperfective @@ -40,7 +40,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?imperfectiveForm . ?imperfectiveForm ontolex:representation ?imperfective ; wikibase:grammaticalFeature wd:Q54556033 . - } . + } # MARK: Nominalized @@ -48,7 +48,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?nominalizedForm . ?nominalizedForm ontolex:representation ?nominalized ; wikibase:grammaticalFeature wd:Q74674960 . - } . + } # MARK: Participle @@ -56,5 +56,5 @@ WHERE { ?lexeme ontolex:lexicalForm ?participleForm . ?participleForm ontolex:representation ?participle ; wikibase:grammaticalFeature wd:Q814722 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Bengali/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Bengali/nouns/query_nouns.sparql index dc36759e7..5e3d66ead 100644 --- a/src/scribe_data/language_data_extraction/Bengali/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Bengali/nouns/query_nouns.sparql @@ -20,30 +20,30 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomForm . ?nomForm ontolex:representation ?nominative ; - wikibase:grammaticalFeature wd:Q131105 ; - } . + wikibase:grammaticalFeature wd:Q131105 . + } # MARK: Genitive OPTIONAL { ?lexeme ontolex:lexicalForm ?genForm . ?genForm ontolex:representation ?genitive ; - wikibase:grammaticalFeature wd:Q146233 ; - } . + wikibase:grammaticalFeature wd:Q146233 . + } # MARK: Accusative OPTIONAL { ?lexeme ontolex:lexicalForm ?accForm . ?accForm ontolex:representation ?accusative ; - wikibase:grammaticalFeature wd:Q146078 ; - } . + wikibase:grammaticalFeature wd:Q146078 . + } # MARK: Locative OPTIONAL { ?lexeme ontolex:lexicalForm ?locForm . ?locForm ontolex:representation ?locative ; - wikibase:grammaticalFeature wd:Q202142 ; - } . + wikibase:grammaticalFeature wd:Q202142 . + } } diff --git a/src/scribe_data/language_data_extraction/Bengali/prepositions/query_prepositions.sparql b/src/scribe_data/language_data_extraction/Bengali/prepositions/query_prepositions.sparql index 65204cb1b..6fc1151e8 100644 --- a/src/scribe_data/language_data_extraction/Bengali/prepositions/query_prepositions.sparql +++ b/src/scribe_data/language_data_extraction/Bengali/prepositions/query_prepositions.sparql @@ -20,7 +20,7 @@ WHERE { OPTIONAL { ?lexeme wdt:P5713 ?caseForm . - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_1.sparql b/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_1.sparql index 1eba99f95..13a38bb93 100644 --- a/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_1.sparql +++ b/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_1.sparql @@ -18,5 +18,5 @@ WHERE { ?lexeme ontolex:lexicalForm ?nominativeForm . ?nominativeForm ontolex:representation ?nominative ; wikibase:grammaticalFeature wd:Q131105 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_2.sparql b/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_2.sparql index 0b08d5ff6..68fa2b650 100644 --- a/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_2.sparql +++ b/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_2.sparql @@ -18,5 +18,5 @@ WHERE { ?lexeme ontolex:lexicalForm ?genitiveForm . ?genitiveForm ontolex:representation ?genitive ; wikibase:grammaticalFeature wd:Q146233 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_3.sparql b/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_3.sparql index 3be851852..f75b989be 100644 --- a/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_3.sparql +++ b/src/scribe_data/language_data_extraction/Czech/adjectives/query_adjectives_3.sparql @@ -18,5 +18,5 @@ WHERE { ?lexeme ontolex:lexicalForm ?locativeForm . ?locativeForm ontolex:representation ?locative ; wikibase:grammaticalFeature wd:Q202142 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Czech/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Czech/nouns/query_nouns.sparql index bd290458e..181cf5133 100644 --- a/src/scribe_data/language_data_extraction/Czech/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Czech/nouns/query_nouns.sparql @@ -19,16 +19,16 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; - wikibase:grammaticalFeature wd:Q131105, wd:Q110786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q110786 . + } # MARK: Nominative Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . + } # MARK: Gender(s) @@ -37,7 +37,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Czech/prepositions/query_prepositions.sparql b/src/scribe_data/language_data_extraction/Czech/prepositions/query_prepositions.sparql index 6d931f371..8b5332d1d 100644 --- a/src/scribe_data/language_data_extraction/Czech/prepositions/query_prepositions.sparql +++ b/src/scribe_data/language_data_extraction/Czech/prepositions/query_prepositions.sparql @@ -16,7 +16,7 @@ WHERE { OPTIONAL { ?lexeme wdt:P5713 ?caseForm . - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_1.sparql index a52fcd2bd..bcdeae442 100644 --- a/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_1.sparql @@ -31,106 +31,106 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 . + } # MARK: Imperative OPTIONAL { ?lexeme ontolex:lexicalForm ?FPPImpForm . ?FPPImpForm ontolex:representation ?FPPImp ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q22716 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q22716 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?SPSImpForm . ?SPSImpForm ontolex:representation ?SPSImp ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q22716 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q22716 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?SPPImpForm . ?SPPImpForm ontolex:representation ?SPPImp ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q22716 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q22716 . + } # MARK: Active Participle OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularActivePartForm . ?femSingularActivePartForm ontolex:representation ?femSingularActivePart ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q72249355 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q72249355 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimateSingularActivePartForm . ?masAnimateSingularActivePartForm ontolex:representation ?masAnimateSingularActivePart ; - wikibase:grammaticalFeature wd:Q54020116, wd:Q110786, wd:Q72249355 ; - } . + wikibase:grammaticalFeature wd:Q54020116, wd:Q110786, wd:Q72249355 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimateSingularActivePartForm . ?masInanimateSingularActivePartForm ontolex:representation ?masInanimateSingularActivePart ; - wikibase:grammaticalFeature wd:Q52943434, wd:Q110786, wd:Q72249355 ; - } . + wikibase:grammaticalFeature wd:Q52943434, wd:Q110786, wd:Q72249355 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?neutSingularActivePartForm . ?neutSingularActivePartForm ontolex:representation ?neutSingularActivePart ; - wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q72249355 ; - } . + wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q72249355 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralActivePartForm . ?femPluralActivePartForm ontolex:representation ?femPluralActivePart ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q72249355 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q72249355 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimatePluralActivePartForm . ?masAnimatePluralActivePartForm ontolex:representation ?masAnimatePluralActivePart ; - wikibase:grammaticalFeature wd:Q54020116, wd:Q146786, wd:Q72249355 ; - } . + wikibase:grammaticalFeature wd:Q54020116, wd:Q146786, wd:Q72249355 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimatePluralActivePartForm . ?masInanimatePluralActivePartForm ontolex:representation ?masInanimatePluralActivePart ; - wikibase:grammaticalFeature wd:Q52943434, wd:Q146786, wd:Q72249355 ; - } . + wikibase:grammaticalFeature wd:Q52943434, wd:Q146786, wd:Q72249355 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?neutPluralActivePartForm . ?neutPluralActivePartForm ontolex:representation ?neutPluralActivePart ; - wikibase:grammaticalFeature wd:Q1775461, wd:Q146786, wd:Q72249355 ; - } . + wikibase:grammaticalFeature wd:Q1775461, wd:Q146786, wd:Q72249355 . + } } diff --git a/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_2.sparql index c9aa157be..0af1073b4 100644 --- a/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/Czech/verbs/query_verbs_2.sparql @@ -32,98 +32,98 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularPassivePartForm . ?femSingularPassivePartForm ontolex:representation ?femSingularPassivePart ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q72249544 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q72249544 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimateSingularPassivePartForm . ?masAnimateSingularPassivePartForm ontolex:representation ?masAnimateSingularPassivePart ; - wikibase:grammaticalFeature wd:Q54020116, wd:Q110786, wd:Q72249544 ; - } . + wikibase:grammaticalFeature wd:Q54020116, wd:Q110786, wd:Q72249544 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimateSingularPassivePartForm . ?masInanimateSingularPassivePartForm ontolex:representation ?masInanimateSingularPassivePart ; - wikibase:grammaticalFeature wd:Q52943434, wd:Q110786, wd:Q72249544 ; - } . + wikibase:grammaticalFeature wd:Q52943434, wd:Q110786, wd:Q72249544 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?neutSingularPassivePartForm . ?neutSingularPassivePartForm ontolex:representation ?neutSingularPassivePart ; - wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q72249544 ; - } . + wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q72249544 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralPassivePartForm . ?femPluralPassivePartForm ontolex:representation ?femPluralPassivePart ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q72249544 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q72249544 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimatePluralPassivePartForm . ?masAnimatePluralPassivePartForm ontolex:representation ?masAnimatePluralPassivePart ; - wikibase:grammaticalFeature wd:Q54020116, wd:Q146786, wd:Q72249544 ; - } . + wikibase:grammaticalFeature wd:Q54020116, wd:Q146786, wd:Q72249544 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimatePluralPassivePartForm . ?masInanimatePluralPassivePartForm ontolex:representation ?masInanimatePluralPassivePart ; - wikibase:grammaticalFeature wd:Q52943434, wd:Q146786, wd:Q72249544 ; - } . + wikibase:grammaticalFeature wd:Q52943434, wd:Q146786, wd:Q72249544 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?neutPluralPassivePartForm . ?neutPluralPassivePartForm ontolex:representation ?neutPluralPassivePart ; - wikibase:grammaticalFeature wd:Q1775461, wd:Q146786, wd:Q72249544 ; - } . + wikibase:grammaticalFeature wd:Q1775461, wd:Q146786, wd:Q72249544 . + } # MARK: Past Transgressive OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularPastTransgressiveForm . ?femSingularPastTransgressiveForm ontolex:representation ?femSingularPastTransgressive ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q12750232 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q12750232 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimateSingularPastTransgressiveForm . ?masAnimateSingularPastTransgressiveForm ontolex:representation ?masAnimateSingularPastTransgressive ; - wikibase:grammaticalFeature wd:Q54020116, wd:Q110786, wd:Q12750232 ; - } . + wikibase:grammaticalFeature wd:Q54020116, wd:Q110786, wd:Q12750232 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimateSingularPastTransgressiveForm . ?masInanimateSingularPastTransgressiveForm ontolex:representation ?masInanimateSingularPastTransgressive ; - wikibase:grammaticalFeature wd:Q52943434, wd:Q110786, wd:Q12750232 ; - } . + wikibase:grammaticalFeature wd:Q52943434, wd:Q110786, wd:Q12750232 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?neutSingularPastTransgressiveForm . ?neutSingularPastTransgressiveForm ontolex:representation ?neutSingularPastTransgressive ; - wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q12750232 ; - } . + wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q12750232 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralPastTransgressiveForm . ?femPluralPastTransgressiveForm ontolex:representation ?femPluralPastTransgressive ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q12750232 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q12750232 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masAnimatePluralPastTransgressiveForm . ?masAnimatePluralPastTransgressiveForm ontolex:representation ?masAnimatePluralPastTransgressive ; - wikibase:grammaticalFeature wd:Q54020116, wd:Q146786, wd:Q12750232 ; - } . + wikibase:grammaticalFeature wd:Q54020116, wd:Q146786, wd:Q12750232 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masInanimatePluralPastTransgressiveForm . ?masInanimatePluralPastTransgressiveForm ontolex:representation ?masInanimatePluralPastTransgressive ; - wikibase:grammaticalFeature wd:Q52943434, wd:Q146786, wd:Q12750232 ; - } . + wikibase:grammaticalFeature wd:Q52943434, wd:Q146786, wd:Q12750232 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?neutPluralPastTransgressiveForm . ?neutPluralPastTransgressiveForm ontolex:representation ?neutPluralPastTransgressive ; - wikibase:grammaticalFeature wd:Q1775461, wd:Q146786, wd:Q12750232 ; - } . + wikibase:grammaticalFeature wd:Q1775461, wd:Q146786, wd:Q12750232 . + } } diff --git a/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_1.sparql b/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_1.sparql index a1d0c659f..a83326c3a 100644 --- a/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_1.sparql +++ b/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_1.sparql @@ -19,11 +19,11 @@ WHERE { ?lexeme ontolex:lexicalForm ?commonSingularIndefiniteForm . ?commonSingularIndefiniteForm ontolex:representation ?commonSingularIndefinite ; wikibase:grammaticalFeature wd:Q1305037, wd:Q110786, wd:Q53997857, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?neuterSingularIndefiniteForm . ?neuterSingularIndefiniteForm ontolex:representation ?neuterSingularIndefinite ; wikibase:grammaticalFeature wd:Q1775461, wd:Q110786, wd:Q53997857, wd:Q3482678 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_2.sparql b/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_2.sparql index 42aa720b0..99448f44d 100644 --- a/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_2.sparql +++ b/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_2.sparql @@ -20,7 +20,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?singularDefiniteForm . ?singularDefiniteForm ontolex:representation ?singularDefinite ; wikibase:grammaticalFeature wd:Q110786, wd:Q53997851, wd:Q3482678 . - } . + } # MARK: Plural @@ -28,13 +28,13 @@ WHERE { ?lexeme ontolex:lexicalForm ?pluralPositiveForm . ?pluralPositiveForm ontolex:representation ?pluralPositive ; wikibase:grammaticalFeature wd:Q146786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralSuperlativeForm . ?pluralSuperlativeForm ontolex:representation ?pluralSuperlative ; wikibase:grammaticalFeature wd:Q146786, wd:Q1817208 . - } . + } # MARK: Comparative @@ -42,5 +42,5 @@ WHERE { ?lexeme ontolex:lexicalForm ?comparativeForm . ?comparativeForm ontolex:representation ?comparative ; wikibase:grammaticalFeature wd:Q14169499 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_3.sparql b/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_3.sparql index 59a0e7865..0fab8b19c 100644 --- a/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_3.sparql +++ b/src/scribe_data/language_data_extraction/Danish/adjectives/query_adjectives_3.sparql @@ -19,11 +19,11 @@ WHERE { ?lexeme ontolex:lexicalForm ?indefiniteSuperlativeForm . ?indefiniteSuperlativeFrom ontolex:representation ?indefiniteSuperlative ; wikibase:grammaticalFeature wd:Q110786, wd:Q53997857, wd:Q1817208 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?definiteSuperlativeForm . ?definiteSuperlativeForm ontolex:representation ?definiteSuperlative ; wikibase:grammaticalFeature wd:Q110786, wd:Q53997851, wd:Q1817208 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Danish/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Danish/nouns/query_nouns.sparql index dae3b9b66..3f6b87859 100644 --- a/src/scribe_data/language_data_extraction/Danish/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Danish/nouns/query_nouns.sparql @@ -20,8 +20,8 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q146786 . + } # MARK: Gender(s) @@ -30,7 +30,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/English/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/English/nouns/query_nouns.sparql index e60883fbe..7770c8399 100644 --- a/src/scribe_data/language_data_extraction/English/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/English/nouns/query_nouns.sparql @@ -19,6 +19,6 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q146786 . + } } diff --git a/src/scribe_data/language_data_extraction/English/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/English/verbs/query_verbs.sparql index ee09c6f00..a94ae76d7 100644 --- a/src/scribe_data/language_data_extraction/English/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/English/verbs/query_verbs.sparql @@ -28,7 +28,7 @@ WHERE { FILTER NOT EXISTS { ?presSimpForm wdt:P6191 wd:Q181970 . } FILTER NOT EXISTS { ?presSimpForm wikibase:grammaticalFeature wd:Q126473 . } FILTER(LANG(?presSimp) = "en") . - } . + } # MARK: Third-person Singular @@ -41,7 +41,7 @@ WHERE { FILTER NOT EXISTS { ?presTPSForm wdt:P6191 wd:Q181970 . } FILTER NOT EXISTS { ?presTPSForm wikibase:grammaticalFeature wd:Q126473 . } FILTER(LANG(?presTPS) = "en") . - } . + } # MARK: Present Participle @@ -52,7 +52,7 @@ WHERE { FILTER NOT EXISTS { ?presPartForm wdt:P6191 wd:Q181970 . } FILTER NOT EXISTS { ?presPartForm wikibase:grammaticalFeature wd:Q126473 . } FILTER(LANG(?presPart) = "en") . - } . + } # MARK: Simple Past @@ -63,7 +63,7 @@ WHERE { FILTER NOT EXISTS { ?pastSimpForm wdt:P6191 wd:Q181970 . } FILTER NOT EXISTS { ?pastSimpForm wikibase:grammaticalFeature wd:Q126473 . } FILTER(LANG(?pastSimp) = "en") . - } . + } # MARK: Past Participle @@ -74,7 +74,7 @@ WHERE { FILTER NOT EXISTS { ?pastPartForm wdt:P6191 wd:Q181970 . } FILTER NOT EXISTS { ?pastPartForm wikibase:grammaticalFeature wd:Q126473 . } FILTER(LANG(?pastPart) = "en") . - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Esperanto/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Esperanto/nouns/query_nouns.sparql index 725d1e712..4130e409c 100644 --- a/src/scribe_data/language_data_extraction/Esperanto/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Esperanto/nouns/query_nouns.sparql @@ -21,22 +21,22 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?accSingularForm . ?accSingularForm ontolex:representation ?accSingular ; - wikibase:grammaticalFeature wd:Q146078, wd:Q110786 ; - } . + wikibase:grammaticalFeature wd:Q146078, wd:Q110786 . + } # MARK: Nominative Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . + } # MARK: Accusative Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?accPluralForm . ?accPluralForm ontolex:representation ?accPlural ; - wikibase:grammaticalFeature wd:Q146078, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q146078, wd:Q146786 . + } } diff --git a/src/scribe_data/language_data_extraction/Esperanto/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Esperanto/verbs/query_verbs.sparql index 074006a84..6e631cd3f 100644 --- a/src/scribe_data/language_data_extraction/Esperanto/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Esperanto/verbs/query_verbs.sparql @@ -26,7 +26,7 @@ WHERE { wikibase:grammaticalFeature wd:Q192613 ; wikibase:grammaticalFeature wd:Q682111 ; FILTER(LANG(?presIndicative) = "eo") . - } . + } # MARK: Past Tense @@ -36,7 +36,7 @@ WHERE { wikibase:grammaticalFeature wd:Q1994301 ; wikibase:grammaticalFeature wd:Q682111 ; FILTER(LANG(?pastIndicative) = "eo") . - } . + } # MARK: Future Tense @@ -46,7 +46,7 @@ WHERE { wikibase:grammaticalFeature wd:Q501405 ; wikibase:grammaticalFeature wd:Q682111 ; FILTER(LANG(?futIndicative) = "eo") . - } . + } # MARK: Conditional @@ -55,7 +55,7 @@ WHERE { ?conditionalForm ontolex:representation ?conditional ; wikibase:grammaticalFeature wd:Q625581 ; FILTER(LANG(?conditional) = "eo") . - } . + } # MARK: Volitive @@ -64,5 +64,5 @@ WHERE { ?volitiveForm ontolex:representation ?volitive ; wikibase:grammaticalFeature wd:Q2532941 ; FILTER(LANG(?volitive) = "eo") . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_1.sparql b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_1.sparql index 63f9a91ef..cb7a2abe0 100644 --- a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_1.sparql +++ b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_1.sparql @@ -23,13 +23,13 @@ WHERE { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; wikibase:grammaticalFeature wd:Q131105, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . - } . + } # MARK: Genitive @@ -37,13 +37,13 @@ WHERE { ?lexeme ontolex:lexicalForm ?genSingularForm . ?genSingularForm ontolex:representation ?genSingular ; wikibase:grammaticalFeature wd:Q146233, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?genPluralForm . ?genPluralForm ontolex:representation ?genPlural ; wikibase:grammaticalFeature wd:Q146233, wd:Q146786 . - } . + } # MARK: Partitive @@ -51,11 +51,11 @@ WHERE { ?lexeme ontolex:lexicalForm ?partSingularForm . ?partSingularForm ontolex:representation ?partSingular ; wikibase:grammaticalFeature wd:Q857325, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?partPluralForm . ?partPluralForm ontolex:representation ?partPlural ; wikibase:grammaticalFeature wd:Q857325, wd:Q146786 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_2.sparql b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_2.sparql index 986fd44cf..1355059fc 100644 --- a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_2.sparql +++ b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_2.sparql @@ -25,13 +25,13 @@ WHERE { ?lexeme ontolex:lexicalForm ?illSingularForm . ?illSingularForm ontolex:representation ?illSingular ; wikibase:grammaticalFeature wd:Q474668, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?illPluralForm . ?illPluralForm ontolex:representation ?illPlural ; wikibase:grammaticalFeature wd:Q474668, wd:Q146786 . - } . + } # MARK: Inessive @@ -39,13 +39,13 @@ WHERE { ?lexeme ontolex:lexicalForm ?ineSingularForm . ?ineSingularForm ontolex:representation ?ineSingular ; wikibase:grammaticalFeature wd:Q282031, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?inePluralForm . ?inePluralForm ontolex:representation ?inePlural ; wikibase:grammaticalFeature wd:Q282031, wd:Q146786 . - } . + } # MARK: Elative @@ -53,13 +53,13 @@ WHERE { ?lexeme ontolex:lexicalForm ?elaSingularForm . ?elaSingularForm ontolex:representation ?elaSingular ; wikibase:grammaticalFeature wd:Q394253, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?elaPluralForm . ?elaPluralForm ontolex:representation ?elaPlural ; wikibase:grammaticalFeature wd:Q394253, wd:Q146786 . - } . + } # MARK: Allative @@ -67,11 +67,11 @@ WHERE { ?lexeme ontolex:lexicalForm ?allSingularForm . ?allSingularForm ontolex:representation ?allSingular ; wikibase:grammaticalFeature wd:Q655020, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?allPluralForm . ?allPluralForm ontolex:representation ?allPlural ; wikibase:grammaticalFeature wd:Q655020, wd:Q146786 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_3.sparql b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_3.sparql index 47a110802..d7e6c7f41 100644 --- a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_3.sparql +++ b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_3.sparql @@ -24,13 +24,13 @@ WHERE { ?lexeme ontolex:lexicalForm ?adeSingularForm . ?adeSingularForm ontolex:representation ?adeSingular ; wikibase:grammaticalFeature wd:Q281954, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?adePluralForm . ?adePluralForm ontolex:representation ?adePlural ; wikibase:grammaticalFeature wd:Q281954, wd:Q146786 . - } . + } # MARK: Ablative @@ -38,13 +38,13 @@ WHERE { ?lexeme ontolex:lexicalForm ?ablSingularForm . ?ablSingularForm ontolex:representation ?ablSingular ; wikibase:grammaticalFeature wd:Q156986, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?ablPluralForm . ?ablPluralForm ontolex:representation ?ablPlural ; wikibase:grammaticalFeature wd:Q156986, wd:Q146786 . - } . + } # MARK: Translative @@ -53,13 +53,13 @@ WHERE { ?lexeme ontolex:lexicalForm ?transSingularForm . ?transSingularForm ontolex:representation ?transSingular ; wikibase:grammaticalFeature wd:Q950170, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?transPluralForm . ?transPluralForm ontolex:representation ?transPlural ; wikibase:grammaticalFeature wd:Q950170, wd:Q146786 . - } . + } # MARK: Terminative @@ -67,11 +67,11 @@ WHERE { ?lexeme ontolex:lexicalForm ?termSingularForm . ?termSingularForm ontolex:representation ?termSingular ; wikibase:grammaticalFeature wd:Q747019, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?termPluralForm . ?termPluralForm ontolex:representation ?termPlural ; wikibase:grammaticalFeature wd:Q747019, wd:Q146786 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_4.sparql b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_4.sparql index b5a2eeab3..ecff47c20 100644 --- a/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_4.sparql +++ b/src/scribe_data/language_data_extraction/Estonian/adjectives/query_adjectives_4.sparql @@ -21,13 +21,13 @@ WHERE { ?lexeme ontolex:lexicalForm ?essSingularForm . ?essSingularForm ontolex:representation ?essSingular ; wikibase:grammaticalFeature wd:Q148465, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?essPluralForm . ?essPluralForm ontolex:representation ?essPlural ; wikibase:grammaticalFeature wd:Q148465, wd:Q146786 . - } . + } # MARK: Abessive @@ -35,13 +35,13 @@ WHERE { ?lexeme ontolex:lexicalForm ?abeSingularForm . ?abeSingularForm ontolex:representation ?abeSingular ; wikibase:grammaticalFeature wd:Q319822, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?abePluralForm . ?abePluralForm ontolex:representation ?abePlural ; wikibase:grammaticalFeature wd:Q319822, wd:Q146786 . - } . + } # MARK: Comitative @@ -49,11 +49,11 @@ WHERE { ?lexeme ontolex:lexicalForm ?comSingularForm . ?comSingularForm ontolex:representation ?comSingular ; wikibase:grammaticalFeature wd:Q838581, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?comPluralForm . ?comPluralForm ontolex:representation ?comPlural ; wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Estonian/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Estonian/nouns/query_nouns.sparql index a64dc7188..082675172 100644 --- a/src/scribe_data/language_data_extraction/Estonian/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Estonian/nouns/query_nouns.sparql @@ -19,6 +19,6 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . + } } diff --git a/src/scribe_data/language_data_extraction/Estonian/prepositions/query_prepositions.sparql b/src/scribe_data/language_data_extraction/Estonian/prepositions/query_prepositions.sparql index db855ca41..400fb0b24 100644 --- a/src/scribe_data/language_data_extraction/Estonian/prepositions/query_prepositions.sparql +++ b/src/scribe_data/language_data_extraction/Estonian/prepositions/query_prepositions.sparql @@ -20,7 +20,7 @@ WHERE { OPTIONAL { ?lexeme wdt:P5713 ?caseForm . - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Finnish/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Finnish/nouns/query_nouns.sparql index fe16757c8..7557e70f7 100644 --- a/src/scribe_data/language_data_extraction/Finnish/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Finnish/nouns/query_nouns.sparql @@ -19,6 +19,6 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . + } } diff --git a/src/scribe_data/language_data_extraction/French/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/French/nouns/query_nouns.sparql index 32653659a..670ae4eae 100644 --- a/src/scribe_data/language_data_extraction/French/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/French/nouns/query_nouns.sparql @@ -20,8 +20,8 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q146786 . + } # MARK: Gender(s) @@ -30,7 +30,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/French/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/French/verbs/query_verbs_1.sparql index 3e4a4530b..519fe5b1c 100644 --- a/src/scribe_data/language_data_extraction/French/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/French/verbs/query_verbs_1.sparql @@ -26,43 +26,43 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 . + } # MARK: Indicative Preterite @@ -70,41 +70,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPSForm . ?pretFPSForm ontolex:representation ?pretFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q442485 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPSForm . ?pretSPSForm ontolex:representation ?pretSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q442485 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPSForm . ?pretTPSForm ontolex:representation ?pretTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q442485 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPPForm . ?pretFPPForm ontolex:representation ?pretFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q442485 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPPForm . ?pretSPPForm ontolex:representation ?pretSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q442485 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPPForm . ?pretTPPForm ontolex:representation ?pretTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q442485 . + } } diff --git a/src/scribe_data/language_data_extraction/French/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/French/verbs/query_verbs_2.sparql index 69f7915e3..65bf2a5b4 100644 --- a/src/scribe_data/language_data_extraction/French/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/French/verbs/query_verbs_2.sparql @@ -26,43 +26,43 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPSForm . ?impFPSForm ontolex:representation ?impFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q108524486 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q108524486 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSForm . ?impSPSForm ontolex:representation ?impSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q108524486 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q108524486 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPSForm . ?impTPSForm ontolex:representation ?impTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q108524486 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q108524486 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPPForm . ?impFPPForm ontolex:representation ?impFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q108524486 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q108524486 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPForm . ?impSPPForm ontolex:representation ?impSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q108524486 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q108524486 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPPForm . ?impTPPForm ontolex:representation ?impTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q108524486 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q108524486 . + } # MARK: Future @@ -70,41 +70,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?futFPSForm . ?futFPSForm ontolex:representation ?futFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q1475560 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q1475560 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?futSPSForm . ?futSPSForm ontolex:representation ?futSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q1475560 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q1475560 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?futTPSForm . ?futTPSForm ontolex:representation ?futTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q1475560 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q1475560 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?futFPPForm . ?futFPPForm ontolex:representation ?futFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q1475560 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q1475560 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?futSPPForm . ?futSPPForm ontolex:representation ?futSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q1475560 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q1475560 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?futTPPForm . ?futTPPForm ontolex:representation ?futTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q1475560 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q1475560 . + } } diff --git a/src/scribe_data/language_data_extraction/German/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/German/nouns/query_nouns.sparql index 81c17c0ea..37d1d03bf 100644 --- a/src/scribe_data/language_data_extraction/German/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/German/nouns/query_nouns.sparql @@ -20,8 +20,8 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q146786, wd:Q131105 ; - } . + wikibase:grammaticalFeature wd:Q146786, wd:Q131105 . + } # MARK: Gender(s) @@ -30,7 +30,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/German/prepositions/query_prepositions.sparql b/src/scribe_data/language_data_extraction/German/prepositions/query_prepositions.sparql index b96332c90..12648d742 100644 --- a/src/scribe_data/language_data_extraction/German/prepositions/query_prepositions.sparql +++ b/src/scribe_data/language_data_extraction/German/prepositions/query_prepositions.sparql @@ -16,7 +16,7 @@ WHERE { OPTIONAL { ?lexeme wdt:P5713 ?caseForm . - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/German/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/German/verbs/query_verbs_1.sparql index 9e8db2d5e..c9ed2f1cd 100644 --- a/src/scribe_data/language_data_extraction/German/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/German/verbs/query_verbs_1.sparql @@ -24,33 +24,33 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/German/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/German/verbs/query_verbs_2.sparql index b9761eab8..874703347 100644 --- a/src/scribe_data/language_data_extraction/German/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/German/verbs/query_verbs_2.sparql @@ -24,47 +24,47 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pastParticipleForm . ?pastParticipleForm ontolex:representation ?pastParticiple ; - wikibase:grammaticalFeature wd:Q12717679 ; - } . + wikibase:grammaticalFeature wd:Q12717679 . + } # MARK: Auxiliary Verb(s) OPTIONAL { - ?lexeme wdt:P5401 ?auxiliaryVerbFrom ; - } . + ?lexeme wdt:P5401 ?auxiliaryVerbFrom . + } # MARK: Indicative Preterite OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPSForm . ?pretFPSForm ontolex:representation ?pretFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q442485 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPSForm . ?pretSPSForm ontolex:representation ?pretSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q442485 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPSForm . ?pretTPSForm ontolex:representation ?pretTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q442485 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPPForm . ?pretFPPForm ontolex:representation ?pretFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q442485 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPPForm . ?pretSPPForm ontolex:representation ?pretSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q442485 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPPForm . ?pretTPPForm ontolex:representation ?pretTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q442485 . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Greek/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Greek/nouns/query_nouns.sparql index daf293748..a72f3e743 100644 --- a/src/scribe_data/language_data_extraction/Greek/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Greek/nouns/query_nouns.sparql @@ -20,17 +20,17 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . + } # MARK: Gender(s) OPTIONAL { ?lexeme wdt:P5185 ?nounGender . FILTER NOT EXISTS { - ?lexeme wdt:P31 wd:Q202444 + ?lexeme wdt:P31 wd:Q202444 . } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Greek/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Greek/verbs/query_verbs.sparql index 881484cb8..0801646dd 100644 --- a/src/scribe_data/language_data_extraction/Greek/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Greek/verbs/query_verbs.sparql @@ -25,36 +25,36 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q192613 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q192613 . + } } diff --git a/src/scribe_data/language_data_extraction/Hausa/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Hausa/nouns/query_nouns.sparql index 84800a22e..269b79a45 100644 --- a/src/scribe_data/language_data_extraction/Hausa/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Hausa/nouns/query_nouns.sparql @@ -22,10 +22,10 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - FILTER(lang(?plural) = "ha") + wikibase:grammaticalFeature wd:Q146786 . + FILTER(lang(?plural) = "ha") . # FILTER(lang(?plural) = "ha-arabic") - } . + } # MARK: Gender(s) @@ -34,7 +34,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Hebrew/adjectives/query_adjectives.sparql b/src/scribe_data/language_data_extraction/Hebrew/adjectives/query_adjectives.sparql index 07de5f58e..267d9aa21 100644 --- a/src/scribe_data/language_data_extraction/Hebrew/adjectives/query_adjectives.sparql +++ b/src/scribe_data/language_data_extraction/Hebrew/adjectives/query_adjectives.sparql @@ -25,70 +25,70 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularForm . ?femSingularForm ontolex:representation ?femSingular ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q110786 ; - FILTER NOT EXISTS { - ?femSingularForm wikibase:grammaticalFeature wd:Q1641446 . - } - FILTER(lang(?femSingular) = "he") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786 . + FILTER NOT EXISTS { + ?femSingularForm wikibase:grammaticalFeature wd:Q1641446 . + } + FILTER(lang(?femSingular) = "he") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularConstructForm . ?femSingularConstructForm ontolex:representation ?femSingularConstruct ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1641446 ; - FILTER(lang(?femSingularConstruct) = "he") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1641446 . + FILTER(lang(?femSingularConstruct) = "he") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralForm . ?femPluralForm ontolex:representation ?femPlural ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q146786 ; - FILTER NOT EXISTS { - ?femPluralForm wikibase:grammaticalFeature wd:Q1641446 . - } - FILTER(lang(?femPlural) = "he") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786 . + FILTER NOT EXISTS { + ?femPluralForm wikibase:grammaticalFeature wd:Q1641446 . + } + FILTER(lang(?femPlural) = "he") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralConstructForm . ?femPluralConstructForm ontolex:representation ?femPluralConstruct ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1641446 ; - FILTER(lang(?femPluralConstruct) = "he") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1641446 . + FILTER(lang(?femPluralConstruct) = "he") . + } # MARK: Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularForm . ?masSingularForm ontolex:representation ?masSingular ; - wikibase:grammaticalFeature wd:Q499327, wd:Q110786 ; - FILTER NOT EXISTS { - ?masSingularForm wikibase:grammaticalFeature wd:Q1641446 . - } - FILTER(lang(?masSingular) = "he") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786 . + FILTER NOT EXISTS { + ?masSingularForm wikibase:grammaticalFeature wd:Q1641446 . + } + FILTER(lang(?masSingular) = "he") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularConstructForm . ?masSingularConstructForm ontolex:representation ?masSingularConstruct ; - wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1641446 ; - FILTER(lang(?masSingularConstruct) = "he") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1641446 . + FILTER(lang(?masSingularConstruct) = "he") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralForm . ?masPluralForm ontolex:representation ?masPlural ; - wikibase:grammaticalFeature wd:Q499327, wd:Q146786 ; - FILTER NOT EXISTS { - ?masPluralForm wikibase:grammaticalFeature wd:Q1641446 . - } - FILTER(lang(?masPlural) = "he") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786 . + FILTER NOT EXISTS { + ?masPluralForm wikibase:grammaticalFeature wd:Q1641446 . + } + FILTER(lang(?masPlural) = "he") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralConstructForm . ?masPluralConstructForm ontolex:representation ?masPluralConstruct ; - wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1641446 ; - FILTER(lang(?masPluralConstruct) = "he") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1641446 . + FILTER(lang(?masPluralConstruct) = "he") . + } } diff --git a/src/scribe_data/language_data_extraction/Hebrew/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Hebrew/nouns/query_nouns.sparql index 093cea32a..bf77d5114 100644 --- a/src/scribe_data/language_data_extraction/Hebrew/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Hebrew/nouns/query_nouns.sparql @@ -21,9 +21,9 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - FILTER(lang(?plural) = "he") - } . + wikibase:grammaticalFeature wd:Q146786 . + FILTER(lang(?plural) = "he") . + } # MARK: Gender(s) @@ -32,7 +32,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_1.sparql index abaf481b2..407ca5ec8 100644 --- a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_1.sparql @@ -19,31 +19,31 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presSFForm . ?presSFForm ontolex:representation ?presSF ; - wikibase:grammaticalFeature wd:Q110786, wd:Q192613, wd:Q1775415 ; - FILTER(lang(?presSF) = "he") - } . + wikibase:grammaticalFeature wd:Q110786, wd:Q192613, wd:Q1775415 . + FILTER(lang(?presSF) = "he") . + } # Singular Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?presSMForm . ?presSMForm ontolex:representation ?presSM ; - wikibase:grammaticalFeature wd:Q110786, wd:Q192613, wd:Q499327 ; - FILTER(lang(?presSM) = "he") - } . + wikibase:grammaticalFeature wd:Q110786, wd:Q192613, wd:Q499327 . + FILTER(lang(?presSM) = "he") . + } # Plural Feminine OPTIONAL { ?lexeme ontolex:lexicalForm ?presPFForm . ?presPFForm ontolex:representation ?presPF ; - wikibase:grammaticalFeature wd:Q146786, wd:Q192613, wd:Q1775415 ; - FILTER(lang(?presPF) = "he") - } . + wikibase:grammaticalFeature wd:Q146786, wd:Q192613, wd:Q1775415 . + FILTER(lang(?presPF) = "he") . + } # Plural Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?presPMForm . ?presPMForm ontolex:representation ?presPM ; - wikibase:grammaticalFeature wd:Q146786, wd:Q192613, wd:Q499327 ; - FILTER(lang(?presPM) = "he") - } . + wikibase:grammaticalFeature wd:Q146786, wd:Q192613, wd:Q499327 . + FILTER(lang(?presPM) = "he") . + } } diff --git a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_2.sparql index 1eb7b1c1b..cecbc75c3 100644 --- a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_2.sparql @@ -17,31 +17,31 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSMForm . ?impSPSMForm ontolex:representation ?impSPSM ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q22716, wd:Q1775415 ; - FILTER(lang(?impSPSM) = "he") - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q22716, wd:Q1775415 . + FILTER(lang(?impSPSM) = "he") . + } # TPS Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSMForm . ?impSPSMForm ontolex:representation ?impSPSM ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q22716, wd:Q1775415 ; - FILTER(lang(?impSPSM) = "he") - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q22716, wd:Q1775415 . + FILTER(lang(?impSPSM) = "he") . + } # TPP Feminine OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPFForm . ?impSPPFForm ontolex:representation ?impSPPF ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q22716, wd:Q1775415 ; - FILTER(lang(?impSPPF) = "he") - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q22716, wd:Q1775415 . + FILTER(lang(?impSPPF) = "he") . + } # TPP Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPMForm . ?impSPPMForm ontolex:representation ?impSPPM ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q22716, wd:Q499327 ; - FILTER(lang(?impSPPM) = "he") - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q22716, wd:Q499327 . + FILTER(lang(?impSPPM) = "he") . + } } diff --git a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_3.sparql b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_3.sparql index 240046505..cbb6ea8ca 100644 --- a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_3.sparql +++ b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_3.sparql @@ -18,88 +18,88 @@ WHERE { ?lexeme ontolex:lexicalForm ?pastTPPForm . ?pastTPPForm ontolex:representation ?pastTPP ; wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q110786, wd:Q1994301 ; - FILTER(lang(?pastTPP) = "he") - } . + wikibase:grammaticalFeature wd:Q110786, wd:Q1994301 . + FILTER(lang(?pastTPP) = "he") . + } # SPS Feminine OPTIONAL { ?lexeme ontolex:lexicalForm ?pastSPSFForm . ?pastSPSFForm ontolex:representation ?pastSPSF ; wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786, wd:Q1994301, wd:Q1775415 ; - FILTER(lang(?pastSPSF) = "he") - } . + wikibase:grammaticalFeature wd:Q110786, wd:Q1994301, wd:Q1775415 . + FILTER(lang(?pastSPSF) = "he") . + } # SPS Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?pastSPSMForm . ?pastSPSMForm ontolex:representation ?pastSPSM ; wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q110786, wd:Q1994301, wd:Q499327 ; - FILTER(lang(?pastSPSM) = "he") - } . + wikibase:grammaticalFeature wd:Q110786, wd:Q1994301, wd:Q499327 . + FILTER(lang(?pastSPSM) = "he") . + } # TPS Feminine OPTIONAL { ?lexeme ontolex:lexicalForm ?pastTPSFForm . ?pastTPSFForm ontolex:representation ?pastTPSF ; wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786, wd:Q1994301, wd:Q1775415 ; - FILTER(lang(?pastTPSF) = "he") - } . + wikibase:grammaticalFeature wd:Q110786, wd:Q1994301, wd:Q1775415 . + FILTER(lang(?pastTPSF) = "he") . + } # TPS Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?pastTPSMForm . ?pastTPSMForm ontolex:representation ?pastTPSM ; wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q110786, wd:Q1994301, wd:Q499327 ; - FILTER(lang(?pastTPSM) = "he") - } . + wikibase:grammaticalFeature wd:Q110786, wd:Q1994301, wd:Q499327 . + FILTER(lang(?pastTPSM) = "he") . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pastFPPForm . ?pastFPPForm ontolex:representation ?pastFPP ; wikibase:grammaticalFeature wd:Q21714344 ; - wikibase:grammaticalFeature wd:Q146786, wd:Q1994301 ; - FILTER(lang(?pastFPP) = "he") - } . + wikibase:grammaticalFeature wd:Q146786, wd:Q1994301 . + FILTER(lang(?pastFPP) = "he") . + } # SPP Feminine OPTIONAL { ?lexeme ontolex:lexicalForm ?pastSPPFForm . ?pastSPPFForm ontolex:representation ?pastSPPF ; wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786, wd:Q1994301, wd:Q1775415 ; - FILTER(lang(?pastSPPF) = "he") - } . + wikibase:grammaticalFeature wd:Q146786, wd:Q1994301, wd:Q1775415 . + FILTER(lang(?pastSPPF) = "he") . + } # SPP Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?pastSPPMForm . ?pastSPPMForm ontolex:representation ?pastSPPM ; wikibase:grammaticalFeature wd:Q51929049 ; - wikibase:grammaticalFeature wd:Q146786, wd:Q1994301, wd:Q499327 ; - FILTER(lang(?pastSPPM) = "he") - } . + wikibase:grammaticalFeature wd:Q146786, wd:Q1994301, wd:Q499327 . + FILTER(lang(?pastSPPM) = "he") . + } # TPP Feminine OPTIONAL { ?lexeme ontolex:lexicalForm ?pastTPPFForm . ?pastTPPFForm ontolex:representation ?pastTPPF ; wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786, wd:Q1994301, wd:Q1775415 ; - FILTER(lang(?pastTPPF) = "he") - } . + wikibase:grammaticalFeature wd:Q146786, wd:Q1994301, wd:Q1775415 . + FILTER(lang(?pastTPPF) = "he") . + } # TPP Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?pastTPPMForm . ?pastTPPMForm ontolex:representation ?pastTPPM ; wikibase:grammaticalFeature wd:Q51929074 ; - wikibase:grammaticalFeature wd:Q146786, wd:Q1994301, wd:Q499327 ; - FILTER(lang(?pastTPPM) = "he") - } . + wikibase:grammaticalFeature wd:Q146786, wd:Q1994301, wd:Q499327 . + FILTER(lang(?pastTPPM) = "he") . + } } diff --git a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_4.sparql b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_4.sparql index e8b305ff1..024c2f999 100644 --- a/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_4.sparql +++ b/src/scribe_data/language_data_extraction/Hebrew/verbs/query_verbs_4.sparql @@ -17,79 +17,79 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?futFPSForm . ?futFPSForm ontolex:representation ?futFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q501405 ; - FILTER(lang(?futFPS) = "he") - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q501405 . + FILTER(lang(?futFPS) = "he") . + } # SPS Feminine OPTIONAL { ?lexeme ontolex:lexicalForm ?futSPSFForm . ?futSPSFForm ontolex:representation ?futSPSF ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q501405, wd:Q1775415 ; - FILTER(lang(?futSPSF) = "he") - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q501405, wd:Q1775415 . + FILTER(lang(?futSPSF) = "he") . + } # SPS Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?futSPSMForm . ?futSPSMForm ontolex:representation ?futSPSM ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q501405, wd:Q499327 ; - FILTER(lang(?futSPSM) = "he") - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q501405, wd:Q499327 . + FILTER(lang(?futSPSM) = "he") . + } # TPS Feminine OPTIONAL { ?lexeme ontolex:lexicalForm ?futTPSFForm . ?futTPSFForm ontolex:representation ?futTPSF ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q501405, wd:Q1775415 ; - FILTER(lang(?futTPSF) = "he") - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q501405, wd:Q1775415 . + FILTER(lang(?futTPSF) = "he") . + } # TPS Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?futTPSMForm . ?futTPSMForm ontolex:representation ?futTPSM ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q501405, wd:Q499327 ; - FILTER(lang(?futTPSM) = "he") - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q501405, wd:Q499327 . + FILTER(lang(?futTPSM) = "he") . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?futFPPForm . ?futFPPForm ontolex:representation ?futFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q501405 ; - FILTER(lang(?futFPP) = "he") - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q501405 . + FILTER(lang(?futFPP) = "he") . + } # SPP Feminine OPTIONAL { ?lexeme ontolex:lexicalForm ?futSPPFForm . ?futSPPFForm ontolex:representation ?futSPPF ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q501405, wd:Q1775415 ; - FILTER(lang(?futSPPF) = "he") - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q501405, wd:Q1775415 . + FILTER(lang(?futSPPF) = "he") . + } # SPP Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?futSPPMForm . ?futSPPMForm ontolex:representation ?futSPPM ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q501405, wd:Q499327 ; - FILTER(lang(?futSPPM) = "he") - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q501405, wd:Q499327 . + FILTER(lang(?futSPPM) = "he") . + } # TPP Feminine OPTIONAL { ?lexeme ontolex:lexicalForm ?futTPPFForm . ?futTPPFForm ontolex:representation ?futTPPF ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q501405, wd:Q1775415 ; - FILTER(lang(?futTPPF) = "he") - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q501405, wd:Q1775415 . + FILTER(lang(?futTPPF) = "he") . + } # TPP Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?futTPPMForm . ?futTPPMForm ontolex:representation ?futTPPM ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q501405, wd:Q499327 ; - FILTER(lang(?futTPPM) = "he") - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q501405, wd:Q499327 . + FILTER(lang(?futTPPM) = "he") . + } } diff --git a/src/scribe_data/language_data_extraction/Hindustani/Hindi/adjectives/query_adjectives.sparql b/src/scribe_data/language_data_extraction/Hindustani/Hindi/adjectives/query_adjectives.sparql index e0ba2880f..ce04a4ea2 100644 --- a/src/scribe_data/language_data_extraction/Hindustani/Hindi/adjectives/query_adjectives.sparql +++ b/src/scribe_data/language_data_extraction/Hindustani/Hindi/adjectives/query_adjectives.sparql @@ -34,7 +34,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?singulativeNumeralForm . ?singulativeNumeralForm ontolex:representation ?singulativeNumeral ; wikibase:grammaticalFeature wd:Q110786 . - FILTER(LANG(?singulativeNumeral) = "hi") + FILTER(LANG(?singulativeNumeral) = "hi") . } # MARK: Collective Numeral @@ -43,7 +43,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?collectiveNumeralForm . ?collectiveNumeralForm ontolex:representation ?collectiveNumeral ; wikibase:grammaticalFeature wd:Q146786 . - FILTER(LANG(?collectiveNumeral) = "hi") + FILTER(LANG(?collectiveNumeral) = "hi") . } # MARK: Direct @@ -51,88 +51,88 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularDirectForm . ?femSingularDirectForm ontolex:representation ?femSingularDirect ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1751855 ; - FILTER(LANG(?femSingularDirect) = "hi") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1751855 . + FILTER(LANG(?femSingularDirect) = "hi") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularDirectForm . ?masSingularDirectForm ontolex:representation ?masSingularDirect ; - wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1751855 ; - FILTER(LANG(?masSingularDirect) = "hi") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1751855 . + FILTER(LANG(?masSingularDirect) = "hi") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralDirectForm . ?femPluralDirectForm ontolex:representation ?femPluralDirect ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1751855 ; - FILTER(LANG(?femPluralDirect) = "hi") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1751855 . + FILTER(LANG(?femPluralDirect) = "hi") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralDirectForm . ?masPluralDirectForm ontolex:representation ?masPluralDirect ; - wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1751855 ; - FILTER(LANG(?masPluralDirect) = "hi") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1751855 . + FILTER(LANG(?masPluralDirect) = "hi") . + } # MARK: Oblique OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularObliqueForm . ?femSingularObliqueForm ontolex:representation ?femSingularOblique ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1233197 ; - FILTER(LANG(?femSingularOblique) = "hi") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1233197 . + FILTER(LANG(?femSingularOblique) = "hi") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularObliqueForm . ?masSingularObliqueForm ontolex:representation ?masSingularOblique ; - wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1233197 ; - FILTER(LANG(?masSingularOblique) = "hi") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1233197 . + FILTER(LANG(?masSingularOblique) = "hi") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralObliqueForm . ?femPluralObliqueForm ontolex:representation ?femPluralOblique ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1233197 ; - FILTER(LANG(?femPluralOblique) = "hi") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1233197 . + FILTER(LANG(?femPluralOblique) = "hi") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralObliqueForm . ?masPluralObliqueForm ontolex:representation ?masPluralOblique ; - wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1233197 ; - FILTER(LANG(?masPluralOblique) = "hi") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1233197 . + FILTER(LANG(?masPluralOblique) = "hi") . + } # MARK: Vocative OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularVocativeForm . ?femSingularVocativeForm ontolex:representation ?femSingularVocative ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q185077 ; - FILTER(LANG(?femSingularVocative) = "hi") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q185077 . + FILTER(LANG(?femSingularVocative) = "hi") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularVocativeForm . ?masSingularVocativeForm ontolex:representation ?masSingularVocative ; - wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q185077 ; - FILTER(LANG(?masSingularVocative) = "hi") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q185077 . + FILTER(LANG(?masSingularVocative) = "hi") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralVocativeForm . ?femPluralVocativeForm ontolex:representation ?femPluralVocative ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q185077 ; - FILTER(LANG(?femPluralVocative) = "hi") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q185077 . + FILTER(LANG(?femPluralVocative) = "hi") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralVocativeForm . ?masPluralVocativeForm ontolex:representation ?masPluralVocative ; - wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q185077 ; - FILTER(LANG(?masPluralVocative) = "hi") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q185077 . + FILTER(LANG(?masPluralVocative) = "hi") . + } } diff --git a/src/scribe_data/language_data_extraction/Hindustani/Hindi/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Hindustani/Hindi/nouns/query_nouns.sparql index 5d315392b..ce48d5224 100644 --- a/src/scribe_data/language_data_extraction/Hindustani/Hindi/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Hindustani/Hindi/nouns/query_nouns.sparql @@ -23,9 +23,9 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - FILTER(lang(?plural) = "hi") - } . + wikibase:grammaticalFeature wd:Q146786 . + FILTER(lang(?plural) = "hi") . + } # MARK: Gender(s) @@ -34,7 +34,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Hindustani/Hindi/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Hindustani/Hindi/verbs/query_verbs.sparql index 1a9b4f58c..a2c9f5d7b 100644 --- a/src/scribe_data/language_data_extraction/Hindustani/Hindi/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Hindustani/Hindi/verbs/query_verbs.sparql @@ -33,7 +33,7 @@ WHERE { ?directCaseForm ontolex:representation ?directCase ; wikibase:grammaticalFeature wd:Q1751855 . FILTER(LANG(?directCase) = "hi") . - } . + } # MARK: Gerund @@ -42,7 +42,7 @@ WHERE { ?gerundForm ontolex:representation ?gerund ; wikibase:grammaticalFeature wd:Q1923028 . FILTER(LANG(?gerund) = "hi") . - } . + } # MARK: Intransitive Phase @@ -51,7 +51,7 @@ WHERE { ?intransitivePhaseForm ontolex:representation ?intransitivePhase ; wikibase:grammaticalFeature wd:Q113330736 . FILTER(LANG(?intransitivePhase) = "hi") . - } . + } # MARK: Basic Phase @@ -60,7 +60,7 @@ WHERE { ?basicPhaseForm ontolex:representation ?basicPhase ; wikibase:grammaticalFeature wd:Q113330960 . FILTER(LANG(?basicPhase) = "hi") . - } . + } # MARK: Conjunctive Participle @@ -69,7 +69,7 @@ WHERE { ?conjParticipleForm ontolex:representation ?conjParticiple ; wikibase:grammaticalFeature wd:Q113133303 . FILTER(LANG(?conjParticiple) = "hi") . - } . + } # MARK: Adverbial @@ -78,7 +78,7 @@ WHERE { ?adverbialForm ontolex:representation ?adverbial ; wikibase:grammaticalFeature wd:Q380012 . FILTER(LANG(?adverbial) = "hi") . - } . + } # MARK: Absolute Construction @@ -87,7 +87,7 @@ WHERE { ?absConstructionForm ontolex:representation ?absConstruction ; wikibase:grammaticalFeature wd:Q4669807 . FILTER(LANG(?absConstruction) = "hi") . - } . + } # MARK: Accusative @@ -96,7 +96,7 @@ WHERE { ?accusativeForm ontolex:representation ?accusative ; wikibase:grammaticalFeature wd:Q1233197 . FILTER(LANG(?accusative) = "hi") . - } . + } # MARK: Ergative @@ -105,5 +105,5 @@ WHERE { ?ergativeForm ontolex:representation ?ergative ; wikibase:grammaticalFeature wd:Q1233197 . FILTER(LANG(?ergative) = "hi") . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Hindustani/Urdu/adjectives/query_adjectives.sparql b/src/scribe_data/language_data_extraction/Hindustani/Urdu/adjectives/query_adjectives.sparql index 36bf5a27b..9a92e3de6 100644 --- a/src/scribe_data/language_data_extraction/Hindustani/Urdu/adjectives/query_adjectives.sparql +++ b/src/scribe_data/language_data_extraction/Hindustani/Urdu/adjectives/query_adjectives.sparql @@ -34,7 +34,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?singulativeNumeralForm . ?singulativeNumeralForm ontolex:representation ?singulativeNumeral ; wikibase:grammaticalFeature wd:Q110786 . - FILTER(LANG(?singulativeNumeral) = "ur") + FILTER(LANG(?singulativeNumeral) = "ur") . } # MARK: Collective Numeral @@ -43,7 +43,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?collectiveNumeralForm . ?collectiveNumeralForm ontolex:representation ?collectiveNumeral ; wikibase:grammaticalFeature wd:Q146786 . - FILTER(LANG(?collectiveNumeral) = "ur") + FILTER(LANG(?collectiveNumeral) = "ur") . } # MARK: Direct @@ -51,88 +51,88 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularDirectForm . ?femSingularDirectForm ontolex:representation ?femSingularDirect ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1751855 ; - FILTER(LANG(?femSingularDirect) = "ur") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1751855 . + FILTER(LANG(?femSingularDirect) = "ur") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularDirectForm . ?masSingularDirectForm ontolex:representation ?masSingularDirect ; - wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1751855 ; - FILTER(LANG(?masSingularDirect) = "ur") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1751855 . + FILTER(LANG(?masSingularDirect) = "ur") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralDirectForm . ?femPluralDirectForm ontolex:representation ?femPluralDirect ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1751855 ; - FILTER(LANG(?femPluralDirect) = "ur") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1751855 . + FILTER(LANG(?femPluralDirect) = "ur") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralDirectForm . ?masPluralDirectForm ontolex:representation ?masPluralDirect ; - wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1751855 ; - FILTER(LANG(?masPluralDirect) = "ur") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1751855 . + FILTER(LANG(?masPluralDirect) = "ur") . + } # MARK: Oblique OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularObliqueForm . ?femSingularObliqueForm ontolex:representation ?femSingularOblique ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1233197 ; - FILTER(LANG(?femSingularOblique) = "ur") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q1233197 . + FILTER(LANG(?femSingularOblique) = "ur") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularObliqueForm . ?masSingularObliqueForm ontolex:representation ?masSingularOblique ; - wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1233197 ; - FILTER(LANG(?masSingularOblique) = "ur") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q1233197 . + FILTER(LANG(?masSingularOblique) = "ur") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralObliqueForm . ?femPluralObliqueForm ontolex:representation ?femPluralOblique ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1233197 ; - FILTER(LANG(?femPluralOblique) = "ur") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q1233197 . + FILTER(LANG(?femPluralOblique) = "ur") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralObliqueForm . ?masPluralObliqueForm ontolex:representation ?masPluralOblique ; - wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1233197 ; - FILTER(LANG(?masPluralOblique) = "ur") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q1233197 . + FILTER(LANG(?masPluralOblique) = "ur") . + } # MARK: Vocative OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularVocativeForm . ?femSingularVocativeForm ontolex:representation ?femSingularVocative ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q185077 ; - FILTER(LANG(?femSingularVocative) = "ur") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786, wd:Q185077 . + FILTER(LANG(?femSingularVocative) = "ur") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularVocativeForm . ?masSingularVocativeForm ontolex:representation ?masSingularVocative ; - wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q185077 ; - FILTER(LANG(?masSingularVocative) = "ur") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786, wd:Q185077 . + FILTER(LANG(?masSingularVocative) = "ur") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralVocativeForm . ?femPluralVocativeForm ontolex:representation ?femPluralVocative ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q185077 ; - FILTER(LANG(?femPluralVocative) = "ur") - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786, wd:Q185077 . + FILTER(LANG(?femPluralVocative) = "ur") . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralVocativeForm . ?masPluralVocativeForm ontolex:representation ?masPluralVocative ; - wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q185077 ; - FILTER(LANG(?masPluralVocative) = "ur") - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786, wd:Q185077 . + FILTER(LANG(?masPluralVocative) = "ur") . + } } diff --git a/src/scribe_data/language_data_extraction/Hindustani/Urdu/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Hindustani/Urdu/nouns/query_nouns.sparql index 66efb97c6..43a99c1c7 100644 --- a/src/scribe_data/language_data_extraction/Hindustani/Urdu/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Hindustani/Urdu/nouns/query_nouns.sparql @@ -23,9 +23,9 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - FILTER(lang(?plural) = "ur") - } . + wikibase:grammaticalFeature wd:Q146786 . + FILTER(lang(?plural) = "ur") . + } # MARK: Gender(s) @@ -34,7 +34,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Hindustani/Urdu/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Hindustani/Urdu/verbs/query_verbs.sparql index e6df3771c..233b1b3a4 100644 --- a/src/scribe_data/language_data_extraction/Hindustani/Urdu/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Hindustani/Urdu/verbs/query_verbs.sparql @@ -27,7 +27,7 @@ WHERE { ?directCaseForm ontolex:representation ?directCase ; wikibase:grammaticalFeature wd:Q1751855 . FILTER(LANG(?directCase) = "ur") . - } . + } # MARK: Gerund @@ -36,7 +36,7 @@ WHERE { ?gerundForm ontolex:representation ?gerund ; wikibase:grammaticalFeature wd:Q1923028 . FILTER(LANG(?gerund) = "ur") . - } . + } # MARK: Intransitive Phase @@ -45,7 +45,7 @@ WHERE { ?intransitivePhaseForm ontolex:representation ?intransitivePhase ; wikibase:grammaticalFeature wd:Q113330736 . FILTER(LANG(?intransitivePhase) = "ur") . - } . + } # MARK: Basic Phase @@ -54,5 +54,5 @@ WHERE { ?basicPhaseForm ontolex:representation ?basicPhase ; wikibase:grammaticalFeature wd:Q113330960 . FILTER(LANG(?basicPhase) = "ur") . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Italian/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Italian/nouns/query_nouns.sparql index fbbd08aaa..c2d2c76cd 100644 --- a/src/scribe_data/language_data_extraction/Italian/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Italian/nouns/query_nouns.sparql @@ -19,8 +19,8 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q146786 . + } # MARK: Gender(s) @@ -29,7 +29,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_1.sparql index 6f220dde8..f0216046e 100644 --- a/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_1.sparql @@ -21,43 +21,43 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q56682909, wd:Q51929218 ; - } . + wikibase:grammaticalFeature wd:Q56682909, wd:Q51929218 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q56682909, wd:Q51929369 ; - } . + wikibase:grammaticalFeature wd:Q56682909, wd:Q51929369 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q56682909, wd:Q51929447 ; - } . + wikibase:grammaticalFeature wd:Q56682909, wd:Q51929447 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q56682909, wd:Q51929290 ; - } . + wikibase:grammaticalFeature wd:Q56682909, wd:Q51929290 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q56682909, wd:Q51929403 ; - } . + wikibase:grammaticalFeature wd:Q56682909, wd:Q51929403 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q56682909, wd:Q51929517 ; - } . + wikibase:grammaticalFeature wd:Q56682909, wd:Q51929517 . + } # MARK: Preterite @@ -65,41 +65,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPSForm . ?pretFPSForm ontolex:representation ?pretFPS ; - wikibase:grammaticalFeature wd:Q442485, wd:Q51929218 ; - } . + wikibase:grammaticalFeature wd:Q442485, wd:Q51929218 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPSForm . ?pretSPSForm ontolex:representation ?pretSPS ; - wikibase:grammaticalFeature wd:Q442485, wd:Q51929369 ; - } . + wikibase:grammaticalFeature wd:Q442485, wd:Q51929369 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPSForm . ?pretTPSForm ontolex:representation ?pretTPS ; - wikibase:grammaticalFeature wd:Q442485, wd:Q51929447 ; - } . + wikibase:grammaticalFeature wd:Q442485, wd:Q51929447 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPPForm . ?pretFPPForm ontolex:representation ?pretFPP ; - wikibase:grammaticalFeature wd:Q442485, wd:Q51929290 ; - } . + wikibase:grammaticalFeature wd:Q442485, wd:Q51929290 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPPForm . ?pretSPPForm ontolex:representation ?pretSPP ; - wikibase:grammaticalFeature wd:Q442485, wd:Q51929403 ; - } . + wikibase:grammaticalFeature wd:Q442485, wd:Q51929403 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPPForm . ?pretTPPForm ontolex:representation ?pretTPP ; - wikibase:grammaticalFeature wd:Q442485, wd:Q51929517 ; - } . + wikibase:grammaticalFeature wd:Q442485, wd:Q51929517 . + } } diff --git a/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_2.sparql index ba306e219..57b9f7d22 100644 --- a/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/Italian/verbs/query_verbs_2.sparql @@ -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:Q51929218 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSForm . ?impSPSForm ontolex:representation ?impSPS ; - wikibase:grammaticalFeature wd:Q12547192, wd:Q51929369 ; - } . + wikibase:grammaticalFeature wd:Q12547192, wd:Q51929369 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPSForm . ?impTPSForm ontolex:representation ?impTPS ; - wikibase:grammaticalFeature wd:Q12547192, wd:Q51929447 ; - } . + wikibase:grammaticalFeature wd:Q12547192, wd:Q51929447 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPPForm . ?impFPPForm ontolex:representation ?impFPP ; - wikibase:grammaticalFeature wd:Q12547192, wd:Q51929290 ; - } . + wikibase:grammaticalFeature wd:Q12547192, wd:Q51929290 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPForm . ?impSPPForm ontolex:representation ?impSPP ; - wikibase:grammaticalFeature wd:Q12547192, wd:Q51929403 ; - } . + wikibase:grammaticalFeature wd:Q12547192, wd:Q51929403 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPPForm . ?impTPPForm ontolex:representation ?impTPP ; - wikibase:grammaticalFeature wd:Q12547192, wd:Q51929517 ; - } . + wikibase:grammaticalFeature wd:Q12547192, wd:Q51929517 . + } } diff --git a/src/scribe_data/language_data_extraction/Japanese/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Japanese/verbs/query_verbs.sparql index 3c371603d..dac1fb300 100644 --- a/src/scribe_data/language_data_extraction/Japanese/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Japanese/verbs/query_verbs.sparql @@ -22,7 +22,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?negativeForm . ?negativeForm ontolex:representation ?negative ; - wikibase:grammaticalFeature wd:Q15737187 ; + wikibase:grammaticalFeature wd:Q15737187 . FILTER(LANG(?negative) = "ja-hira") . } @@ -31,7 +31,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?conjunctiveForm . ?conjunctiveForm ontolex:representation ?conjunctive ; - wikibase:grammaticalFeature wd:Q2888577 ; + wikibase:grammaticalFeature wd:Q2888577 . FILTER(LANG(?conjunctive) = "ja-hira") . } @@ -40,7 +40,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?imperfectiveForm . ?imperfectiveForm ontolex:representation ?imperfective ; - wikibase:grammaticalFeature wd:Q2898727 ; + wikibase:grammaticalFeature wd:Q2898727 . FILTER(LANG(?imperfective) = "ja-hira") . } @@ -49,7 +49,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?atrributiveForm . ?atrributiveForm ontolex:representation ?atrributive ; - wikibase:grammaticalFeature wd:Q53608953 ; + wikibase:grammaticalFeature wd:Q53608953 . FILTER(LANG(?atrributive) = "ja-hira") . } @@ -58,7 +58,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?hypotheticalForm . ?hypotheticalForm ontolex:representation ?hypothetical ; - wikibase:grammaticalFeature wd:Q53609593 ; + wikibase:grammaticalFeature wd:Q53609593 . FILTER(LANG(?hypothetical) = "ja-hira") . } } diff --git a/src/scribe_data/language_data_extraction/Kurmanji/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Kurmanji/nouns/query_nouns.sparql index a6839c2e0..32cbf5d9b 100644 --- a/src/scribe_data/language_data_extraction/Kurmanji/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Kurmanji/nouns/query_nouns.sparql @@ -21,7 +21,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_1.sparql b/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_1.sparql index cea9b3708..ff33653a1 100644 --- a/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_1.sparql +++ b/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_1.sparql @@ -19,11 +19,11 @@ WHERE { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; wikibase:grammaticalFeature wd:Q131105, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_2.sparql b/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_2.sparql index a1bbd8b93..8985c32c2 100644 --- a/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_2.sparql +++ b/src/scribe_data/language_data_extraction/Latin/adjectives/query_adjectives_2.sparql @@ -19,11 +19,11 @@ WHERE { ?lexeme ontolex:lexicalForm ?genSingularForm . ?genSingularForm ontolex:representation ?genSingular ; wikibase:grammaticalFeature wd:Q146233, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?genPluralForm . ?genPluralForm ontolex:representation ?genPlural ; wikibase:grammaticalFeature wd:Q146233, wd:Q146786 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_1.sparql b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_1.sparql index b0af32bc4..a9d2831a0 100644 --- a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_1.sparql +++ b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_1.sparql @@ -19,11 +19,11 @@ WHERE { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; wikibase:grammaticalFeature wd:Q131105, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_2.sparql b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_2.sparql index af44cc07e..144ba6c50 100644 --- a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_2.sparql +++ b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_2.sparql @@ -19,11 +19,11 @@ WHERE { ?lexeme ontolex:lexicalForm ?genSingularForm . ?genSingularForm ontolex:representation ?genSingular ; wikibase:grammaticalFeature wd:Q146233, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?genPluralForm . ?genPluralForm ontolex:representation ?genPlural ; wikibase:grammaticalFeature wd:Q146233, wd:Q146786 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_3.sparql b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_3.sparql index 0a8c01956..a8fb05389 100644 --- a/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_3.sparql +++ b/src/scribe_data/language_data_extraction/Latin/nouns/query_nouns_3.sparql @@ -19,11 +19,11 @@ WHERE { ?lexeme ontolex:lexicalForm ?ablSingularForm . ?ablSingularForm ontolex:representation ?ablSingular ; wikibase:grammaticalFeature wd:Q156986, wd:Q110786 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?ablPluralForm . ?ablPluralForm ontolex:representation ?ablPlural ; wikibase:grammaticalFeature wd:Q156986, wd:Q146786 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Malayalam/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Malayalam/nouns/query_nouns.sparql index d1402399b..e6fe3f074 100644 --- a/src/scribe_data/language_data_extraction/Malayalam/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Malayalam/nouns/query_nouns.sparql @@ -21,7 +21,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Malayalam/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Malayalam/verbs/query_verbs.sparql index 0db34c67c..463edd16d 100644 --- a/src/scribe_data/language_data_extraction/Malayalam/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Malayalam/verbs/query_verbs.sparql @@ -20,34 +20,34 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presentInfForm . ?presentInfForm ontolex:representation ?presentInfinitive ; - wikibase:grammaticalFeature wd:Q52434245 ; + wikibase:grammaticalFeature wd:Q52434245 . FILTER(LANG(?presentInfinitive) = "ml") . - } . + } # MARK: Simple Present OPTIONAL { ?lexeme ontolex:lexicalForm ?simplePresentForm . ?simplePresentForm ontolex:representation ?simplePresent ; - wikibase:grammaticalFeature wd:Q3910936 ; + wikibase:grammaticalFeature wd:Q3910936 . FILTER(LANG(?simplePresent) = "ml") . - } . + } # MARK: Simple Past OPTIONAL { ?lexeme ontolex:lexicalForm ?simplePastForm . ?simplePastForm ontolex:representation ?simplePast ; - wikibase:grammaticalFeature wd:Q1392475 ; + wikibase:grammaticalFeature wd:Q1392475 . FILTER(LANG(?simplePast) = "ml") . - } . + } # MARK: Simple Future OPTIONAL { ?lexeme ontolex:lexicalForm ?simpleFutureForm . ?simpleFutureForm ontolex:representation ?simpleFuture ; - wikibase:grammaticalFeature wd:Q1475560 ; + wikibase:grammaticalFeature wd:Q1475560 . FILTER(LANG(?simpleFuture) = "ml") . - } . + } } diff --git "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/nouns/query_nouns.sparql" "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/nouns/query_nouns.sparql" index bb7711224..875c15452 100644 --- "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/nouns/query_nouns.sparql" +++ "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/nouns/query_nouns.sparql" @@ -24,24 +24,24 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?defSingularForm . ?defSingularForm ontolex:representation ?defSingular ; - wikibase:grammaticalFeature wd:Q110786, wd:Q53997851 ; - } . + wikibase:grammaticalFeature wd:Q110786, wd:Q53997851 . + } # MARK: Indefinite Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?indefPluralForm . ?indefPluralForm ontolex:representation ?indefPlural ; - wikibase:grammaticalFeature wd:Q146786, wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q146786, wd:Q53997857 . + } # MARK: Definite Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?defPluralForm . ?defPluralForm ontolex:representation ?defPlural ; - wikibase:grammaticalFeature wd:Q146786, wd:Q53997851 ; - } . + wikibase:grammaticalFeature wd:Q146786, wd:Q53997851 . + } # MARK: Gender(s) @@ -50,7 +50,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/nouns/query_nouns.sparql index 84ff8e01f..8cf0dcc8f 100644 --- a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/nouns/query_nouns.sparql @@ -24,24 +24,24 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?defSingularForm . ?defSingularForm ontolex:representation ?defSingular ; - wikibase:grammaticalFeature wd:Q110786, wd:Q53997851 ; - } . + wikibase:grammaticalFeature wd:Q110786, wd:Q53997851 . + } # MARK: Indefinite Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?indefPluralForm . ?indefPluralForm ontolex:representation ?indefPlural ; - wikibase:grammaticalFeature wd:Q146786, wd:Q53997857 ; - } . + wikibase:grammaticalFeature wd:Q146786, wd:Q53997857 . + } # MARK: Definite Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?defPluralForm . ?defPluralForm ontolex:representation ?defPlural ; - wikibase:grammaticalFeature wd:Q146786, wd:Q53997851 ; - } . + wikibase:grammaticalFeature wd:Q146786, wd:Q53997851 . + } # MARK: Gender(s) @@ -50,7 +50,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Pidgin/Nigerian/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Pidgin/Nigerian/nouns/query_nouns.sparql index a22b1e059..b5dc39d0a 100644 --- a/src/scribe_data/language_data_extraction/Pidgin/Nigerian/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Pidgin/Nigerian/nouns/query_nouns.sparql @@ -20,8 +20,8 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q146786 . + } # MARK: Gender(s) @@ -30,7 +30,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Polish/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Polish/nouns/query_nouns.sparql index 3af24210b..282421b34 100644 --- a/src/scribe_data/language_data_extraction/Polish/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Polish/nouns/query_nouns.sparql @@ -19,16 +19,16 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; - wikibase:grammaticalFeature wd:Q131105, wd:Q110786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q110786 . + } # MARK: Nominative Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . + } # MARK: Gender(s) @@ -37,7 +37,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Portuguese/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Portuguese/nouns/query_nouns.sparql index 705ae0cb0..0aba7b265 100644 --- a/src/scribe_data/language_data_extraction/Portuguese/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Portuguese/nouns/query_nouns.sparql @@ -20,8 +20,8 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q146786 . + } # MARK: Gender(s) @@ -30,7 +30,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Portuguese/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Portuguese/verbs/query_verbs.sparql index ba45e4ff8..287ef0234 100644 --- a/src/scribe_data/language_data_extraction/Portuguese/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Portuguese/verbs/query_verbs.sparql @@ -34,43 +34,43 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 . + } # MARK: Past Perfect @@ -78,43 +78,43 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?perfFPSForm . ?perfFPSForm ontolex:representation ?perfFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q64005357 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q64005357 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?perfSPSForm . ?perfSPSForm ontolex:representation ?perfSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q64005357 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q64005357 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?perfTPSForm . ?perfTPSForm ontolex:representation ?perfTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q64005357 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q64005357 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?perfFPPForm . ?perfFPPForm ontolex:representation ?perfFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q64005357 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q64005357 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?perfSPPForm . ?perfSPPForm ontolex:representation ?perfSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q64005357 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q64005357 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?perfTPPForm . ?perfTPPForm ontolex:representation ?perfTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q64005357 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q64005357 . + } # MARK: Past Imperfect @@ -122,43 +122,43 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPSForm . ?impFPSForm ontolex:representation ?impFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q12547192 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q12547192 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSForm . ?impSPSForm ontolex:representation ?impSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q12547192 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q12547192 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPSForm . ?impTPSForm ontolex:representation ?impTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q12547192 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q12547192 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPPForm . ?impFPPForm ontolex:representation ?impFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q12547192 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q12547192 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPForm . ?impSPPForm ontolex:representation ?impSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q12547192 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q12547192 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPPForm . ?impTPPForm ontolex:representation ?impTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q12547192 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q12547192 . + } # MARK: Future Simple @@ -166,41 +166,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?fSimpFPSForm . ?fSimpFPSForm ontolex:representation ?fSimpFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q623742, wd:Q682111 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q623742, wd:Q682111 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?fSimpSPSForm . ?fSimpSPSForm ontolex:representation ?fSimpSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q623742, wd:Q682111 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q623742, wd:Q682111 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?fSimpTPSForm . ?fSimpTPSForm ontolex:representation ?fSimpTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q623742, wd:Q682111 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q623742, wd:Q682111 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?fSimpFPPForm . ?fSimpFPPForm ontolex:representation ?fSimpFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q623742, wd:Q682111 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q623742, wd:Q682111 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?fSimpSPPForm . ?fSimpSPPForm ontolex:representation ?fSimpSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q623742, wd:Q682111 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q623742, wd:Q682111 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?fSimpTPPForm . ?fSimpTPPForm ontolex:representation ?fSimpTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q623742, wd:Q682111 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q623742, wd:Q682111 . + } } diff --git a/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/nouns/query_nouns.sparql index 3fa164731..4d29080ea 100644 --- a/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/nouns/query_nouns.sparql @@ -23,9 +23,9 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - FILTER(lang(?plural) = "pa") - } . + wikibase:grammaticalFeature wd:Q146786 . + FILTER(lang(?plural) = "pa") . + } # MARK: Gender(s) @@ -34,7 +34,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/nouns/query_nouns.sparql index a930fb16f..3d089c415 100644 --- a/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/nouns/query_nouns.sparql @@ -24,9 +24,9 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - FILTER(lang(?plural) = "pnb") - } . + wikibase:grammaticalFeature wd:Q146786 . + FILTER(lang(?plural) = "pnb") . + } # MARK: Gender(s) @@ -35,7 +35,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Russian/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Russian/nouns/query_nouns.sparql index e2c6b7b98..27b326516 100644 --- a/src/scribe_data/language_data_extraction/Russian/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Russian/nouns/query_nouns.sparql @@ -19,16 +19,16 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; - wikibase:grammaticalFeature wd:Q131105, wd:Q110786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q110786 . + } # MARK: Nominative Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . + } # MARK: Gender(s) @@ -37,7 +37,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Russian/prepositions/query_prepositions.sparql b/src/scribe_data/language_data_extraction/Russian/prepositions/query_prepositions.sparql index f9fcf1124..a0d13dd48 100644 --- a/src/scribe_data/language_data_extraction/Russian/prepositions/query_prepositions.sparql +++ b/src/scribe_data/language_data_extraction/Russian/prepositions/query_prepositions.sparql @@ -16,7 +16,7 @@ WHERE { OPTIONAL { ?lexeme wdt:P5713 ?caseForm . - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Russian/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Russian/verbs/query_verbs.sparql index 7ba7450f8..023abc66a 100644 --- a/src/scribe_data/language_data_extraction/Russian/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Russian/verbs/query_verbs.sparql @@ -25,73 +25,73 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 . + } # MARK: Past Feminine OPTIONAL { ?lexeme ontolex:lexicalForm ?pastFeminineForm . ?pastFeminineForm ontolex:representation ?pastFeminine ; - wikibase:grammaticalFeature wd:Q682111, wd:Q1994301, wd:Q1775415 ; - } . + wikibase:grammaticalFeature wd:Q682111, wd:Q1994301, wd:Q1775415 . + } # MARK: Past Masculine OPTIONAL { ?lexeme ontolex:lexicalForm ?pastMasculineForm . ?pastMasculineForm ontolex:representation ?pastMasculine ; - wikibase:grammaticalFeature wd:Q682111, wd:Q1994301, wd:Q499327 ; - } . + wikibase:grammaticalFeature wd:Q682111, wd:Q1994301, wd:Q499327 . + } # MARK: Past Neutral OPTIONAL { ?lexeme ontolex:lexicalForm ?pastNeutralForm . ?pastNeutralForm ontolex:representation ?pastNeutral ; - wikibase:grammaticalFeature wd:Q682111, wd:Q1994301, wd:Q1775461 ; - } . + wikibase:grammaticalFeature wd:Q682111, wd:Q1994301, wd:Q1775461 . + } # MARK: Past Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?pastPluralForm . ?pastPluralForm ontolex:representation ?pastPlural ; - wikibase:grammaticalFeature wd:Q146786, wd:Q682111, wd:Q1994301 ; - } . + wikibase:grammaticalFeature wd:Q146786, wd:Q682111, wd:Q1994301 . + } } diff --git a/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_1.sparql b/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_1.sparql index a2b92dbae..3fd3be087 100644 --- a/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_1.sparql +++ b/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_1.sparql @@ -22,29 +22,29 @@ WHERE { ?lexeme ontolex:lexicalForm ?feminineNominativeSingularForm . ?feminineNominativeSingularForm ontolex:representation ?feminineNominativeSingular ; wikibase:grammaticalFeature wd:Q1775415, wd:Q131105, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masculineNominativeSingularForm . ?masculineNominativeSingularForm ontolex:representation ?masculineNominativeSingular ; wikibase:grammaticalFeature wd:Q499327, wd:Q131105, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?neuterNominativeSingularForm . ?neuterNominativeSingularForm ontolex:representation ?neuterNominativeSingular ; wikibase:grammaticalFeature wd:Q1775461, wd:Q131105, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masculinePersonalNominativePluralForm . ?masculinePersonalNominativePluralForm ontolex:representation ?masculinePersonalNominativePlural ; wikibase:grammaticalFeature wd:Q27918551, wd:Q131105, wd:Q146786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?notMasculinePersonalNominativePluralForm . ?notMasculinePersonalNominativePluralForm ontolex:representation ?notMasculinePersonalNominativePlural ; wikibase:grammaticalFeature wd:Q54152717, wd:Q131105, wd:Q146786, wd:Q3482678 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_2.sparql b/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_2.sparql index 39d294eab..ad02e2b92 100644 --- a/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_2.sparql +++ b/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_2.sparql @@ -21,23 +21,23 @@ WHERE { ?lexeme ontolex:lexicalForm ?feminineGenitiveSingularForm . ?feminineGenitiveSingularForm ontolex:representation ?feminineGenitiveSingular ; wikibase:grammaticalFeature wd:Q1775415, wd:Q146233, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masculineGenitiveSingularForm . ?masculineGenitiveSingularForm ontolex:representation ?masculineGenitiveSingular ; wikibase:grammaticalFeature wd:Q499327, wd:Q146233, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?neuterGenitiveSingularForm . ?neuterGenitiveSingularForm ontolex:representation ?neuterGenitiveSingular ; wikibase:grammaticalFeature wd:Q1775461, wd:Q146233, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?genitivePluralForm . ?genitivePluralForm ontolex:representation ?genitivePlural ; wikibase:grammaticalFeature wd:Q146233, wd:Q146786, wd:Q3482678 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_3.sparql b/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_3.sparql index d18cf3bea..544fbbd86 100644 --- a/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_3.sparql +++ b/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_3.sparql @@ -21,23 +21,23 @@ WHERE { ?lexeme ontolex:lexicalForm ?feminineDativeSingularForm . ?feminineDativeSingularForm ontolex:representation ?feminineDativeSingular ; wikibase:grammaticalFeature wd:Q1775415, wd:Q145599, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masculineDativeSingularForm . ?masculineDativeSingularForm ontolex:representation ?masculineDativeSingular ; wikibase:grammaticalFeature wd:Q499327, wd:Q145599, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?neuterDativeSingularForm . ?neuterDativeSingularForm ontolex:representation ?neuterDativeSingular ; wikibase:grammaticalFeature wd:Q1775461, wd:Q145599, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?DativePluralForm . ?DativePluralForm ontolex:representation ?dativePlural ; wikibase:grammaticalFeature wd:Q145599, wd:Q146786, wd:Q3482678 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_4.sparql b/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_4.sparql index 13d07e0dc..4621c991c 100644 --- a/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_4.sparql +++ b/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_4.sparql @@ -23,35 +23,35 @@ WHERE { ?lexeme ontolex:lexicalForm ?feminineAccusativeSingularForm . ?feminineAccusativeSingularForm ontolex:representation ?feminineAccusativeSingular ; wikibase:grammaticalFeature wd:Q1775415, wd:Q146078, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masculineAccusativeSingularForm . ?masculineAccusativeSingularForm ontolex:representation ?masculineAnimateAccusativeSingular ; wikibase:grammaticalFeature wd:Q54020116, wd:Q146078, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masculineAccusativeSingularForm . ?masculineAccusativeSingularForm ontolex:representation ?masculineInanimateAccusativeSingular ; wikibase:grammaticalFeature wd:Q52943434, wd:Q146078, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?neuterAccusativeSingularForm . ?neuterAccusativeSingularForm ontolex:representation ?neuterAccusativeSingular ; wikibase:grammaticalFeature wd:Q1775461, wd:Q146078, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masculinePersonalAccusativePluralForm . ?masculinePersonalAccusativePluralForm ontolex:representation ?masculinePersonalAccusativePlural ; wikibase:grammaticalFeature wd:Q27918551, wd:Q146078, wd:Q146786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?notMasculinePersonalAccusativePluralForm . ?notMasculinePersonalAccusativePluralForm ontolex:representation ?notMasculinePersonalAccusativePlural ; wikibase:grammaticalFeature wd:Q54152717, wd:Q146078, wd:Q146786, wd:Q3482678 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_5.sparql b/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_5.sparql index 10bae4e4c..0cfbe9ab6 100644 --- a/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_5.sparql +++ b/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_5.sparql @@ -21,23 +21,23 @@ WHERE { ?lexeme ontolex:lexicalForm ?feminineLocativeSingularForm . ?feminineLocativeSingularForm ontolex:representation ?feminineLocativeSingular ; wikibase:grammaticalFeature wd:Q1775415, wd:Q202142, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masculineLocativeSingularForm . ?masculineLocativeSingularForm ontolex:representation ?masculineLocativeSingular ; wikibase:grammaticalFeature wd:Q499327, wd:Q202142, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?neuterLocativeSingularForm . ?neuterLocativeSingularForm ontolex:representation ?neuterLocativeSingular ; wikibase:grammaticalFeature wd:Q1775461, wd:Q202142, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?locativePluralForm . ?locativePluralForm ontolex:representation ?locativePlural ; wikibase:grammaticalFeature wd:Q202142, wd:Q146786, wd:Q3482678 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_6.sparql b/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_6.sparql index 68b50a4c6..27423a4c3 100644 --- a/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_6.sparql +++ b/src/scribe_data/language_data_extraction/Slovak/adjectives/query_adjectives_6.sparql @@ -21,23 +21,23 @@ WHERE { ?lexeme ontolex:lexicalForm ?feminineInstrumentalSingularForm . ?feminineInstrumentalSingularForm ontolex:representation ?feminineInstrumentalSingular ; wikibase:grammaticalFeature wd:Q1775415, wd:Q192997, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masculineInstrumentalSingularForm . ?masculineInstrumentalSingularForm ontolex:representation ?masculineInstrumentalSingular ; wikibase:grammaticalFeature wd:Q499327, wd:Q192997, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?neuterInstrumentalSingularForm . ?neuterInstrumentalSingularForm ontolex:representation ?neuterInstrumentalSingular ; wikibase:grammaticalFeature wd:Q1775461, wd:Q192997, wd:Q110786, wd:Q3482678 . - } . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?instrumentalPluralForm . ?instrumentalPluralForm ontolex:representation ?instrumentalPlural ; wikibase:grammaticalFeature wd:Q192997, wd:Q146786, wd:Q3482678 . - } . + } } diff --git a/src/scribe_data/language_data_extraction/Slovak/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Slovak/nouns/query_nouns.sparql index 2e279a8eb..7c6e88607 100644 --- a/src/scribe_data/language_data_extraction/Slovak/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Slovak/nouns/query_nouns.sparql @@ -20,8 +20,8 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . + } # MARK: Gender(s) @@ -30,7 +30,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Slovak/prepositions/query_prepositions.sparql b/src/scribe_data/language_data_extraction/Slovak/prepositions/query_prepositions.sparql index d8337322b..d33148075 100644 --- a/src/scribe_data/language_data_extraction/Slovak/prepositions/query_prepositions.sparql +++ b/src/scribe_data/language_data_extraction/Slovak/prepositions/query_prepositions.sparql @@ -15,7 +15,7 @@ WHERE { OPTIONAL { ?lexeme wdt:P5713 ?caseForm . - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Spanish/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Spanish/nouns/query_nouns.sparql index 35d717705..73554d901 100644 --- a/src/scribe_data/language_data_extraction/Spanish/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Spanish/nouns/query_nouns.sparql @@ -25,8 +25,8 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q146786 . + } # MARK: Gender(s) @@ -35,7 +35,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } # Spansih sometimes has masculine and feminine versions on a single lexeme. @@ -43,27 +43,27 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?masSingularForm . ?masSingularForm ontolex:representation ?masSingular ; - wikibase:grammaticalFeature wd:Q499327, wd:Q110786 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q110786 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?masPluralForm . ?masPluralForm ontolex:representation ?masPlural ; - wikibase:grammaticalFeature wd:Q499327, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q499327, wd:Q146786 . + } # MARK: feminine singular and plural forms. OPTIONAL { ?lexeme ontolex:lexicalForm ?femSingularForm . ?femSingularForm ontolex:representation ?femSingular ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q110786 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q110786 . + } OPTIONAL { ?lexeme ontolex:lexicalForm ?femPluralForm . ?femPluralForm ontolex:representation ?femPlural ; - wikibase:grammaticalFeature wd:Q1775415, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q1775415, wd:Q146786 . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_1.sparql b/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_1.sparql index 67e3f2bb6..099362c35 100644 --- a/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_1.sparql +++ b/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_1.sparql @@ -24,41 +24,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPSForm . ?presFPSForm ontolex:representation ?presFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q682111, wd:Q192613 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPSForm . ?presSPSForm ontolex:representation ?presSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q682111, wd:Q192613 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPSForm . ?presTPSForm ontolex:representation ?presTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q682111, wd:Q192613 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presFPPForm . ?presFPPForm ontolex:representation ?presFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q682111, wd:Q192613 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presSPPForm . ?presSPPForm ontolex:representation ?presSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q682111, wd:Q192613 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?presTPPForm . ?presTPPForm ontolex:representation ?presTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q682111, wd:Q192613 . + } } diff --git a/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_2.sparql b/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_2.sparql index cfda604f6..44a588112 100644 --- a/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_2.sparql +++ b/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_2.sparql @@ -23,41 +23,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPSForm . ?pretFPSForm ontolex:representation ?pretFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q442485 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPSForm . ?pretSPSForm ontolex:representation ?pretSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q442485 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPSForm . ?pretTPSForm ontolex:representation ?pretTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q442485 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretFPPForm . ?pretFPPForm ontolex:representation ?pretFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q442485 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretSPPForm . ?pretSPPForm ontolex:representation ?pretSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q442485 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?pretTPPForm . ?pretTPPForm ontolex:representation ?pretTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q442485 . + } } diff --git a/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_3.sparql b/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_3.sparql index bb3757b7f..af6e0869b 100644 --- a/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_3.sparql +++ b/src/scribe_data/language_data_extraction/Spanish/verbs/query_verbs_3.sparql @@ -23,41 +23,41 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPSForm . ?impFPSForm ontolex:representation ?impFPS ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q12547192 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q110786, wd:Q12547192 . + } # SPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPSForm . ?impSPSForm ontolex:representation ?impSPS ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q12547192 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q110786, wd:Q12547192 . + } # TPS OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPSForm . ?impTPSForm ontolex:representation ?impTPS ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q12547192 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q110786, wd:Q12547192 . + } # FPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impFPPForm . ?impFPPForm ontolex:representation ?impFPP ; - wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q12547192 ; - } . + wikibase:grammaticalFeature wd:Q21714344, wd:Q146786, wd:Q12547192 . + } # SPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impSPPForm . ?impSPPForm ontolex:representation ?impSPP ; - wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q12547192 ; - } . + wikibase:grammaticalFeature wd:Q51929049, wd:Q146786, wd:Q12547192 . + } # TPP OPTIONAL { ?lexeme ontolex:lexicalForm ?impTPPForm . ?impTPPForm ontolex:representation ?impTPP ; - wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q12547192 ; - } . + wikibase:grammaticalFeature wd:Q51929074, wd:Q146786, wd:Q12547192 . + } } diff --git a/src/scribe_data/language_data_extraction/Swahili/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Swahili/nouns/query_nouns.sparql index fb7055fb0..1f24feaff 100644 --- a/src/scribe_data/language_data_extraction/Swahili/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Swahili/nouns/query_nouns.sparql @@ -18,7 +18,7 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?pluralForm . ?pluralForm ontolex:representation ?plural ; - wikibase:grammaticalFeature wd:Q146786 ; - FILTER(lang(?plural) = "sw") - } . + wikibase:grammaticalFeature wd:Q146786 . + FILTER(lang(?plural) = "sw") . + } } diff --git a/src/scribe_data/language_data_extraction/Swedish/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Swedish/nouns/query_nouns.sparql index 6e9895b3b..256917985 100644 --- a/src/scribe_data/language_data_extraction/Swedish/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Swedish/nouns/query_nouns.sparql @@ -42,7 +42,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?genIndefPluralForm . ?genIndefPluralForm ontolex:representation ?genIndefPlural ; wikibase:grammaticalFeature wd:Q53997857, wd:Q146233, wd:Q146786 . - } . + } # MARK: Definite @@ -66,7 +66,7 @@ WHERE { ?lexeme ontolex:lexicalForm ?genDefPluralForm . ?genDefPluralForm ontolex:representation ?genDefPlural ; wikibase:grammaticalFeature wd:Q53997851, wd:Q146233, wd:Q146786 . - } . + } # MARK: Gender(s) @@ -75,7 +75,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Swedish/verbs/query_verbs.sparql b/src/scribe_data/language_data_extraction/Swedish/verbs/query_verbs.sparql index c0f225b24..94b39bf36 100644 --- a/src/scribe_data/language_data_extraction/Swedish/verbs/query_verbs.sparql +++ b/src/scribe_data/language_data_extraction/Swedish/verbs/query_verbs.sparql @@ -25,29 +25,29 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?imperativeForm . ?imperativeForm ontolex:representation ?imperative ; - wikibase:grammaticalFeature wd:Q22716 ; - } . + wikibase:grammaticalFeature wd:Q22716 . + } # Supine OPTIONAL { ?lexeme ontolex:lexicalForm ?activeSupineForm . ?activeSupineForm ontolex:representation ?activeSupine ; - wikibase:grammaticalFeature wd:Q1317831, wd:Q548470 ; - } . + wikibase:grammaticalFeature wd:Q1317831, wd:Q548470 . + } # Present OPTIONAL { ?lexeme ontolex:lexicalForm ?activePresentForm . ?activePresentForm ontolex:representation ?activePresent ; - wikibase:grammaticalFeature wd:Q1317831, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q1317831, wd:Q192613 . + } # Preterite OPTIONAL { ?lexeme ontolex:lexicalForm ?activePreteriteForm . ?activePreteriteForm ontolex:representation ?activePreterite ; - wikibase:grammaticalFeature wd:Q1317831, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q1317831, wd:Q442485 . + } # MARK: Passive Voice @@ -55,27 +55,27 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?passiveInfinitiveForm . ?passiveInfinitiveForm ontolex:representation ?passiveInfinitive ; - wikibase:grammaticalFeature wd:Q1194697, wd:Q179230 ; - } . + wikibase:grammaticalFeature wd:Q1194697, wd:Q179230 . + } # Supine OPTIONAL { ?lexeme ontolex:lexicalForm ?passiveSupineForm . ?passiveSupineForm ontolex:representation ?passiveSupine ; - wikibase:grammaticalFeature wd:Q1194697, wd:Q548470 ; - } . + wikibase:grammaticalFeature wd:Q1194697, wd:Q548470 . + } # Present OPTIONAL { ?lexeme ontolex:lexicalForm ?passivePresentForm . ?passivePresentForm ontolex:representation ?passivePresent ; - wikibase:grammaticalFeature wd:Q1194697, wd:Q192613 ; - } . + wikibase:grammaticalFeature wd:Q1194697, wd:Q192613 . + } # Preterite OPTIONAL { ?lexeme ontolex:lexicalForm ?passivePreteriteForm . ?passivePreteriteForm ontolex:representation ?passivePreterite ; - wikibase:grammaticalFeature wd:Q1194697, wd:Q442485 ; - } . + wikibase:grammaticalFeature wd:Q1194697, wd:Q442485 . + } } diff --git a/src/scribe_data/language_data_extraction/Tamil/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Tamil/nouns/query_nouns.sparql index 587628104..c9e158efa 100644 --- a/src/scribe_data/language_data_extraction/Tamil/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Tamil/nouns/query_nouns.sparql @@ -18,14 +18,14 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomSingularForm . ?nomSingularForm ontolex:representation ?nomSingular ; - wikibase:grammaticalFeature wd:Q131105, wd:Q110786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q110786 . + } # MARK: Nominative Plural OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . + } } diff --git a/src/scribe_data/language_data_extraction/Ukrainian/nouns/query_nouns.sparql b/src/scribe_data/language_data_extraction/Ukrainian/nouns/query_nouns.sparql index 05508ca96..55c2cc220 100644 --- a/src/scribe_data/language_data_extraction/Ukrainian/nouns/query_nouns.sparql +++ b/src/scribe_data/language_data_extraction/Ukrainian/nouns/query_nouns.sparql @@ -20,8 +20,8 @@ WHERE { OPTIONAL { ?lexeme ontolex:lexicalForm ?nomPluralForm . ?nomPluralForm ontolex:representation ?nomPlural ; - wikibase:grammaticalFeature wd:Q131105, wd:Q146786 ; - } . + wikibase:grammaticalFeature wd:Q131105, wd:Q146786 . + } # MARK: Gender(s) @@ -30,7 +30,7 @@ WHERE { FILTER NOT EXISTS { ?lexeme wdt:P31 wd:Q202444 . # not for given names } - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". diff --git a/src/scribe_data/language_data_extraction/Ukrainian/prepositions/query_prepositions.sparql b/src/scribe_data/language_data_extraction/Ukrainian/prepositions/query_prepositions.sparql index 1434ccb76..85a1e34e2 100644 --- a/src/scribe_data/language_data_extraction/Ukrainian/prepositions/query_prepositions.sparql +++ b/src/scribe_data/language_data_extraction/Ukrainian/prepositions/query_prepositions.sparql @@ -17,7 +17,7 @@ WHERE { OPTIONAL { ?lexeme wdt:P5713 ?caseForm . - } . + } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]".