query-d1ce0a18f83da282506bef9c1bcf0a05
22:22, 21 November 2018 (UTC)) talk (LucaBiondiW Wikidata!!! done....
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?itemDescription ?pattern_identificazione_del_formato_file ?codificazione ?codificazioneLabel
WHERE {
?item wdt:P31 wd:Q235557.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en, de, fr, da, pl". }
OPTIONAL { ?item wdt:P4152 ?pattern_identificazione_del_formato_file. }
OPTIONAL { ?item p:P4152 ?statementP4152.
OPTIONAL { ?statementP4152 pq:P3294 ?codificazione. }
}
} LIMIT 10
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?codificazione"):::projected
v1("?item"):::projected
v2("?pattern_identificazione_del_formato_file"):::projected
v3("?statementP4152")
c2(["wd:Q235557"]):::iri
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en, de, fr, da, pl"]):::literal
v1 --"p:direct/P31"--> c2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P4152".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:P4152".-> v3
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:qualifier/P3294".-> v4
end
end