query-138536eb01c30431745d3dc983384f89
Items with copyright statements but without any qualifiers
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 pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT distinct ?item ?itemLabel {
?item p:P6216 ?statement .
?statement ps:P6216 ?pd . # get P6216 main value
VALUES ?pd { wd:Q19652 wd:Q15687061 } # P6216 main value = public domain
FILTER NOT EXISTS { ?statement pq:P1001 [] } # exclude if P1001 present
FILTER NOT EXISTS { ?statement pq:P459 [] } # exclude if P459 present
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
} LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v4("?pd")
v1("?statement")
a2((" "))
a1((" "))
c6(["bd:serviceParam"]):::iri
c8(["en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:qualifier/P459"--> e0a1
e0v1("?statement"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
v1 --"p:qualifier/P459"--> a1
f1[["not "]]
subgraph f1e1["Exists Clause"]
e1v1 --"p:qualifier/P1001"--> e1a1
e1v1("?statement"):::projected
e1a1((" ")):::projected
end
f1--EXISTS--> f1e1
f1 --> v1
f1 --> c2
f1 --> a2
v1 --"p:qualifier/P1001"--> a2
v2 --"p:P6216"--> v1
v1 --"p:statement/P6216"--> v4
bind2[/VALUES ?pd/]
bind2-->v4
bind20(["wd:Q19652"])
bind20 --> bind2
bind21(["wd:Q15687061"])
bind21 --> bind2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end