-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #284 from VNW22/Expand-Bokmål-verbs-query
Expand Bokmål verbs query
- Loading branch information
Showing
1 changed file
with
13 additions
and
2 deletions.
There are no files selected for viewing
15 changes: 13 additions & 2 deletions
15
src/scribe_data/language_data_extraction/Bokmål/verbs/query_verbs.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,30 @@ | ||
# tool: scribe-data | ||
# All Bokmål (Norwegian) (Q9043) verbs. | ||
# All Bokmål (Norwegian) (Q9043) and the currently implemented tenses for each. | ||
# Enter this query at https://query.wikidata.org/. | ||
# Note: This query is for Bokmål (Q25167) rather than Nynorsk (Q25164). | ||
|
||
SELECT DISTINCT | ||
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID) | ||
?infinitive | ||
?present | ||
|
||
WHERE { | ||
?lexeme dct:language wd:Q25167 ; | ||
wikibase:lexicalCategory wd:Q24905 . | ||
|
||
# MARK: Infinitive | ||
# MARK: Active Infinitive | ||
|
||
?lexeme ontolex:lexicalForm ?infinitiveForm . | ||
?infinitiveForm ontolex:representation ?infinitive ; | ||
wikibase:grammaticalFeature wd:Q179230 ; | ||
wikibase:grammaticalFeature wd:Q1317831 . | ||
|
||
# MARK: Active Present | ||
|
||
OPTIONAL { | ||
?lexeme ontolex:lexicalForm ?presentForm . | ||
?presentForm ontolex:representation ?present ; | ||
wikibase:grammaticalFeature wd:Q192613 ; | ||
wikibase:grammaticalFeature wd:Q1317831 . | ||
} | ||
} |