|
From: Jem R. <jem...@ft...> - 2016-07-25 15:14:07
|
I guess I could invoke a sparql update as follows:
INSERT {
?s <http://jems/latlong> ?latlong
}
WHERE {
?s <http://www.w3.org/2003/01/geo/wgs84_pos#lat> ?lat ;
<http://www.w3.org/2003/01/geo/wgs84_pos#long> ?long .
BIND(STRDT(STR(CONCAT(?lat, "#", ?long)), <
http://jems/custom/latlong/literaltype>) AS ?latlong)
}
However this will create many millions of essentially redundant statements?
Question, re: multiple predicate index still stands.
Cheers
Jem
On 25 July 2016 at 15:14, Jem Rayfield <jem...@ft...> wrote:
> Hello,
>
> I would like to index geonames lat/long using Blazegraphs geospatial index.
>
> Geonames lat/longs are provided in the following flavour of RDF:
>
> <http://sws.geonames.org/4667981/> <
> http://www.w3.org/2003/01/geo/wgs84_pos#lat> "35.79787" .
> <http://sws.geonames.org/4667981/> <
> http://www.w3.org/2003/01/geo/wgs84_pos#long> "-83.44683" .
>
> I was wondering if anyone has already worked on Custom Geospatial Data
> types, vocabularies etc for Geonames in Blazegraph ?
>
>
> It appears that one would need flatten the objects into a single
> multidimensional literal for indexing?
>
> <http://sws.geonames.org/4667981/> somenamespace:latlong
> "35.79787#-83.44683"
>
> With the configuration and definition of a new literal type?
>
> I am wondering if its possible to index on multiple known predicates
> rather than multidimensional literals with extended data types?
>
>
> Cheers
> --
> *Jem Rayfield*
> Head of Solution Architecture
> Technology
>
> +44 (0)7709 332482
> Number One Southwark Bridge, London SE1 9HL
>
>
> <https://www.facebook.com/financialtimes> <https://twitter.com/FT>
> <http://www.linkedin.com/company/financial-times>
> <https://plus.google.com/+FinancialTimes/posts>
> <http://www.youtube.com/user/FinancialTimesVideos>
>
--
*Jem Rayfield*
Head of Solution Architecture
Technology
+44 (0)7709 332482
Number One Southwark Bridge, London SE1 9HL
<https://www.facebook.com/financialtimes> <https://twitter.com/FT>
<http://www.linkedin.com/company/financial-times>
<https://plus.google.com/+FinancialTimes/posts>
<http://www.youtube.com/user/FinancialTimesVideos>
--
------------------------------
*This email was sent by a company owned by Financial Times Group Limited
("FT Group <http://aboutus.ft.com/corporate-information/#axzz3rajCSIAt>"),
registered office at Number One Southwark Bridge, London SE1 9HL.
Registered in England and Wales with company number 879531. This e-mail may
contain confidential information. If you are not the intended recipient,
please notify the sender immediately, delete all copies and do not
distribute it further. It could also contain personal views which are not
necessarily those of the FT Group. We may monitor outgoing or
incoming emails as permitted by law.*
|