query-64bf0a917b1bb16dfc4eeda7af6918ed
Propertiesinstance of (P31)subclass of (P279)port (P1641)of (P642)
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 ?port WHERE {
?protocol wdt:P31/wdt:P279* wd:Q15836568 .
?protocol p:P1641 ?portStatement .
?portStatement ps:P1641 ?port .
?portStatement pq:P642 ?protocolSuite .
FILTER (?protocolSuite = wd:Q576997)
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
ORDER BY ASC(?port)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?port"):::projected
v4("?portStatement")
v3("?protocol"):::projected
v2("?protocolSuite")
a1((" "))
c4(["wd:Q15836568"]):::iri
c9(["bd:serviceParam"]):::iri
c11(["en"]):::literal
f0[["?protocolSuite = 'wd:Q576997'"]]
f0 --> v2
v3 --"p:direct/P31"--> a1
a1 --"p:direct/P279"--> c4
v3 --"p:P1641"--> v4
v4 --"p:statement/P1641"--> v1
v4 --"p:qualifier/P642"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end