query-1c2adf87825948dde84c2709b7d59760

rq turtle/ttl

TODO

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#>
SELECT ?link ?linkLabel ?distance ?distanceUnit ?discovered ?typeLabel ?image
WHERE
{
  ?link wdt:P31/wdt:P279*/wdt:P31* wd:Q17444909.
  { ?link wdt:P18 ?image }
  OPTIONAL { ?link wdt:P31 ?type }
  OPTIONAL { ?link wdt:P2583 ?distance }
  OPTIONAL { ?link wdt:P575 ?discovered }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?discovered"):::projected v4("?distance"):::projected v2("?image"):::projected v1("?link"):::projected v3("?type") a1((" ")) a2((" ")) c3(["wd:Q17444909"]):::iri c8(["bd:serviceParam"]):::iri c10(["en"]):::literal v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> a2 a2 --"wdt:P31"--> c3 v1 --"wdt:P18"--> v2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P31".-> v3 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P2583".-> v4 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P575".-> v5 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end