query-4bce726577f9e3b3b1fd785baf09d2a8

rq turtle/ttl

Improve a query -- too many singles values as filterHello so as to simplify this query ?? (Q67147037)external border of the European Union is there a way to filter any border that are part of

Use at

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#>
#defaultView:Map
SELECT ?item ?itemLabel ?coord WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?item wdt:P31 wd:Q757292 .
  ?item wdt:P361 ?partiede.
   MINUS { ?item wdt:P576 _:b2. }
     MINUS { ?item wdt:P361 wd:Q3089219. }
  FILTER ( ?partiede IN ( wd:Q603662, #Estonie, Russie
                         wd:Q495735, #Finlande, Russie
                         wd:Q2453561,#Lituanie, Russie
                         wd:Q2630440,#Lettonie, Russie
                         wd:Q966245,#Biélorussie, Lettonie
                         wd:Q2623774,#Biélorussie, Lituanie
                         wd:Q1993022, #Hongrie, Ukraine
                         wd:Q2630766,#Slovaquie, Ukraine
                         wd:Q2499730, #Biélorussie, Pologne
                         wd:Q2708432, #Pologne, Ukraine
                         wd:Q782109, #Pologne, Russie
                         wd:Q2453169, #Roumanie, Ukraine
                         wd:Q3088972, #Roumanie, Serbie
                         wd:Q3088866 #Bulgarie, Serbie
                         ,wd:Q3088942 #Hongrie, Serbie
                         ,wd:Q3088864 #Bulgarie, Macédoine N
                         ,wd:Q3088922 #Grèce, Turquie
                         ,wd:Q3088686 #Grèce, Albanie
                         ,wd:Q641617 #Croatie, Serbie
                         ,wd:Q576324 #Bosnie, Croatie
                         ,wd:Q3088891 #Croatie, Monténégro
                         ,wd:Q1991697 #France Suisse
                         ,wd:Q1996372 #France Monaco
                         ,wd:Q2009420#France Andorre
                         ,wd:Q3088648#Akrotiri
                         ,wd:Q2467764#Andorre et Espagne
                         ,wd:Q2573418#France et Brésil
                         ,wd:Q1991324#Liecht et Autriche
                         ,wd:Q3088921 #Grèce et Macédoine
                         ,wd:Q2748217#Espagne et Maroc
                         ,wd:Q2631181#Moldavie et Roumanie
                         ,wd:Q2742785#Norvège et Suède
                         ,wd:Q2913944#Norvège et Finlande
                         ,wd:Q1991264#italie et saint marin
                         ,wd:Q1996259#France et Pays bas et oui!
                         ,wd:Q1991810#Suisse et Allemagne
                         ,wd:Q664063#Suisse et italie
                         ,wd:Q3088913#france et surinam
                        ,wd:Q3088873#Bulgarie et turquie
                        ,wd:Q2457562#Italie et vatican
) )
  OPTIONAL { ?item wdt:P625 ?coord. }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?coord"):::projected v2("?item"):::projected v1("?partiede") a1((" ")) c49(["wd:Q3089219"]):::iri c44(["#91;AUTO_LANGUAGE#93;,en"]):::literal c42(["bd:serviceParam"]):::iri c46(["wd:Q757292"]):::iri list0c34(["wd:Q1991264"]):::iri list0c35(["wd:Q1996259"]):::iri list0c12(["wd:Q2453169"]):::iri list0c21(["wd:Q3088891"]):::iri list0c7(["wd:Q1993022"]):::iri list0c13(["wd:Q3088972"]):::iri list0c39(["wd:Q3088873"]):::iri list0c3(["wd:Q2453561"]):::iri list0c27(["wd:Q2573418"]):::iri list0c5(["wd:Q966245"]):::iri list0c37(["wd:Q664063"]):::iri list0c20(["wd:Q576324"]):::iri list0c28(["wd:Q1991324"]):::iri list0c40(["wd:Q2457562"]):::iri list0c8(["wd:Q2630766"]):::iri list0c24(["wd:Q2009420"]):::iri list0c23(["wd:Q1996372"]):::iri list0c25(["wd:Q3088648"]):::iri list0c17(["wd:Q3088922"]):::iri list0c30(["wd:Q2748217"]):::iri list0c14(["wd:Q3088866"]):::iri list0c29(["wd:Q3088921"]):::iri list0c4(["wd:Q2630440"]):::iri list0c10(["wd:Q2708432"]):::iri list0c33(["wd:Q2913944"]):::iri list0c19(["wd:Q641617"]):::iri list0c9(["wd:Q2499730"]):::iri list0c15(["wd:Q3088942"]):::iri list0c16(["wd:Q3088864"]):::iri list0c31(["wd:Q2631181"]):::iri list0c18(["wd:Q3088686"]):::iri list0c36(["wd:Q1991810"]):::iri list0c22(["wd:Q1991697"]):::iri list0c11(["wd:Q782109"]):::iri list0c6(["wd:Q2623774"]):::iri list0c1(["wd:Q603662"]):::iri list0c38(["wd:Q3088913"]):::iri list0c32(["wd:Q2742785"]):::iri list0c26(["wd:Q2467764"]):::iri list0c2(["wd:Q495735"]):::iri list0c1 --o f0 list0c2 --o f0 list0c3 --o f0 list0c4 --o f0 list0c5 --o f0 list0c6 --o f0 list0c7 --o f0 list0c8 --o f0 list0c9 --o f0 list0c10 --o f0 list0c11 --o f0 list0c12 --o f0 list0c13 --o f0 list0c14 --o f0 list0c15 --o f0 list0c16 --o f0 list0c17 --o f0 list0c18 --o f0 list0c19 --o f0 list0c20 --o f0 list0c21 --o f0 list0c22 --o f0 list0c23 --o f0 list0c24 --o f0 list0c25 --o f0 list0c26 --o f0 list0c27 --o f0 list0c28 --o f0 list0c29 --o f0 list0c30 --o f0 list0c31 --o f0 list0c32 --o f0 list0c33 --o f0 list0c34 --o f0 list0c35 --o f0 list0c36 --o f0 list0c37 --o f0 list0c38 --o f0 list0c39 --o f0 list0c40 --o f0 f0[[" in "]] f0 --> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c42 --"wikibase:language"--> c44 end v2 --"wdt:P31"--> c46 v2 --"wdt:P361"--> v1 subgraph minus1["MINUS"] style minus1 stroke-width:6px,fill:pink,stroke:red; v2 --"wdt:P576"--> a1 end subgraph minus2["MINUS"] style minus2 stroke-width:6px,fill:pink,stroke:red; v2 --"wdt:P361"--> c49 end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P625".-> v3 end