query-abf1223a60bf515a8cd8dccd5d3994f1

rq turtle/ttl

Objekte in Dresden ohne deutsches Label

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX schema: <http://schema.org/>
#-------------------------------------------------------------------------------
# Objekte in Dresden ohne deutsches Label
#-------------------------------------------------------------------------------
#defaultView:Table
SELECT DISTINCT 
?item ?label_de ?itemLabel ?itemDescription ?article ?image ?coordinates  

WHERE {
  ?item (wdt:P131/wdt:P279*) wd:Q1731. # in Dresden
#Artikellink
  OPTIONAL {
    ?article schema:about ?item.
    ?article schema:isPartOf <https://de.wikipedia.org/>.
  }
  # Commons-Link
  OPTIONAL {?commons    schema:about ?item ;
           schema:isPartOf <https://commons.wikimedia.org/> .
  } 
  OPTIONAL { ?item wdt:P18 ?image. }
  OPTIONAL { ?item wdt:P625 ?coordinates. }

  # kein deutsches Label
  OPTIONAL {
      ?item rdfs:label ?label_de.                                  # Label abspeichern
      filter (lang(?label_de) = "de").                             # Label nur auf Deutsch filtern
  }
  FILTER(!BOUND(?label_de))                                        # Filter Objekte, die kein deutsches Label haben
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,de,ru,es,fr,cs,pl,nl,dk" }     # Label in anderen Sprachen anzeigen
}
order by ?itemLabel ?itemDescription  ?article ?coordinates ?image

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?article"):::projected v8("?commons") v4("?coordinates"):::projected v5("?image"):::projected v7("?item"):::projected v2("?itemDescription"):::projected v1("?itemLabel"):::projected v6("?label_de"):::projected a1((" ")) c7([https://de.wikipedia.org/]):::iri c8([https://commons.wikimedia.org/]):::iri c13(["bd:serviceParam"]):::iri c15(["#91;AUTO_LANGUAGE#93;,en,de,ru,es,fr,cs,pl,nl,dk"]):::literal c4(["wd:Q1731"]):::iri f0[["not bound(?label_de)"]] f0 --> v6 v7 --"wdt:P131"--> a1 a1 --"wdt:P279"--> c4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."schema:about".-> v7 v3 --"schema:isPartOf"--> c7 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v8 -."schema:about".-> v7 v8 --"schema:isPartOf"--> c8 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v7 -."wdt:P18".-> v5 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v7 -."wdt:P625".-> v4 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v7 -."rdfs:label".-> v6 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c13 --"wikibase:language"--> c15 end