query-088cc3ae3cc76eb7db078c2a187ab342
Dänische Unternehmen
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 schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Table
#title: Dänemarks Wirtschaft auf wikipedia
SELECT ?item ?page_title ?article (GROUP_CONCAT(DISTINCT ?instanz; SEPARATOR = ", ") AS ?ist_ein) (GROUP_CONCAT(DISTINCT ?standort; SEPARATOR = ", ") AS ?liegt_in) ?dewiki ?location WHERE {
?item wdt:P17 wd:Q35;
wdt:P31 ?instance.
?article schema:about ?item;
schema:isPartOf <https://da.wikipedia.org/>;
schema:name ?page_title.
OPTIONAL { ?item wdt:P131 ?where. }
OPTIONAL {
?dewiki schema:about ?item;
schema:isPartOf <https://de.wikipedia.org/>;
schema:name ?de_title.
}
OPTIONAL { ?item wdt:P625 ?location. }
FILTER(?instance IN(wd:Q4830453, wd:Q6881511, wd:Q46970, wd:Q891723, wd:Q190928, wd:Q83405, wd:Q1357601, wd:Q6558431, wd:Q22687, wd:Q21980538))
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en".
?where rdfs:label ?standort.
?instance rdfs:label ?instanz.
}
}
GROUP BY ?item ?page_title ?article ?dewiki ?location
ORDER BY (?page_title)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?article"):::projected
v7("?de_title")
v6("?dewiki"):::projected
v2("?instance")
v10("?instanz"):::projected
v11("?ist_ein")
v3("?item"):::projected
v12("?liegt_in")
v8("?location"):::projected
v1("?page_title"):::projected
v9("?standort"):::projected
v5("?where")
c19([https://de.wikipedia.org/]):::iri
c12(["wd:Q35"]):::iri
c22(["bd:serviceParam"]):::iri
c24(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c16([https://da.wikipedia.org/]):::iri
list0c3(["wd:Q46970"]):::iri
list0c1(["wd:Q4830453"]):::iri
list0c4(["wd:Q891723"]):::iri
list0c6(["wd:Q83405"]):::iri
list0c8(["wd:Q6558431"]):::iri
list0c10(["wd:Q21980538"]):::iri
list0c7(["wd:Q1357601"]):::iri
list0c5(["wd:Q190928"]):::iri
list0c2(["wd:Q6881511"]):::iri
list0c9(["wd:Q22687"]):::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
f0[[" in "]]
f0 --> v2
v3 --"wdt:P17"--> c12
v3 --"wdt:P31"--> v2
v4 --"schema:about"--> v3
v4 --"schema:isPartOf"--> c16
v4 --"schema:name"--> v1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P131".-> v5
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v6 -."schema:about".-> v3
v6 --"schema:isPartOf"--> c19
v6 --"schema:name"--> v7
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P625".-> v8
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c22 --"wikibase:language"--> c24
v5 --"rdfs:label"--> v9
v2 --"rdfs:label"--> v10
end
bind3[/"?instanz"/]
v10 --o bind3
bind3 --as--o v11
bind4[/"?standort"/]
v9 --o bind4
bind4 --as--o v12