Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add Finnish verbs query #398

Merged
merged 2 commits into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
}
}
Loading