Skip to content

Commit

Permalink
#301 minor updates to Japanese queries
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Oct 9, 2024
1 parent 13cb36f commit 5c0280f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@ WHERE {
?lexeme dct:language wd:Q5287 ;
wikibase:lexicalCategory wd:Q34698 ;
wikibase:lemma ?adjective .

BIND (lang(?adjective) as ?language)
FILTER (
CONTAINS(?language, "ja-hira") || CONTAINS(?language, "ja")
)
FILTER(lang(?adjective) = "ja-hira")
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ WHERE {
?lexeme dct:language wd:Q5287 ;
wikibase:lexicalCategory ?nounType ;
wikibase:lemma ?noun .

FILTER (?nounType = ?nounTypes)

BIND (lang(?noun) as ?language)

FILTER (
CONTAINS(?language, "ja-hira") || CONTAINS(?language, "ja")
)
FILTER (?nounType = ?nounTypes)
FILTER(lang(?noun) = "ja-hira")
}

0 comments on commit 5c0280f

Please sign in to comment.