query-f2205f6d85a653d3b36d94174a6442df

rq turtle/ttl

TODO

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?sitelink ?category {
  ?item wdt:P910 ?category;
        ^schema:about [ schema:isPartOf <https://commons.wikimedia.org/>; schema:name ?sitelink ] .
  FILTER( STRSTARTS( ?sitelink, 'Category:' ) ) .
} LIMIT 1000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?category"):::projected v2("?item"):::projected v1("?sitelink"):::projected a1((" ")) c4([https://commons.wikimedia.org/]):::iri f0[["starts-with(?sitelink,'Category:')"]] f0 --> v1 v2 --"wdt:P910"--> v3 a1 --"schema:isPartOf"--> c4 a1 --"schema:name"--> v1 a1 --"schema:about"--> v2