Greeting Wiki Tinkers!
I have been researching into Wikidata SPRQL, and am very much enjoying the Wikidata Query Service API https://query.wikidata.org/, tool. After some related research, I have managed to extract many related geo attributes of request records like ( e.g., cities in cali, parking in U.S. etc.) alongside pertinent fields like wikipedia site, GNSID, etc.
Although, one problem that I am having occurs when I requesting "bounding boxes" (i.e., northeast, southwest) point coordinates per record feature. In fact, I am able to get the pertinent point coordinates (lat and long), but how do we get the bounding boxes?
Is there a web location site where related queries are up for share? Is there a Wikidata SPRQL prominent themed archive somewhere?
Thanks All!
Kindest Regards, J.A. H.
Better geo support will be added with the next blazegraph update, AFAIK.
On Fri, Feb 19, 2016 at 7:44 PM Jorge Hernandez jorgeah2@uci.edu wrote:
Greeting Wiki Tinkers!
I have been researching into Wikidata SPRQL, and am very much enjoying the Wikidata Query Service API https://query.wikidata.org/, tool. After some related research, I have managed to extract many related geo attributes of request records like ( e.g., cities in cali, parking in U.S. etc.) alongside pertinent fields like wikipedia site, GNSID, etc.
Although, one problem that I am having occurs when I requesting "bounding boxes" (i.e., northeast, southwest) point coordinates per record feature. In fact, I am able to get the pertinent point coordinates (lat and long), but how do we get the bounding boxes?
Is there a web location site where related queries are up for share? Is there a Wikidata SPRQL prominent themed archive somewhere?
Thanks All!
Kindest Regards, J.A. H.
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Hi!
Although, one problem that I am having occurs when I requesting "bounding boxes" (i.e., northeast, southwest) point coordinates per record feature. In fact, I am able to get the pertinent point coordinates (lat and long), but how do we get the bounding boxes?
Well, we kind of have something in a sense that globe coordinate has precision:
https://www.mediawiki.org/wiki/Wikibase/Indexing/RDF_Dump_Format#Globe_coord...
which creates a circle around the point. But not boxes. Geo features in general are very much work in progress still.
Is there a web location site where related queries are up for share? Is there a Wikidata SPRQL prominent themed archive somewhere?
There are two places with query examples:
1. "Official" collection which is hooked directly to GUI in query.wikidata.org: https://www.mediawiki.org/wiki/Wikibase/Indexing/SPARQL_Query_Examples
2. https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries - page where a lot of community members add SPARQL experiments and discuss them. Check also the talk page.
You may be interested in this part: https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries#Working_...
wikidata-tech@lists.wikimedia.org