Hi, some minor comments :)
2015-05-11 8:30 GMT+02:00 Sergio Fernández <[email protected]>: > Hi Francisco, > > welcome on board, and congratulations for the grant of your project! > > On Thu, May 7, 2015 at 7:54 PM, FRANCISCO XAVIER SUMBA TORAL < > [email protected]> wrote: > > > > After the analysis of both situations, I have decided to work with the > > "Native Support and Query Translation" > > > > I think that approach would better for us, since the KiWi triplestore > basically maps the SPARQL queries directly to SQL. Therefore we can add > GeoSPAQL aligned with that, reusing the native geo capabilities that > PostGIS provide, right? > Actually it can be a mix of both approaches. What I'd recommend is to use PostgreSQL triggers to materialize *some* of the data, and then rely on query translation to PostGIS constructs like Sergio suggests. What you could then do is, whenever a "location" literal (or whatever combination of triples) is added or removed, trigger updating a separate table with geo information that allows specialized geo access. Another option is to create a VIEW on the triples and nodes tables that allows for this access. A view can then later be materialized (or partly materialized) if needed. > > We already worked on that direction to support better full text search in > SPARQL. I'd recommend you to start taking a look how that extension is > implemented. You can find some documentation at: > > http://marmotta.apache.org/kiwi/sparql.html#Marmotta_Extensions > > If you think is interesting, I can grant you access to our wiki to start to > write down such things up from the beginning. > > Since I implemented most of the database support, please don't hesitate to ask me, even if I might be a bit slow to react with my move to my new job at Google. Sebastian
