query-1ba6083ece4b2f5ac7c6383a96e05291
Propertiesinstance of (P31)subclass of (P279)part of (P361)series ordinal (P1545)
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 pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?protocol ?protocolLabel ?protocolNumber WHERE {
?protocol wdt:P31/wdt:P279* wd:Q15836568 .
?protocol p:P361 ?partOfStatement .
?partOfStatement ps:P361 wd:Q81414 .
?partOfStatement pq:P1545 ?protocolNumber .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
ORDER BY ASC(?protocolNumber)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?partOfStatement")
v2("?protocol"):::projected
v1("?protocolNumber"):::projected
a1((" "))
c3(["wd:Q15836568"]):::iri
c9(["bd:serviceParam"]):::iri
c11(["en"]):::literal
c6(["wd:Q81414"]):::iri
v2 --"p:direct/P31"--> a1
a1 --"p:direct/P279"--> c3
v2 --"p:P361"--> v3
v3 --"p:statement/P361"--> c6
v3 --"p:qualifier/P1545"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end