Template:WikiDataPlant
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#>
- defaultView:ImageGrid
SELECT DISTINCT
- ?lat
- ?lon
?coord ?itemLabel ?item ?item_label ?pic WHERE {
- /wd:Q285927 Q2298412
?item wdt:P31/wdt:P279* wd:Q2298412 . ?item rdfs:label ?item_label. FILTER (lang(?item_label) = "en") . FILTER(CONTAINS(?item_label, "WikiDataPlant")) 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.") 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#>
- defaultView:ImageGrid
SELECT DISTINCT
- ?lat
- ?lon
?coord ?itemLabel ?item ?item_label ?pic WHERE {
- /wd:Q285927 Q2298412
?item wdt:P31/wdt:P279* wd:Q2298412 . ?item rdfs:label ?item_label. FILTER (lang(?item_label) = "en") . FILTER(CONTAINS(?item_label, "WikiDataPlant")) 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.") 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
)