Mercurial > hg > svcore
diff rdf/SimpleSPARQLQuery.cpp @ 449:a75edaa08d28
* Support importing features from RDF whose times are intervals rather
than only instants; import them into region or note models. Sadly
this makes RDF import much, much slower, because we need to work around
Rasqal's single-OPTIONAL limitation by repeatedly querying each feature
for time and range.
* Add segmentation view to region layer, and display label texts
author | Chris Cannam |
---|---|
date | Tue, 07 Oct 2008 12:42:17 +0000 |
parents | 5746c559af15 |
children | ef14acd6d102 |
line wrap: on
line diff
--- a/rdf/SimpleSPARQLQuery.cpp Fri Oct 03 15:43:15 2008 +0000 +++ b/rdf/SimpleSPARQLQuery.cpp Tue Oct 07 12:42:17 2008 +0000 @@ -121,6 +121,7 @@ m_reporter(0), m_cancelled(false) { + std::cerr << "SimpleSPARQLQuery::Impl: Query is: \"" << query.toStdString() << "\"" << std::endl; } SimpleSPARQLQuery::Impl::~Impl() @@ -233,6 +234,8 @@ QString text = (const char *)rasqal_literal_as_string(literal); + std::cerr << i << ". " << key.toStdString() << " -> " << text.toStdString() << " (type " << type << ")" << std::endl; + resultmap[key] = Value(type, text); }