query-021b06da887b65a0e9d1155a5b98a0c8
Propertiesinstance of (P31)subclass of (P279)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 p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?fileformat ?fileformatLabel
WHERE {
?fileformat wdt:P31/wdt:P279* wd:Q235557.
FILTER NOT EXISTS { ?fileformat p:P1163 ?mediatype }
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;
v1("?fileformat"):::projected
v2("?mediatype")
a1((" "))
c4(["wd:Q235557"]):::iri
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:P1163"--> e0v2
e0v1("?fileformat"):::projected
e0v2("?mediatype"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"p:P1163"--> v2
v1 --"p:direct/P31"--> a1
a1 --"p:direct/P279"--> c4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end