query-923e00866b0df1d1a687c37fdc473083
Statements without a specific qualifier for a given property qualifier (P304)page(s) a without (Q19020593)A Compendium of Irish Biography = (P1433)published in For example, statements for
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 ?item ?itemLabel
WHERE
{
?item p:P1433 ?statement . # Items with P1433
?statement ps:P1433 wd:Q19020593 . # ... with statement: published in Q19020593
FILTER NOT EXISTS { # ... filtering out
?statement pq:P304 [] . # ... statements that have a P304 qualifier
}
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;
v2("?item"):::projected
v1("?statement")
a1((" "))
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wd:Q19020593"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:qualifier/P304"--> e0a1
e0v1("?statement"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
v1 --"p:qualifier/P304"--> a1
v2 --"p:P1433"--> v1
v1 --"p:statement/P1433"--> c4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end