Mercurial > hg > svcore
diff rdf/RDFTransformFactory.cpp @ 480:3ffce691c9bf
* Add Redland datastore support to SimpleSPARQLQuery
author | Chris Cannam |
---|---|
date | Thu, 13 Nov 2008 14:23:23 +0000 |
parents | 5746c559af15 |
children | 82ab61fa9223 |
line wrap: on
line diff
--- a/rdf/RDFTransformFactory.cpp Wed Nov 12 16:39:29 2008 +0000 +++ b/rdf/RDFTransformFactory.cpp Thu Nov 13 14:23:23 2008 +0000 @@ -143,7 +143,7 @@ " } "; SimpleSPARQLQuery transformsQuery - (queryTemplate.arg("").arg(m_urlString).arg("")); + (m_urlString, queryTemplate.arg("").arg(m_urlString).arg("")); SimpleSPARQLQuery::ResultList transformResults = transformsQuery.execute(); @@ -203,7 +203,8 @@ QString optional = optionals[i]; SimpleSPARQLQuery query - (queryTemplate + (m_urlString, + queryTemplate .arg(QString("?%1").arg(optional)) .arg(m_urlString) .arg(QString("?transform vamp:%1 ?%2") @@ -277,7 +278,8 @@ QString pluginDescriptionURL) { SimpleSPARQLQuery outputQuery - (QString + (m_urlString, + QString ( " PREFIX vamp: <http://purl.org/ontology/vamp/> " @@ -322,7 +324,8 @@ QString pluginDescriptionURL) { SimpleSPARQLQuery paramQuery - (QString + (m_urlString, + QString ( " PREFIX vamp: <http://purl.org/ontology/vamp/> "