query-59e919754124f19a004351ae97cb0506

rq turtle/ttl

08:05, 18 May 2017 (UTC)) talk (Queryzo: Könnt ihr das erledigen? Hoo man, Pasleim@Hier gibts noch 949 löschbare ehemalige Wikimedia-Items (Kategorien, Vorlagen, Dubletten und ähnlicher Kram):

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemDescription {
  ?item wikibase:statements ?statementCount .
  FILTER(?statementCount = 0) .
  ?item wikibase:sitelinks ?sitelinkCount .
  FILTER(?sitelinkCount = 0) .
  MINUS {
    [] ?prop ?item .
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de". }
  ?item schema:description ?itemDescription
  FILTER(CONTAINS(?itemDescription, "Wikimedia"))
} LIMIT 1000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?item"):::projected v1("?itemDescription"):::projected v5("?prop") v2("?sitelinkCount") v3("?statementCount") a1((" ")) c8(["de"]):::literal c6(["bd:serviceParam"]):::iri f0[["contains(?itemDescription,'Wikimedia')"]] f0 --> v1 f1[["?sitelinkCount = '0^^xsd:integer'"]] f1 --> v2 f2[["?statementCount = '0^^xsd:integer'"]] f2 --> v3 v4 --"wikibase:statements"--> v3 v4 --"wikibase:sitelinks"--> v2 subgraph minus3["MINUS"] style minus3 stroke-width:6px,fill:pink,stroke:red; a1 -->v5--> v4 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end v4 --"schema:description"--> v1