query-20955d979dfe3a89853c922aafaeb6fc
Researcher quickstatement deletion 13:27, 19 March 2024 (UTC)) talk (KippelboyHi,Epìdosis. First of all thank you for your time editing and improving Wikidata. That said, I detected that you used temporary_batch_1710528583746 to revert several dozens of my edits assigning "researcher" as occupation for some people. Could you explain further why is the reason of these edit? Is there a particular criteria I'm missing? Thanks in advance. :, thanks for the question! I used periodically this query:KippelboyHi @
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item
WHERE {
?item p:P106 ?st1 . ?st1 ps:P106 wd:Q1622272 .
?item p:P106 ?st2 . ?st2 ps:P106 wd:Q1650915 .
MINUS { ?st2 ?pq ?pv . ?p wikibase:qualifier ?pq . }
{ MINUS { ?st2 prov:wasDerivedFrom ?ref2 } . } UNION
{ ?st2 prov:wasDerivedFrom ?ref, ?ref3 . ?ref pr:P143 [] . MINUS { ?ref3 pr:P854 ?url } . MINUS { ?ref3 pr:P248 ?s } }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v6("?p")
v4("?pq")
v5("?pv")
v8("?ref")
v7("?ref2")
v9("?ref3")
v11("?s")
v2("?st1")
v3("?st2")
v10("?url")
a1((" "))
c3(["wd:Q1622272"]):::iri
c4(["wd:Q1650915"]):::iri
v1 --"p:P106"--> v2
v2 --"p:statement/P106"--> c3
v1 --"p:P106"--> v3
v3 --"p:statement/P106"--> c4
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v3 -->v4--> v5
v6 --"wikibase:qualifier"--> v4
end
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v3 --"prov:wasDerivedFrom"--> v8
v3 --"prov:wasDerivedFrom"--> v9
v8 --"p:reference/P143"--> a1
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v9 --"p:reference/P854"--> v10
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v9 --"p:reference/P248"--> v11
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
subgraph minus3["MINUS"]
style minus3 stroke-width:6px,fill:pink,stroke:red;
v3 --"prov:wasDerivedFrom"--> v7
end
end
union0r <== or ==> union0l
end