query-e530ad305f3f26c21d37cce38c3d592d

rq turtle/ttl

Abbreviations used by the National Union Catalog SELECT ?item ?itemLabel ?abbreviation WHERE { VALUES ?NUC {wd:Q3336951 } # National Union Catalog # abbreviation qualified by used by: NUC ?item p:P8703 [ pq:P1535 ?NUC ]; # and get the abbreviation itself wdt:P8703 ?abbreviation.

SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } Abbreviations used by the National Union Catalog SELECT ?item ?itemLabel ?abbreviation WHERE { VALUES ?NUC {wd:Q3336951 } # National Union Catalog # abbreviation qualified by used by: NUC ?item p:P8703 [ pq:P1535 ?NUC ]; # and get the abbreviation itself wdt:P8703 ?abbreviation.

SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# Abbreviations used by the National Union Catalog
SELECT ?item ?itemLabel ?abbreviation WHERE {
  VALUES ?NUC {wd:Q3336951 } # National Union Catalog
  # abbreviation qualified by used by: NUC
  ?item p:P8703 [ pq:P1535 ?NUC ];
    # and get the abbreviation itself
    wdt:P8703 ?abbreviation.

  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; v1("?NUC") v3("?abbreviation"):::projected v2("?item"):::projected a1((" ")) c5(["bd:serviceParam"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal bind0[/VALUES ?NUC/] bind0-->v1 bind00(["wd:Q3336951"]) bind00 --> bind0 a1 --"p:qualifier/P1535"--> v1 v2 --"p:P8703"--> a1 v2 --"p:direct/P8703"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end