LinguaLibre
Difference between revisions of "Stats/oc"
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 23: | Line 23: | ||
?record prop:P2 entity:Q2 . | ?record prop:P2 entity:Q2 . | ||
?record prop:P4 ?lang . | ?record prop:P4 ?lang . | ||
− | + | BIND( IF( isBLANK(?lang), entity:Q4, ?lang ) as ?language ). | |
− | |||
SERVICE wikibase:label { | SERVICE wikibase:label { | ||
Line 44: | Line 43: | ||
?record prop:P4 ?lang . | ?record prop:P4 ?lang . | ||
#extra:{"type": "wikibase-item", "filter":"Q4", "label": "P4", "multiple": true} ?record prop:P4 entity:[EXTRA] . | #extra:{"type": "wikibase-item", "filter":"Q4", "label": "P4", "multiple": true} ?record prop:P4 entity:[EXTRA] . | ||
− | + | BIND( IF( isBLANK(?lang), entity:Q4, ?lang ) as ?language ). | |
− | |||
SERVICE wikibase:label { | SERVICE wikibase:label { | ||
Line 67: | Line 65: | ||
?record prop:P7 ?transcription. | ?record prop:P7 ?transcription. | ||
− | + | SERVICE wikibase:label { | |
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . | ||
?language rdfs:label ?languageLabel. | ?language rdfs:label ?languageLabel. |