query-b30369347333a81774f091e3e32ccf28

rq turtle/ttl

Extended list (only with articles to dewiki)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?authorabbrv ?itemLabelDe (SUBSTR(?birthdate1, 1, 10) as ?birthdate) (SUBSTR(?deathdate1, 1, 10) as ?deathdate) ?article WHERE {
  ?item wdt:P428 ?authorabbrv .
  ?article schema:about ?item .
  ?article schema:inLanguage "de" .
  FILTER (SUBSTR(str(?article), 1, 25) = "https://de.wikipedia.org/")
  OPTIONAL {?item wdt:P569 ?birthdate1} .
  OPTIONAL {?item wdt:P570 ?deathdate1} .
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "de" .
    ?item rdfs:label ?itemLabelDe .
   }
}
ORDER BY ASC(?authorabbrv)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?article"):::projected v1("?authorabbrv"):::projected v7("?birthdate") v4("?birthdate1"):::projected v8("?deathdate") v5("?deathdate1"):::projected v3("?item"):::projected v6("?itemLabelDe"):::projected c7(["de"]):::literal c11(["bd:serviceParam"]):::iri f0[["substring(str(?article),'1^^xsd:integer','25^^xsd:integer') = 'https://de.wikipedia.org/'"]] f0 --> v2 v3 --"wdt:P428"--> v1 v2 --"schema:about"--> v3 v2 --"schema:inLanguage"--> c7 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P569".-> v4 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P570".-> v5 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c7 v3 --"rdfs:label"--> v6 end bind1[/"substring(?birthdate1,'1^^xsd:integer','10^^xsd:integer')"/] v4 --o bind1 bind1 --as--o v7 bind2[/"substring(?deathdate1,'1^^xsd:integer','10^^xsd:integer')"/] v5 --o bind2 bind2 --as--o v8