<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Soprano: Soprano D-Bus Interface</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.1 --> <script type="text/javascript"> function hasClass(ele,cls) { return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)')); } function addClass(ele,cls) { if (!this.hasClass(ele,cls)) ele.className += " "+cls; } function removeClass(ele,cls) { if (hasClass(ele,cls)) { var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)'); ele.className=ele.className.replace(reg,' '); } } function toggleVisibility(linkObj) { var base = linkObj.getAttribute('id'); var summary = document.getElementById(base + '-summary'); var content = document.getElementById(base + '-content'); var trigger = document.getElementById(base + '-trigger'); if ( hasClass(linkObj,'closed') ) { summary.style.display = 'none'; content.style.display = 'block'; trigger.src = 'open.png'; removeClass(linkObj,'closed'); addClass(linkObj,'opened'); } else if ( hasClass(linkObj,'opened') ) { summary.style.display = 'block'; content.style.display = 'none'; trigger.src = 'closed.png'; removeClass(linkObj,'opened'); addClass(linkObj,'closed'); } return false; } </script> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> </div> <div class="header"> <div class="headertitle"> <h1><a class="el" href="namespaceSoprano.html">Soprano</a> D-Bus Interface </h1> </div> </div> <div class="contents"> <dl class="warning"><dt><b>Warning:</b></dt><dd>When using the Soprano D-Bus interface from a QT application there is normally no need to use the D-Bus interfaces directly. <a class="el" href="classSoprano_1_1Client_1_1DBusClient.html" title="Core class to handle a connection to a Soprano server through the DBus interface.">Soprano::Client::DBusClient</a> and <a class="el" href="classSoprano_1_1Client_1_1DBusModel.html" title="Interface to a DBus server model.">Soprano::Client::DBusModel</a> provide very convenient wrapping classes.</dd></dl> <p>Soprano provides a server implementation with a D-Bus interface. The server can be deployed in two different ways: by running the sopranod server application which registers the org.soprano.Server service or by using the <a class="el" href="classSoprano_1_1Server_1_1ServerCore.html" title="Central Soprano server class.">Soprano::Server::ServerCore</a> class and calling <a class="el" href="classSoprano_1_1Server_1_1ServerCore.html#a3024435aa02cdb52e6636cf62f1fc93e">Soprano::Server::ServerCore::registerAsDBusObject</a> method.</p> <p>The Soprano server uses a set of D-Bus interfaces. When registered the server exports the org.soprano.Server interface on the /org/soprano/Server object.</p> <h2><a class="anchor" id="soprano_server_dbus_server_interface"></a> org.soprano.Server</h2> <div class="fragment"><pre class="fragment"> <interface <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1Xesam.html#a29e3031b7b2f544dc0a4fd9ce8af362f">name</a>=<span class="stringliteral">"org.soprano.Server"</span>> <method name=<span class="stringliteral">"createModel"</span>> <arg name=<span class="stringliteral">"name"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"s"</span> direction=<span class="stringliteral">"in"</span> /> <arg name=<span class="stringliteral">"model"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"s"</span> direction=<span class="stringliteral">"out"</span> /> </method> <method name=<span class="stringliteral">"removeModel"</span>> <arg name=<span class="stringliteral">"name"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"s"</span> direction=<span class="stringliteral">"in"</span> /> </method> <method name=<span class="stringliteral">"allModels"</span>> <arg name=<span class="stringliteral">"models"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"as"</span> direction=<span class="stringliteral">"out"</span> /> </method> </interface> </pre></div><p>The org.soprano.Server interface provides two main methods to create and remove Soprano models:</p> <p><b>org.soprano.Server.createModel</b></p> <p>The createModel method only takes a single argument: the model's unique name which identifies the model. The method returns the path to the D-Bus object which exports the org.soprano.Model interface.</p> <p><b>org.soprano.Server.removeModel</b></p> <p>The removeModel method also just takes the one parameter that is the model's name. It completely removes the model including the data on disk. Use with care.</p> <h2><a class="anchor" id="soprano_server_dbus_model_interface"></a> org.soprano.Model</h2> <div class="fragment"><pre class="fragment"> <interface name=<span class="stringliteral">"org.soprano.Model"</span>> <method name=<span class="stringliteral">"addStatement"</span>> <arg name=<span class="stringliteral">"statement"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"((isss)(isss)(isss)(isss))"</span> direction=<span class="stringliteral">"in"</span> /> <arg name=<span class="stringliteral">"errorCode"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"i"</span> direction=<span class="stringliteral">"out"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.In0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Statement"</span> /> </method> <method name=<span class="stringliteral">"removeStatement"</span>> <arg name=<span class="stringliteral">"statement"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"((isss)(isss)(isss)(isss))"</span> direction=<span class="stringliteral">"in"</span> /> <arg name=<span class="stringliteral">"errorCode"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"i"</span> direction=<span class="stringliteral">"out"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.In0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Statement"</span> /> </method> <method name=<span class="stringliteral">"removeAllStatements"</span>> <arg name=<span class="stringliteral">"statement"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"((isss)(isss)(isss)(isss))"</span> direction=<span class="stringliteral">"in"</span> /> <arg name=<span class="stringliteral">"errorCode"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"i"</span> direction=<span class="stringliteral">"out"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.In0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Statement"</span> /> </method> <method name=<span class="stringliteral">"containsStatement"</span>> <arg name=<span class="stringliteral">"statement"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"((isss)(isss)(isss)(isss))"</span> direction=<span class="stringliteral">"in"</span> /> <arg name=<span class="stringliteral">"reply"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"b"</span> direction=<span class="stringliteral">"out"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.In0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Statement"</span> /> </method> <method name=<span class="stringliteral">"containsAnyStatement"</span>> <arg name=<span class="stringliteral">"statement"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"((isss)(isss)(isss)(isss))"</span> direction=<span class="stringliteral">"in"</span> /> <arg name=<span class="stringliteral">"reply"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"b"</span> direction=<span class="stringliteral">"out"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.In0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Statement"</span> /> </method> <method name=<span class="stringliteral">"listStatements"</span>> <arg name=<span class="stringliteral">"statement"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"((isss)(isss)(isss)(isss))"</span> direction=<span class="stringliteral">"in"</span> /> <arg name=<span class="stringliteral">"iterator"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"s"</span> direction=<span class="stringliteral">"out"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.In0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Statement"</span> /> </method> <method name=<span class="stringliteral">"listContexts"</span>> <arg name=<span class="stringliteral">"iterator"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"s"</span> direction=<span class="stringliteral">"out"</span> /> </method> <method name=<span class="stringliteral">"statementCount"</span>> <arg name=<span class="stringliteral">"count"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"i"</span> direction=<span class="stringliteral">"out"</span> /> </method> <method name=<span class="stringliteral">"isEmpty"</span>> <arg name=<span class="stringliteral">"reply"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"b"</span> direction=<span class="stringliteral">"out"</span> /> </method> <method name=<span class="stringliteral">"executeQuery"</span>> <arg name=<span class="stringliteral">"query"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"s"</span> direction=<span class="stringliteral">"in"</span> /> <arg name=<span class="stringliteral">"queryLang"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"s"</span> direction=<span class="stringliteral">"in"</span> /> <arg name=<span class="stringliteral">"iterator"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"s"</span> direction=<span class="stringliteral">"out"</span> /> </method> <method name=<span class="stringliteral">"createBlankNode"</span>> <arg name=<span class="stringliteral">"node"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"(isss)"</span> direction=<span class="stringliteral">"out"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.Out0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Node"</span> /> </method> <signal name=<span class="stringliteral">"statementsAdded"</span> /> <signal name=<span class="stringliteral">"statementsRemoved"</span> /> <signal name=<span class="stringliteral">"statementAdded"</span>> <arg name=<span class="stringliteral">"statement"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"((isss)(isss)(isss)(isss))"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.In0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Statement"</span> /> </signal> <signal name=<span class="stringliteral">"statementRemoved"</span>> <arg name=<span class="stringliteral">"statement"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"((isss)(isss)(isss)(isss))"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.In0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Statement"</span> /> </signal> </interface> </pre></div><p>The org.soprano.Model interface maps the <a class="el" href="classSoprano_1_1Model.html" title="A Model is the central class in Soprano. It is a queryable collection of RDF quadruples, i.e statements.">Soprano::Model</a> API to a D-Bus interface. The only difference is that instead of iterators the interface returns D-Bus object paths which provide D-Bus interfaces themselves and that the executeQuery method does take two string parameters: the query itself and the query language.</p> <p>The method listContexts returns the path of a D-Bus object exporting the org.soprano.NodeIterator interface, listStatements returns the path of a D-Bus object exporting the org.soprano.StatementIterator interface, and executeQuery returns the path of a D-Bus object exporting the org.soprano.QueryResultIterator interface.</p> <p>The D-Bus interface to the <a class="el" href="classSoprano_1_1Model.html" title="A Model is the central class in Soprano. It is a queryable collection of RDF quadruples, i.e statements.">Soprano::Model</a> obviously needs to encode <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Soprano::Node</a> instances. A <a class="el" href="classSoprano_1_1Node.html" title="A Node represents one RDF resource.">Soprano::Node</a> is encoded as follows: </p> <ul> <li>The Node type as defined in <a class="el" href="classSoprano_1_1Node.html#ac63f6890978f00f3da8da427f4c5d16c">Soprano::Node::Type</a>: 0 - empty node, 1 - resource node, 2 - literal node, 3 - blank node </li> <li>A string representation of the Node (the encoded URI for resource nodes, the identifier for blank nodes, and the literal value for literal nodes) </li> <li>The language code (non-empty only for literal nodes) </li> <li>The encoded datatype URI (non-empty only for literal nodes)</li> </ul> <h2><a class="anchor" id="soprano_server_dbus_node_iterator_interface"></a> org.soprano.NodeIterator</h2> <div class="fragment"><pre class="fragment"> <interface name=<span class="stringliteral">"org.soprano.NodeIterator"</span>> <method name=<span class="stringliteral">"next"</span>> <arg name=<span class="stringliteral">"reply"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"b"</span> direction=<span class="stringliteral">"out"</span> /> </method> <method name=<span class="stringliteral">"current"</span>> <arg name=<span class="stringliteral">"node"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"(isss)"</span> direction=<span class="stringliteral">"out"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.Out0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Node"</span> /> </method> <method name=<span class="stringliteral">"close"</span> /> </interface> </pre></div><p>The node iterator interface maps very closely to the API of <a class="el" href="classSoprano_1_1NodeIterator.html" title="An iterator that provides a stream of Nodes.">Soprano::NodeIterator</a>.</p> <h2><a class="anchor" id="soprano_server_dbus_statement_iterator_interface"></a> org.soprano.StatementIterator</h2> <div class="fragment"><pre class="fragment"> <interface name=<span class="stringliteral">"org.soprano.StatementIterator"</span>> <method name=<span class="stringliteral">"next"</span>> <arg name=<span class="stringliteral">"reply"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"b"</span> direction=<span class="stringliteral">"out"</span> /> </method> <method name=<span class="stringliteral">"current"</span>> <arg name=<span class="stringliteral">"statement"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"((isss)(isss)(isss)(isss))"</span> direction=<span class="stringliteral">"out"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.Out0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Statement"</span> /> </method> <method name=<span class="stringliteral">"close"</span> /> </interface> </pre></div><p>The statement iterator interface maps very closely to the API of <a class="el" href="classSoprano_1_1StatementIterator.html" title="An iterator that provides a stream of Statements.">Soprano::StatementIterator</a>.</p> <h2><a class="anchor" id="soprano_server_dbus_queryresult_iterator_interface"></a> org.soprano.QueryResultIterator</h2> <div class="fragment"><pre class="fragment"> <interface name=<span class="stringliteral">"org.soprano.QueryResultIterator"</span>> <method name=<span class="stringliteral">"next"</span>> <arg name=<span class="stringliteral">"reply"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"b"</span> direction=<span class="stringliteral">"out"</span> /> </method> <method name=<span class="stringliteral">"current"</span>> <arg name=<span class="stringliteral">"node"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"a{s(isss)}"</span> direction=<span class="stringliteral">"out"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.Out0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::BindingSet"</span> /> </method> <method name=<span class="stringliteral">"close"</span> /> <method name=<span class="stringliteral">"currentStatement"</span>> <arg name=<span class="stringliteral">"statement"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"((isss)(isss)(isss)(isss))"</span> direction=<span class="stringliteral">"out"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.Out0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Statement"</span> /> </method> <method name=<span class="stringliteral">"bindingByName"</span>> <arg name=<span class="stringliteral">"name"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"s"</span> direction=<span class="stringliteral">"in"</span> /> <arg name=<span class="stringliteral">"node"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"(isss)"</span> direction=<span class="stringliteral">"out"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.Out0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Node"</span> /> </method> <method name=<span class="stringliteral">"bindingByIndex"</span>> <arg name=<span class="stringliteral">"index"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"i"</span> direction=<span class="stringliteral">"in"</span> /> <arg name=<span class="stringliteral">"node"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"(isss)"</span> direction=<span class="stringliteral">"out"</span> /> <<a class="code" href="namespaceSoprano_1_1Vocabulary_1_1NAO.html#a254f0832fbf85642da893081dd160dbd">annotation</a> name=<span class="stringliteral">"com.trolltech.QtDBus.QtTypeName.Out0"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a0e57b07dcc5317ad7925ebdb466528c0">value</a>=<span class="stringliteral">"Soprano::Node"</span> /> </method> <method name=<span class="stringliteral">"bindingCount"</span>> <arg name=<span class="stringliteral">"names"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"i"</span> direction=<span class="stringliteral">"out"</span> /> </method> <method name=<span class="stringliteral">"bindingNames"</span>> <arg name=<span class="stringliteral">"names"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"as"</span> direction=<span class="stringliteral">"out"</span> /> </method> <method name=<span class="stringliteral">"boolValue"</span>> <arg name=<span class="stringliteral">"reply"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"b"</span> direction=<span class="stringliteral">"out"</span> /> </method> <method name=<span class="stringliteral">"isGraph"</span>> <arg name=<span class="stringliteral">"reply"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"b"</span> direction=<span class="stringliteral">"out"</span> /> </method> <method name=<span class="stringliteral">"isBinding"</span>> <arg name=<span class="stringliteral">"reply"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"b"</span> direction=<span class="stringliteral">"out"</span> /> </method> <method name=<span class="stringliteral">"isBool"</span>> <arg name=<span class="stringliteral">"reply"</span> <a class="code" href="namespaceSoprano_1_1Vocabulary_1_1RDF.html#a28ec91b268156971dedc36c027a023a6">type</a>=<span class="stringliteral">"b"</span> direction=<span class="stringliteral">"out"</span> /> </method> </interface> </pre></div><p>The query result iterator interface maps closely to the <a class="el" href="classSoprano_1_1QueryResultIterator.html" title="An iterator for query results.">Soprano::QueryResultIterator</a> API except that it does not use method overloading (compare bindingByName and bindingByIndex). </p> </div> <hr class="footer"/><address class="footer"><small>Generated on Thu Oct 21 2010 for Soprano by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>