query-374fc0f8bdd31fc68e1c793ad4f0a549

rq turtle/ttl

Relación entre esperanza de vida e índice de desarrollo humano de los países de la Unión Europea

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:ScatterChart
SELECT ?indice_desarrollo ?esperanza_vida ?paisLabel ?pais  WHERE {
  ?pais wdt:P463 wd:Q458 .
  ?pais wdt:P1081 ?indice_desarrollo .
  ?pais wdt:P2250 ?esperanza_vida .
  FILTER NOT EXISTS {
    ?pais p:P463 ?statement .
    ?statement ps:P463 wd:Q458 .
    ?statement pq:P582 ?fecha_fin .
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "es,en". } 
  } ORDER BY DESC (?esperanza_vida)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?esperanza_vida"):::projected v4("?fecha_fin") v5("?indice_desarrollo"):::projected v2("?pais"):::projected v3("?statement") c9(["bd:serviceParam"]):::iri c11(["es,en"]):::literal c3(["wd:Q458"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"p:P463"--> e0v2 e0v2 --"p:statement/P463"--> e0c3 e0v2 --"p:qualifier/P582"--> e0v3 e0v3("?fecha_fin"):::projected e0v1("?pais"):::projected e0v2("?statement"):::projected e0c3(["wd:Q458"]):::iri end f0--EXISTS--> f0e0 f0 --> v2 f0 --> c1 f0 --> v3 f0 --> c2 f0 --> c3 f0 --> c4 f0 --> v4 v2 --"p:P463"--> v3 v3 --"p:statement/P463"--> c3 v3 --"p:qualifier/P582"--> v4 v2 --"p:direct/P463"--> c3 v2 --"p:direct/P1081"--> v5 v2 --"p:direct/P2250"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end