IMPORT <https://www.wikidata.org/wiki/Special:EntitySchemaText/E15>
PREFIX E15: <https://www.wikidata.org/wiki/Special:EntitySchemaText/E15#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdno: <http://www.wikidata.org/prop/novalue/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
# SELECT ?lexeme { ?lexeme dct:language wd:Q9035 ; wikibase:lexicalCategory wd:Q24905 }
start = @<danish-verb>
<danish-verb> {
dct:language [ wd:Q9035 ]
// rdf:label "Danish language"
// rdf:comment "must be Danish language" ;
wikibase:lexicalCategory [ wd:Q24905 ]
// rdf:label "verb"
// rdf:comment "lexeme must have verb as the lexical category" ;
wdt:P5187 [ @da ]
// rdf:label "word stem"
// rdf:comment "the word stem must be Danish" ;
wdt:P5401 [ wd:L3828 wd:L5025 ] {1,2}
// rdf:label "auxilliary verb"
// rdf:comment "Danish verb must have one or two auxilliary verbs" ;
p:P6140 @E15:dannet-statement
// rdf:label "DanNet"
// rdf:comment "DanNet, either a value or novalue" ;
p:P5912 @E15:oqaasileriffik-statement +
// rdf:label "Oqaasileriffik ID"
// rdf:comment "Must have novalue or one or more" ;
ontolex:lexicalForm @<danish-form> + ;
}
AND {
# Some verbs might have two conjugation classes as they alternate between them
wdt:P5186 [
wd:Q54397142 # First Danish conjugation class
wd:Q54553380 # Second Danish conjugation class
wd:Q62494135 # Third Danish conjugation class
wd:Q62497713 # Fourth a-o-a series
wd:Q64541795 # Fourth e-a-e series
wd:Q64541813 # Fourth e-o-e series
wd:Q64541838 # Fourth e-å-e series
wd:Q64578156 # Fourth i-a-i series
wd:Q64347075 # Fourth i-a-u series
wd:Q64578111 # Fourth i-e-e series
wd:Q64578756 # Fourth i-e-i series
wd:Q64580566 # Fourth i-å-i series
wd:Q64580876 # Fourth y-a-u-series
wd:Q64580346 # Fourth y-ø-o series
wd:Q64578184 # Fourth y-ø-y series
wd:Q64541975 # Fourth y-ø-ø series
wd:Q64354480 # Fourth æ-a-u series
wd:Q63860153 # Fourth æ-a-å series
wd:Q64362028 # Fourth å-i-å series
wd:Q63860277 # Fourth å-o-å series
wd:Q64578636 # Fourty same stem vowel
] {1,2}
// rdf:label "Danish conjugation class"
// rdf:comment "The conjugation class should belong to a restricted set of Danish conjugation classes and some verbs might have two conjugation classes as they alternate between them." ;
}
OR EXTRA wdt:P31 {
wdt:P31 [ wd:Q465800 wd:Q560570 wd:Q262501 wd:Q49102827 ] +
// rdf:label "conjugation class exception"
// rdf:comment "Conjugation class exceptions for auxillary, modal, deponent and reciprocal." ;
}
<danish-form> {
wikibase:grammaticalFeature IRI+
}