query-b8323284d8c24e1acb79691d9f116752

rq turtle/ttl

ITU

Use at

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 ?item ?itemLabel ?itemDescription ?publisherLabel ?standardsBodyLabel ?instanceOfLabel {
  # items with publisher (P123) or standards body (P1462) being ITU (Q376150)
  { ?item (wdt:P123+|wdt:P1462+) wd:Q376150. }
  UNION
  # items with publisher (P123) or standards body (P1462) being ITU-T (Q4007363)
  { ?item (wdt:P123+|wdt:P1462+) wd:Q4007363. }
  UNION
  # items with publisher (P123) or standards body (P1462) being ITU-R (Q376047)
  { ?item (wdt:P123+|wdt:P1462+) wd:Q376047. }
  OPTIONAL { ?item wdt:P123 ?publisher }
  OPTIONAL { ?item wdt:P1462 ?standardsBody }
  OPTIONAL { ?item wdt:P31 ?instanceOf }
  SERVICE wikibase:label {bd:serviceParam wikibase:language "en" }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?instanceOf") v1("?item"):::projected v2("?publisher") v3("?standardsBody") c4(["wd:Q4007363"]):::iri c8(["bd:serviceParam"]):::iri c5(["wd:Q376047"]):::iri c10(["en"]):::literal c2(["wd:Q376150"]):::iri subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P1462"--> c5 end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P123"--> c5 end union2r <== or ==> union2l end end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; subgraph union3[" Union "] subgraph union3l[" "] style union3l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P1462"--> c4 end subgraph union3r[" "] style union3r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P123"--> c4 end union3r <== or ==> union3l end end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; subgraph union4[" Union "] subgraph union4l[" "] style union4l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P1462"--> c2 end subgraph union4r[" "] style union4r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P123"--> c2 end union4r <== or ==> union4l end end union0r <== or ==> union0l end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P123".-> v2 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P1462".-> v3 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P31".-> v4 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end