sparna-git / Sparnatural

Sparnatural : visual knowledge graph explorer with SPARQL, in the browser, configurable with SHACL
http://sparnatural.eu
GNU Lesser General Public License v3.0
225 stars 41 forks source link

Test map widget on RiC-O data #566

Closed tfrancart closed 8 months ago

tfrancart commented 8 months ago

Data file provided by @florenceclavaud : Exemple_formats_coordonnees.txt

(1. write RiC-O file, 2. test map widget)

florenceclavaud commented 8 months ago

The coordinates are those of the first place described here: https://github.com/ArchivesNationalesFR/Referentiels/blob/main/lieux/rdf/FRAN_communes_01.rdf (L'Abergement-Clémenciat (Ain)). We did not release the full version of the file, as the whole dataset would be really huge, but we have the geometries of all French administrative areas, using the format of option 1. And we are also working on Parisian streets. So we would be happy to know if the third option in the txt file is correct (we believe it is) and works with Sparnatural; - in such a case we will fix our datasets. See also https://github.com/ArchivesNationalesFR/Referentiels/issues/6.

tfrancart commented 8 months ago

geoJSONLiteral does exists : https://opengeospatial.github.io/ogc-geosparql/geosparql11/spec.html#_geojson I don't see any occurrence of it in GraphDB, so this may not be supported.

tfrancart commented 8 months ago

A MULTIPOLYGON in WKT does require 3 parenthesis. There was 2 problems with the data :

Here is a working example : test-coordinates-thomas.zip

I can confirm that Sparnatural map widget works on this test file

florenceclavaud commented 8 months ago

OK, thanks a lot @tfrancart! This will allow us to move forward. And it is great to know that Sparnatural will be able to process those data. I think I also have found the spec where all this is defined, with examples - which we were missing in fact. @MZrhal, you can move on with the Parisian streets now, and we will work on the other places later on.