query-77ebba1cf1f99f04b191433c8134431f
Propertiesreadable file format (P1072)file extension (P1195)media type (P1163)
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?fileformat ?fileformatLabel ?ext ?media WHERE {
wd:Q50989245 wdt:P1072 ?fileformat.
OPTIONAL { ?fileformat wdt:P1195 ?ext. }
OPTIONAL { ?fileformat wdt:P1163 ?media. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?ext"):::projected
v1("?fileformat"):::projected
v3("?media"):::projected
c6(["bd:serviceParam"]):::iri
c1(["wd:Q50989245"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c1 --"wdt:P1072"--> v1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P1195".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P1163".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end