MediaWiki
Difference between revisions of "SandboxData.js"
m (test) |
m |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[ | [ | ||
{ | { | ||
Line 25: | Line 16: | ||
"itemLabel": "native" | "itemLabel": "native" | ||
} | } | ||
− | ] | + | ] |
+ | |||
+ | /* ************** | ||
+ | SELECT ?item ?itemLabel WHERE { | ||
+ | SERVICE wikibase:label { | ||
+ | bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | ||
+ | } | ||
+ | ?item prop:P2 entity:Q5 | ||
+ | } | ||
+ | ************** */ |
Revision as of 14:46, 20 January 2022
[
{
"item": "https://lingualibre.org/entity/Q12",
"itemLabel": "beginner"
},
{
"item": "https://lingualibre.org/entity/Q13",
"itemLabel": "average level"
},
{
"item": "https://lingualibre.org/entity/Q14",
"itemLabel": "good level"
},
{
"item": "https://lingualibre.org/entity/Q15",
"itemLabel": "native"
}
]
/* **************
SELECT ?item ?itemLabel WHERE {
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
}
?item prop:P2 entity:Q5
}
************** */