MediaWiki
Difference between revisions of "SandboxData.js"
m |
(Replaced content with " /* ************** SELECT ?item ?itemLabel WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . } ?item prop:P2 entity:Q5 } ******...") Tag: Replaced |
||
(9 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
} | } | ||
************** */ | ************** */ | ||
− | + | [ | |
{ | { | ||
− | "item | + | "item": "https://lingualibre.org/entity/Q12", |
− | + | "itemLabel": "beginner" | |
− | |||
− | |||
− | "itemLabel | ||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
{ | { | ||
− | "item | + | "item": "https://lingualibre.org/entity/Q13", |
− | + | "itemLabel": "average level" | |
− | |||
− | |||
− | "itemLabel | ||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
{ | { | ||
− | "item | + | "item": "https://lingualibre.org/entity/Q14", |
− | + | "itemLabel": "good level" | |
− | |||
− | |||
− | "itemLabel | ||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
{ | { | ||
− | "item | + | "item": "https://lingualibre.org/entity/Q15", |
− | + | "itemLabel": "native" | |
− | |||
− | |||
− | "itemLabel | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | ] | + | ] |
Latest revision as of 13:50, 21 August 2024
/* **************
SELECT ?item ?itemLabel WHERE {
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
}
?item prop:P2 entity:Q5
}
************** */
[
{
"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"
}
]