query-6a5aebc97bdc872ffdf3bff29dc61022
Where do I do wrong things? https://w.wiki/ZaC
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#>
SELECT ?Norge ?author ?authorLabel ?f_dselsdato WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?Norge wdt:P27 wd:Q20.
OPTIONAL { }
?Norge wdt:P106 wd:Q482980.
OPTIONAL { ?Norge wdt:P569 ?f_dselsdato. }
OPTIONAL { ?Norge wdt:P50 ?forfatter. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?Norge"):::projected
v2("?f_dselsdato"):::projected
v3("?forfatter")
c2(["bd:serviceParam"]):::iri
c8(["wd:Q482980"]):::iri
c6(["wd:Q20"]):::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
v1 --"wdt:P27"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
end
v1 -."wdt:P106".-> c8
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P569".-> v2
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P50".-> v3
end