query-b1eb5384354136b968f9ef4c52a853c7

rq turtle/ttl

Incorrect usage of P248 instead of P143? (P248)stated in restrictions with most popular wikis to (Q52558054)none-of constraint . Right now query shows 5159 occurrences of this problem. Maybe it is possible to add (P143)imported from Wikimedia project instead of (P248)stated in Sometimes users are adding references to Wikipedia using property

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?statement ?wpLabel {
  ?wp wdt:P31 wd:Q10876391 .
  ?item ?prop ?statement .
  ?statement prov:wasDerivedFrom ?refnode .
  ?refnode pr:P248 ?wp
  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; v2("?item"):::projected v3("?prop") v5("?refnode") v4("?statement"):::projected v1("?wp") c6(["bd:serviceParam"]):::iri c8(["en"]):::literal c2(["wd:Q10876391"]):::iri v1 --"wdt:P31"--> c2 v2 -->v3--> v4 v4 --"prov:wasDerivedFrom"--> v5 v5 --"pr:P248"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end