query-33e83ab3ab5eebda2edb8ac654ddb4c7
described by ScomCat < scomcat.net >
with instance, logo, etc.
SELECT ?item ?itemLabel ?instance_ofLabel ?official_website ?inception ?short_name ?logo_image ?itemDescription WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } ?item wdt:P1343 wd:Q105080154. OPTIONAL { ?item wdt:P571 ?inception. } OPTIONAL { ?item wdt:P1813 ?short_name. } OPTIONAL { ?item wdt:P856 ?official_website. } OPTIONAL { ?item wdt:P31 ?instance_of. } OPTIONAL { ?item wdt:P154 ?logo_image. } } ORDER BY (?itemLabel) LIMIT 2000
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#>
# described by ScomCat < scomcat.net >
# with instance, logo, etc.
SELECT ?item ?itemLabel ?instance_ofLabel ?official_website ?inception ?short_name ?logo_image ?itemDescription
WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?item wdt:P1343 wd:Q105080154.
OPTIONAL { ?item wdt:P571 ?inception. }
OPTIONAL { ?item wdt:P1813 ?short_name. }
OPTIONAL { ?item wdt:P856 ?official_website. }
OPTIONAL { ?item wdt:P31 ?instance_of. }
OPTIONAL { ?item wdt:P154 ?logo_image. }
}
ORDER BY (?itemLabel)
LIMIT 2000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?inception"):::projected
v6("?instance_of")
v2("?item"):::projected
v1("?itemLabel"):::projected
v7("?logo_image"):::projected
v5("?official_website"):::projected
v4("?short_name"):::projected
c2(["bd:serviceParam"]):::iri
c6(["wd:Q105080154"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v2 --"wdt:P1343"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P571".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P1813".-> v4
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P856".-> v5
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P31".-> v6
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P154".-> v7
end