Serpa solar power plant

From solab
Revision as of 19:11, 2 October 2019 by Gio (talk | contribs) (Created page with "{{WikiDataPlant}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Error query  : PREFIX wd: <http://www.wikidata.org/entity/> PREFIX wds: <http://www.wikidata.org/entity/statement/> PREFIX wdv: <http://www.wikidata.org/value/> PREFIX wdt: <http://www.wikidata.org/prop/direct/> PREFIX wikibase: <http://wikiba.se/ontology#> PREFIX p: <http://www.wikidata.org/prop/> PREFIX ps: <http://www.wikidata.org/prop/statement/> PREFIX pq: <http://www.wikidata.org/prop/qualifier/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX bd: <http://www.bigdata.com/rdf#>

  1. defaultView:ImageGrid

SELECT DISTINCT

  1. ?lat
  2. ?lon

?coord ?itemLabel ?item ?item_label ?pic WHERE {

  1. /wd:Q285927 Q2298412

?item wdt:P31/wdt:P279* wd:Q2298412 . ?item rdfs:label ?item_label. FILTER (lang(?item_label) = "en") . FILTER(CONTAINS(?item_label, "Serpa solar power plant")) BIND(CONCAT("", ?item_label, "") AS ?itemLabel).

?item p:P625 ?coordinate .

  ?coordinate psv:P625 ?coordinate_node .
  ?coordinate_node wikibase:geoLatitude ?lat .
  ?coordinate_node wikibase:geoLongitude ?lon .

BIND(CONCAT("The following coordinate was not recognized: ", str.The following coordinate was not recognized: ", str.") AS ?coord).

OPTIONAL{ ?item wdt:P18 ?picl . }. BIND(CONCAT("<img src=", str(?picl), " height=100px width=100px>") AS ?pic).

} Error endpoint: https://query.wikidata.org/sparql Error http_response_code: 429 Error message: <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 429 Too Many Requests - Please retry in 120 seconds.</title> </head>

<body>

HTTP ERROR 429

Problem accessing /bigdata/namespace/wdq/sparql. Reason:

    Too Many Requests - Please retry in 120 seconds.


<a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.12.v20180830</a>


</body> </html>

Error number: 0 Error message:

Error data: Array (

   [query] => PREFIX wd: <http://www.wikidata.org/entity/>

PREFIX wds: <http://www.wikidata.org/entity/statement/> PREFIX wdv: <http://www.wikidata.org/value/> PREFIX wdt: <http://www.wikidata.org/prop/direct/> PREFIX wikibase: <http://wikiba.se/ontology#> PREFIX p: <http://www.wikidata.org/prop/> PREFIX ps: <http://www.wikidata.org/prop/statement/> PREFIX pq: <http://www.wikidata.org/prop/qualifier/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX bd: <http://www.bigdata.com/rdf#>

  1. defaultView:ImageGrid

SELECT DISTINCT

  1. ?lat
  2. ?lon

?coord ?itemLabel ?item ?item_label ?pic WHERE {

  1. /wd:Q285927 Q2298412

?item wdt:P31/wdt:P279* wd:Q2298412 . ?item rdfs:label ?item_label. FILTER (lang(?item_label) = "en") . FILTER(CONTAINS(?item_label, "Serpa solar power plant")) BIND(CONCAT("", ?item_label, "") AS ?itemLabel).

?item p:P625 ?coordinate .

  ?coordinate psv:P625 ?coordinate_node .
  ?coordinate_node wikibase:geoLatitude ?lat .
  ?coordinate_node wikibase:geoLongitude ?lon .

BIND(CONCAT("The following coordinate was not recognized: ", str.The following coordinate was not recognized: ", str.") AS ?coord).

OPTIONAL{ ?item wdt:P18 ?picl . }. BIND(CONCAT("<img src=", str(?picl), " height=100px width=100px>") AS ?pic).

}

   [output] => xml
   [Accept] => application/sparql-results+xml

)


Plant