Dear Wiki user, You have subscribed to a wiki page or wiki category on "Marmotta Wiki" for change notification.
The "MARMOTTA-584/DeveloperDocumentation" page has been changed by Francisco Sumba: https://wiki.apache.org/marmotta/MARMOTTA-584/DeveloperDocumentation?action=diff&rev1=2&rev2=3 * kiwi-reasoner * kiwi-versioning + '''IN [[http://marmotta.apache.org/kiwi/triplestore.html | kiwi-triplestore ]] module ''' - [[http://marmotta.apache.org/kiwi/triplestore.html | kiwi-triplestore ]] is the core of Kiwi TripleStore, in this module the [[https://github.com/cuent/marmotta/blob/MARMOTTA-584/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/sail/KiWiValueFactory.java | KiwiValueFactory ]] class was modified to allow storing the geometry literal type from the RDF, in a geometry column of postgres db (Postgis). In the same way to retrieve the geometry literal. + This is the core of Kiwi TripleStore, in this module the [[https://github.com/cuent/marmotta/blob/MARMOTTA-584/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/sail/KiWiValueFactory.java | KiwiValueFactory ]] class was modified to allow storing the geometry literal type from the RDF, in a geometry column of postgres db (Postgis). In the same way to retrieve the geometry literal. - To achieve this goal it was necessary to create [[https://github.com/cuent/marmotta/blob/MARMOTTA-584/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/model/rdf/KiWiGeometryLiteral.java | GeometryKiwiLiteral ]]. This class lets you create geometry type literals. + To achieve this goal it was necessary to create [[https://github.com/cuent/marmotta/blob/MARMOTTA-584/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/model/rdf/KiWiGeometryLiteral.java | KiwiGeometryLiteral ]]. This class lets you create geometry type literals. Moreover, in the STORENODE function of [[https://github.com/cuent/marmotta/blob/MARMOTTA-584/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/KiWiConnection.java | kiwiConnection ]] class, the "node instanceof KiWiGeometryLiteral" conficion was added to filter geometry type literals and insert them into the database with "store.gliteral" statement from [[https://github.com/cuent/marmotta/blob/MARMOTTA-584/libraries/kiwi/kiwi-triplestore/src/main/resources/org/apache/marmotta/kiwi/persistence/pgsql/statements.properties | "statements.properties" ]] file. The "statements.properties" was upgrade to add the new "store.gliteral" statement that allows you to insert the new geometry literal. + + '''IN [[http://marmotta.apache.org/kiwi/sparql.html | kiwi-sparql ]] module ''' + + + + + + + ''' CREATE EXTENSION POSTGIS ''' + + To achieve the execution of spatial functions GeoSPARQL in this project has decided to use the PostGIS extension of Postgres DB. In this case, it made a translation of GeoSPARQL functions to Postgis SQL functions. + + In this section the process performed for updating the database to Version 5 to achieve support POSTGIS described. +
