query-145168d84fb015eaae43065f4f53e34a
Verbindungen von Straßen als Bubble-Graph
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#>
#defaultView:Graph;Table
SELECT DISTINCT
?item ?itemLabel ?image ?other ?otherLabel
WHERE
{
?item wdt:P8138 wd:Q90886771.
VALUES ?instance_of
{
wd:Q34442 # Straße
wd:Q79007 # Innerortstraße
wd:Q21000333 # Einkaufsstraße
wd:Q174782 # Platz
wd:Q537127 # Straßenbrücke
wd:Q3397519 # Spannbetonbrücke
wd:Q1055465 # Balkenbrücke
wd:Q57577442 # Feldweg
wd:Q207934 # Allee
wd:Q628179 # Weg
wd:Q5004679 # Weg
wd:Q221722 # Radweg
wd:Q787113 # Promenade
}
?item wdt:P31 ?instance_of.
?item wdt:P2789 ?other .
OPTIONAL { ?item wdt:P18 ?image . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en,[AUTO_LANGUAGE]" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?image"):::projected
v2("?instance_of")
v1("?item"):::projected
v3("?other"):::projected
c7(["bd:serviceParam"]):::iri
c2(["wd:Q90886771"]):::iri
c9(["de,en,#91;AUTO_LANGUAGE#93;"]):::literal
v1 --"wdt:P8138"--> c2
bind0[/VALUES ?instance_of/]
bind0-->v2
bind00(["wd:Q34442"])
bind00 --> bind0
bind01(["wd:Q79007"])
bind01 --> bind0
bind02(["wd:Q21000333"])
bind02 --> bind0
bind03(["wd:Q174782"])
bind03 --> bind0
bind04(["wd:Q537127"])
bind04 --> bind0
bind05(["wd:Q3397519"])
bind05 --> bind0
bind06(["wd:Q1055465"])
bind06 --> bind0
bind07(["wd:Q57577442"])
bind07 --> bind0
bind08(["wd:Q207934"])
bind08 --> bind0
bind09(["wd:Q628179"])
bind09 --> bind0
bind010(["wd:Q5004679"])
bind010 --> bind0
bind011(["wd:Q221722"])
bind011 --> bind0
bind012(["wd:Q787113"])
bind012 --> bind0
v1 --"wdt:P31"--> v2
v1 --"wdt:P2789"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P18".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end