query-9696656bce0395bbcbcfb355da625957

rq turtle/ttl

TODO

Use at

PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT distinct ?item ?name
WHERE { 
  SERVICE wikibase:mwapi {
     bd:serviceParam wikibase:endpoint "no.wikipedia.org";
                     wikibase:api "Generator";
                     mwapi:generator "categorymembers";
                     mwapi:gcmtitle "Kategori:Artikler uten kilder – skriftlig verk" ;         # specifically here
                     mwapi:gcmprop "ids|title|type";
                     mwapi:gcmlimit "max".
     # out
     ?name wikibase:apiOutput mwapi:title.        # en-wikipedia article / category name
     ?item wikibase:apiOutputItem mwapi:item.            # wikidata QId for the person's item
    }
  filter(BOUND(?item))

}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v2("?name"):::projected c18(["mwapi:item"]):::iri c14(["max"]):::literal c10(["Kategori:Artikler uten kilder – skriftlig verk"]):::literal c8(["categorymembers"]):::literal c2(["bd:serviceParam"]):::iri c4(["no.wikipedia.org"]):::literal c16(["mwapi:title"]):::iri c12(["ids|title|type"]):::literal c6(["Generator"]):::literal f0[["bound(?item)"]] f0 --> v1 subgraph s1["http://wikiba.se/ontology#mwapi"] style s1 stroke-width:4px; c2 --"mwapi:endpoint"--> c4 c2 --"mwapi:api"--> c6 c2 --"mwapi:generator"--> c8 c2 --"mwapi:gcmtitle"--> c10 c2 --"mwapi:gcmprop"--> c12 c2 --"mwapi:gcmlimit"--> c14 v2 --"mwapi:apiOutput"--> c16 v1 --"mwapi:apiOutputItem"--> c18 end