query-f75772b9dcb19e47d57a2426fa4b2235
Propertiessubclass of (P279)ISO standard (P503)described by source (P1343)instance of (P31)standards body (P1462)
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?format ?formatLabel ?standardLabel ?sourceLabel ?bodyLabel
WHERE
{
{ ?format (p:P31/ps:P31/wdt:P279*) wd:Q235557 .
?format wdt:P503 ?standard.}
UNION
{?format (p:P31/ps:P31/wdt:P279*) wd:Q235557 .
?format wdt:P1343 ?source.
?source wdt:P31 wd:Q317623.}
OPTIONAL {?source wdt:P1462 ?body.}
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;
v4("?body")
v1("?format"):::projected
v3("?source")
v2("?standard")
a1((" "))
a2((" "))
a3((" "))
a4((" "))
c4(["wd:Q235557"]):::iri
c8(["wd:Q317623"]):::iri
c11(["bd:serviceParam"]):::iri
c13(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v1 --"p:P31"--> a3
a3 --"p:statement/P31"--> a4
a4 --"p:direct/P279"--> c4
v1 --"p:direct/P1343"--> v3
v3 --"p:direct/P31"--> c8
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"p:P31"--> a1
a1 --"p:statement/P31"--> a2
a2 --"p:direct/P279"--> c4
v1 --"p:direct/P503"--> v2
end
union0r <== or ==> union0l
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:direct/P1462".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end