diff rdf/SimpleSPARQLQuery.h @ 440:5746c559af15

* Merge revisions 1131 to 1201 from sv-rdf-import branch
author Chris Cannam
date Thu, 18 Sep 2008 12:33:30 +0000
parents beb2948baa77
children 3ffce691c9bf
line wrap: on
line diff
--- a/rdf/SimpleSPARQLQuery.h	Thu Sep 18 12:09:32 2008 +0000
+++ b/rdf/SimpleSPARQLQuery.h	Thu Sep 18 12:33:30 2008 +0000
@@ -48,6 +48,10 @@
     bool isOK() const;
     QString getErrorString() const;
 
+    // Do a query and return the value for the given binding, from the
+    // first result that has a value for it
+    static Value singleResultQuery(QString query, QString binding);
+
 protected:
     class Impl;
     Impl *m_impl;