query-4a49e4294ca91903df00f4ee2dc0b0b7
Membri della comunità europea select ?item ?itemLabel where {
?item p:P463 ?stm. # Members of something ?stm ps:P463 wd:Q458. # Reference to the membership of EU MINUS { ?stm pq:P582 [] . } # Exclude members with and end date qualifier SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
} order by (?itemLabel)
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#>
# Membri della comunità europea
select ?item ?itemLabel where {
?item p:P463 ?stm. # Members of something
?stm ps:P463 wd:Q458. # Reference to the membership of EU
MINUS { ?stm pq:P582 [] . } # Exclude members with and end date qualifier
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
} order by (?itemLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?itemLabel"):::projected
v3("?stm")
a1((" "))
c6(["bd:serviceParam"]):::iri
c3(["wd:Q458"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"p:P463"--> v3
v3 --"p:statement/P463"--> c3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v3 --"p:qualifier/P582"--> a1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end