Skip to content

Commit

Permalink
Merge pull request scribe-org#398 from Ebeleokolo/add-finnish-verbs-q…
Browse files Browse the repository at this point in the history
…uery

Add Finnish verbs query
  • Loading branch information
andrewtavis authored Oct 17, 2024
2 parents 6189a84 + 25c6bf7 commit 801b3ad
Showing 1 changed file with 111 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,120 @@
SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)
?verb
?infinitiveI

WHERE {
?lexeme dct:language wd:Q1412 ;
wikibase:lexicalCategory wd:Q24905 ;
wikibase:lemma ?verb .

# Infinitives
OPTIONAL {
?lexeme ontolex:lexicalForm ?infinitiveIForm .
?infinitiveIForm ontolex:representation ?infinitiveI ;
wikibase:grammaticalFeature wd:Q179230 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?infinitiveIIForm .
?infinitiveIIForm ontolex:representation ?infinitiveII ;
wikibase:grammaticalFeature wd:Q179230, wd:Q66596723 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?infinitiveIIIForm .
?infinitiveIIIForm ontolex:representation ?infinitiveIII ;
wikibase:grammaticalFeature wd:Q179230, wd:Q66596786 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?infinitiveIVForm .
?infinitiveIVForm ontolex:representation ?infinitiveIV ;
wikibase:grammaticalFeature wd:Q179230, wd:Q66596828 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?infinitiveVForm .
?infinitiveVForm ontolex:representation ?infinitiveV ;
wikibase:grammaticalFeature wd:Q179230, wd:Q66596870 .
}

# Present Indicative
OPTIONAL {
?lexeme ontolex:lexicalForm ?presIndSg1Form .
?presIndSg1Form ontolex:representation ?presIndSg1 ;
wikibase:grammaticalFeature wd:Q192613, wd:Q21714344, wd:Q110786 .
}

# Past Indicative
OPTIONAL {
?lexeme ontolex:lexicalForm ?pastIndSg1Form .
?pastIndSg1Form ontolex:representation ?pastIndSg1 ;
wikibase:grammaticalFeature wd:Q1240211, wd:Q21714344, wd:Q110786 .
}

# Conditional
OPTIONAL {
?lexeme ontolex:lexicalForm ?conditionalSg1Form .
?conditionalSg1Form ontolex:representation ?conditionalSg1 ;
wikibase:grammaticalFeature wd:Q52824793, wd:Q21714344, wd:Q110786 .
}

# Potential
OPTIONAL {
?lexeme ontolex:lexicalForm ?potentialSg1Form .
?potentialSg1Form ontolex:representation ?potentialSg1 ;
wikibase:grammaticalFeature wd:Q696092, wd:Q21714344, wd:Q110786 .
}

# Imperative
OPTIONAL {
?lexeme ontolex:lexicalForm ?imperativeSg2Form .
?imperativeSg2Form ontolex:representation ?imperativeSg2 ;
wikibase:grammaticalFeature wd:Q22716, wd:Q51929049, wd:Q110786 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?imperativePl2Form .
?imperativePl2Form ontolex:representation ?imperativePl2 ;
wikibase:grammaticalFeature wd:Q22716, wd:Q51929049, wd:Q146786 .
}

# Participles
OPTIONAL {
?lexeme ontolex:lexicalForm ?activePresParticipleForm .
?activePresParticipleForm ontolex:representation ?activePresParticiple ;
wikibase:grammaticalFeature wd:Q814722, wd:Q1317831 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?activePastParticipleForm .
?activePastParticipleForm ontolex:representation ?activePastParticiple ;
wikibase:grammaticalFeature wd:Q12612262, wd:Q1317831 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?passivePresParticipleForm .
?passivePresParticipleForm ontolex:representation ?passivePresParticiple ;
wikibase:grammaticalFeature wd:Q814722, wd:Q1194697 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?passivePastParticipleForm .
?passivePastParticipleForm ontolex:representation ?passivePastParticiple ;
wikibase:grammaticalFeature wd:Q12612262, wd:Q1194697 .
}

# Passive forms
OPTIONAL {
?lexeme ontolex:lexicalForm ?passivePresentForm .
?passivePresentForm ontolex:representation ?passivePresent ;
wikibase:grammaticalFeature wd:Q192613, wd:Q1194697 .
}

OPTIONAL {
?lexeme ontolex:lexicalForm ?passivePastForm .
?passivePastForm ontolex:representation ?passivePast ;
wikibase:grammaticalFeature wd:Q1240211, wd:Q1194697 .
}
}

0 comments on commit 801b3ad

Please sign in to comment.