Plantilla:Infotaula càmera/proves
From Wikipedia, the free encyclopedia
Versió en proves de la reforma completa de Plantilla:Infotaula_càmera, segons les propostes de canvi recollides a Plantilla:Infotaula_càmera/old. Els canvis consisteixen en:
#title: dades objectius (per carregar via QS o OR)
SELECT DISTINCT ?item ?itemLabel (GROUP_CONCAT(DISTINCT ?muntura; SEPARATOR = ", ") AS ?muntures)
(GROUP_CONCAT(DISTINCT ?munturaLabel; SEPARATOR = ", ") AS ?munturesLabel) ?elements ?grups ?fulles ?enfocament
(GROUP_CONCAT(DISTINCT ?distància_focal; SEPARATOR = ", ") AS ?focals) (GROUP_CONCAT(DISTINCT ?obertura; SEPARATOR = ", ") AS ?obertures)
?diametre_o ?diametre_f ?estabilitzador ?estabilitzadorLabel ?lloc ?llocLabel ?web
#?fabricant ?fabricantLabel ?area_f ?area_fLabel ?display ?displayLabel ?sensors ?sensorsLabel
WHERE {
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en".
?item rdfs:label ?itemLabel.
?muntura rdfs:label ?munturaLabel.
?estabilitzador rdfs:label ?estabilitzadorLabel.
?fabricant rdfs:label ?fabricantLabel.
?area_f rdfs:label ?area_fLabel.
?display rdfs:label ?displayLabel.
?sensors rdfs:label ?sensorsLabel.
?lloc rdfs:label ?llocLabel.
}
?item (wdt:P279*) wd:Q192234.
OPTIONAL {
?item p:P2935 _:b6.
_:b6 ps:P2935 ?muntura;
pq:P518 wd:Q205722.
}
OPTIONAL {
?item p:P2283 _:b7.
_:b7 ps:P2283 wd:Q115743910;
pq:P1114 ?elements.
}
OPTIONAL {
?item p:P2283 _:b8.
_:b8 ps:P2283 wd:Q115744033;
pq:P1114 ?grups.
}
OPTIONAL {
?item p:P2283 _:b9.
_:b9 ps:P2283 wd:Q115745185;
pq:P1114 ?fulles.
}
OPTIONAL {
?item p:P2283 _:b12.
_:b12 ps:P2283 ?area_f;
pq:P518 wd:Q115685992.
}
OPTIONAL { ?item wdt:P11412 ?enfocament. }
OPTIONAL {
?item p:P2386 _:b10.
_:b10 ps:P2386 ?diametre_f;
pq:P518 wd:Q876650.
}
OPTIONAL {
?item p:P2386 _:b11.
_:b11 ps:P2386 ?diametre_o;
pq:P518 wd:Q192234.
}
OPTIONAL { ?item wdt:P11415 ?estabilitzador. }
OPTIONAL { ?item wdt:P1071 ?lloc. }
OPTIONAL { ?item wdt:P856 ?web. }
OPTIONAL { ?item wdt:P2151 ?distància_focal. }
OPTIONAL { ?item wdt:P7863 ?obertura. }
OPTIONAL { ?item wdt:P176 ?fabricant. }
OPTIONAL { ?item wdt:P5307 ?display. }
OPTIONAL { ?item wdt:P9192 ?sensors. }
}
GROUP BY ?item ?itemLabel ?elements ?grups ?fulles ?enfocament ?diametre_o ?diametre_f ?estabilitzador ?estabilitzadorLabel
?lloc ?llocLabel ?web
# ?fabricant ?fabricantLabel ?area_f ?area_fLabel ?display ?displayLabe ?sensors ?sensorsLabel
LIMIT 4000
Podeu fer proves amb els casos de la secció final de plantilla:Infotaula càmera/proves |