query-4efbabea1b81449d99745ffc6654ed21
Propertiesoccupation (P106)significant person (P3342)object of statement has role (P3831)
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 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 ?juge ?jugeLabel
WHERE {
?item p:P3342 ?statement .
?statement ps:P3342 ?juge .
?statement pq:P3831 wd:Q56882269 .
FILTER NOT EXISTS { ?juge wdt:P106 wd:Q56882269 . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item")
v1("?juge"):::projected
v3("?statement")
c7(["bd:serviceParam"]):::iri
c2(["wd:Q56882269"]):::iri
c9(["en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:direct/P106"--> e0c2
e0v1("?juge"):::projected
e0c2(["wd:Q56882269"]):::iri
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> c2
v1 --"p:direct/P106"--> c2
v2 --"p:P3342"--> v3
v3 --"p:statement/P3342"--> v1
v3 --"p:qualifier/P3831"--> c2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end