query-283e0e9cb7ba24baa34f8f842dcac10a
Propertiesinstance of (P31)title (P1476)main subject (P921)RfC ID (P892)
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 ?RfC_ID ?Request_for_Comments ?Request_for_CommentsLabel ?main_subject ?main_subjectLabel ?RfC_IDLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?Request_for_Comments wdt:P31 wd:Q212971.
?Request_for_Comments wdt:P1476 ?title.
OPTIONAL { ?Request_for_Comments wdt:P921 ?main_subject. }
OPTIONAL { ?Request_for_Comments wdt:P892 ?RfC_ID. }
FILTER regex(str(?title), "SMTP")
}
ORDER BY ?RfC_ID
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?Request_for_Comments"):::projected
v1("?RfC_ID"):::projected
v4("?main_subject"):::projected
v2("?title")
c3(["bd:serviceParam"]):::iri
c7(["wd:Q212971"]):::iri
c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["regex(str(?title),'SMTP')"]]
f0 --> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
v3 --"wdt:P31"--> c7
v3 --"wdt:P1476"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P921".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P892".-> v1
end