query-bdcffa9624e5f64141cf80c39ff290e7

rq turtle/ttl

Marbot

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#>
SELECT ?Urheber ?UrheberLabel ?Lizenz ?LizenzLabel WHERE {
  ?Urheber wdt:P170 wd:Q15080600.
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en".
    ?Urheber rdfs:label ?UrheberLabel.
  }
  OPTIONAL { ?Urheber wdt:P275 ?Lizenz. }
  SERVICE <https://query.wikidata.org/sparql> {
    SERVICE wikibase:label {
      bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en".
      ?Lizenz rdfs:label ?LizenzLabel.
    }
  }
}
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?Lizenz"):::projected v4("?LizenzLabel"):::projected v1("?Urheber"):::projected v2("?UrheberLabel"):::projected c4(["bd:serviceParam"]):::iri c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal c2(["wd:Q15080600"]):::iri v1 --"wdt:P170"--> c2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 v1 --"rdfs:label"--> v2 end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P275".-> v3 end subgraph s2["https://query.wikidata.org/sparql"] style s2 stroke-width:4px; subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 v3 --"rdfs:label"--> v4 end end