query-6b3a77ab93903de100913c154ab8b5ab
Onderneming zonder Belgisch ondernemingsnummer SELECT ?vereniging ?verenigingLabel ?onummer WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } ?vereniging wdt:P17 wd:Q31. ?vereniging wdt:P1320 ?onummer FILTER(NOT EXISTS { ?vereniging wdt:P3376 ?benummer }) }
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 bd: <http://www.bigdata.com/rdf#>
# Onderneming zonder Belgisch ondernemingsnummer
SELECT ?vereniging ?verenigingLabel ?onummer WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?vereniging wdt:P17 wd:Q31.
?vereniging wdt:P1320 ?onummer
FILTER(NOT EXISTS {
?vereniging wdt:P3376 ?benummer
})
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?benummer")
v3("?onummer"):::projected
v1("?vereniging"):::projected
c3(["bd:serviceParam"]):::iri
c7(["wd:Q31"]):::iri
c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P3376"--> e0v2
e0v2("?benummer"):::projected
e0v1("?vereniging"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P3376"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
v1 --"wdt:P17"--> c7
v1 --"wdt:P1320"--> v3