query-dd0f16d51eb0df8decddc2cb8fcf689a
Discussion ]reply[16:49, 16 July 2020 (UTC)) talk (1Veertje. Maybe worth writing a bot that automatically adds these extra statements (Q17172850)voice (P1303)instrument , one can infer that they play (Q177220)singer (P106)occupation : if someone has the Epìdosis@: I don't understand how this is related to may batch of item-merges. Anyway, what you suggest is very easy to do, see:1Veertje@
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?person
WHERE {
?person p:P106 ?statement .
?statement ps:P106 wd:Q177220 .
?statement prov:wasDerivedFrom ?reference .
MINUS { ?person wdt:P1303 wd:Q17172850 . }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?person"):::projected
v3("?reference")
v2("?statement")
c6(["wd:Q17172850"]):::iri
c3(["wd:Q177220"]):::iri
v1 --"p:P106"--> v2
v2 --"p:statement/P106"--> c3
v2 --"prov:wasDerivedFrom"--> v3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"p:direct/P1303"--> c6
end