query-0648f8cc460006e82b7235d15a37ca38

rq turtle/ttl

Abfrage von Eigentümer*innen von Objekten

Use at

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#>
#title:Eigentumsgraph von Objekten aus dem GLAM-BW-Projekt
#defaultView:Graph
SELECT ?owner ?ownerLabel ?ownerImage ?item ?itemLabel ?image ?edgeLabel  ?rgb WHERE {
  ?item wdt:P5008 wd:Q122901643;
    wdt:P127 ?owner;
    wdt:P18 ?image.
  OPTIONAL { ?owner wdt:P18 ?ownerImage. }
  BIND("besitzt" AS ?edgeLabel)
  BIND("cbcbcb" AS ?rgb)
  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; v5("?edgeLabel"):::projected v3("?image"):::projected v1("?item"):::projected v2("?owner"):::projected v4("?ownerImage"):::projected v6("?rgb"):::projected c6(["bd:serviceParam"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal c2(["wd:Q122901643"]):::iri v1 --"wdt:P5008"--> c2 v1 --"wdt:P127"--> v2 v1 --"wdt:P18"--> v3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P18".-> v4 end bind0[/"'besitzt'"/] bind0 --as--o v5 bind1[/"'cbcbcb'"/] bind1 --as--o v6 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end