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=8&rev2=9 = Developer Documentation = - For MARMOTTA-584 project, the GeoSPARQL support is implemented for Kiwi Triplestore. + For MARMOTTA-584 project, GeoSPARQL is implemented in Kiwi Triplestore Library. @@ -12, +12 @@ The KiWi triple store is a high performance transactional triple store backend for OpenRDF Sesame building on top of a relational database (currently H2, PostgreSQL, or MySQL). For more information please review [[http://marmotta.apache.org/kiwi/index.html]] - Just as described on the website of kiwi, kiwi is composed of several modules: + Just as mentioned in the website of Apache Marmotta, kiwi is composed of several modules: * kiwi-triplestore * kiwi-transactions @@ -22, +22 @@ * kiwi-reasoner * kiwi-versioning - '''IN [[http://marmotta.apache.org/kiwi/triplestore.html | kiwi-triplestore ]] module ''' + At next, the modules changed to implement GeoSPARQL will be described. - 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 in createLiteral(...) function 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 | KiwiGeometryLiteral ]]. This class lets you create geometry type literals. + '''[[http://marmotta.apache.org/kiwi/triplestore.html | kiwi-triplestore ]] Module ''' + + This is the core of Kiwi TripleStore, in this module the function createLiteral(...) within 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 the storing of GEOMETRY Literal Type from the RDF, in a geometry column of Postgres DB using Postgis Extension. In the same way to retrieve the geometry literal. + + To achieve this goal it was necessary to create the class [[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 allows you to create geometry type literals. + + - The following figure is a code fragment of the "createLiteral(...)" function that lets you create a new Geometry Type Literal. + The following figure is a code fragment of the "createLiteral(...)" to create a new Geometry Type Literal. {{attachment:kiwiValueFactory.PNG}} @@ -46, +50 @@ - '''IN [[http://marmotta.apache.org/kiwi/sparql.html | kiwi-sparql ]] module ''' + '''[[http://marmotta.apache.org/kiwi/sparql.html | kiwi-sparql ]] module ''' ''' CREATE EXTENSION POSTGIS '''
