query-0fd05bae9c40ebbadb9f84e885f628bb
Little query
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?author ?authorLabel ?lett ?liber ?tr ?ei ?ol
WHERE {
?author wdt:P7331 ?lett .
OPTIONAL { ?author wdt:P7208 ?liber . }
OPTIONAL { ?author wdt:P3365 ?tr . }
OPTIONAL { ?author wdt:P4223 ?ei . }
OPTIONAL { ?author wdt:P648 ?ol . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?author"):::projected
v5("?ei"):::projected
v2("?lett"):::projected
v3("?liber"):::projected
v6("?ol"):::projected
v4("?tr"):::projected
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P7331"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P7208".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P3365".-> v4
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P4223".-> v5
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P648".-> v6
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end