query-fcd7fbd88f4103210b6fb75bdd867de8
Request to fix certain instances of imported from Wikimedia project (P143) (2022-09-25) Huntster: Request date: 25 September 2022, by 17:04, 25 September 2022 (UTC) )c @ t( Huntster— . The reason is, obviously, that the MPC is not a Wikipedia project. The requested change remedies this to reflect that the data is imported from the MPC Database. Thanks! (Q106600690)Minor Planet Center Database (P248)stated in to (Q522039)Minor Planet Center (P143)imported from Wikimedia project Good day, I am requesting bot assistance to fix instances of The following SPARQL picks up 48503 references to be changed, on 18554 items. to do this.William Avery Bot 5I can modify the script I wrote for
Use at
- https://query.wikidata.org/sparql
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 DISTINCT ?item ?itemLabel ?property ?object
WHERE
{
?item (wdt:P31/(wdt:P279*)) wd:Q6999;
?property ?object .
?object prov:wasDerivedFrom ?provenance .
?provenance pr:P143 wd:Q522039 .
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("?item"):::projected
v3("?object"):::projected
v2("?property"):::projected
v4("?provenance")
a1((" "))
c8(["bd:serviceParam"]):::iri
c6(["wd:Q522039"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q6999"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 -->v2--> v3
v3 --"prov:wasDerivedFrom"--> v4
v4 --"pr:P143"--> c6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end