Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 5fb1c39f9f9130a3cc01e8b1ffa5c0f8 > files > 4472

libreoffice-devel-3.5.4-4.x86_64.rpm

<html>
<head>
<title>Interface XRepository</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimain"><a href="XRepository-xref.html" class="navimain">Use</a></td>
<td class="navimainnone">Devguide</td>
<td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table class="navisub" border="0" cellpadding="0">
<tr>
<td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td>
<td class="navisub">Attributes' Summary</td>
<td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td>
<td class="navisub">Attributes' Details</td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">rdf</a> :: </p>
</td>
</tr>
<tr>
<td class="title"><table class="title-table" width="99%">
<tr>
<td width="25%" class="title2">unpublished </td>
<td width="50%" class="title">interface XRepository</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td/></tr>
<tr>
<td><dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>not published</i></dd>
<dt><b>Description</b></dt>
<dd>provides access to a set of named RDF graphs.

 </dd>
<dd><p>
 A repository for storing information according to the data model of the
 <a href="http://www.w3.org/RDF/">Resource Description Framework</a>.
 This interface may be used e.g. for repositories that correspond to a
 loaded ODF document, or for repositories that are backed by some kind of
 database.
 </p>
 <p>
 The RDF triples are stored as a set of named RDF graphs.
 Importing and exporting files in the
 <a href="http://www.w3.org/TR/rdf-syntax-grammar/">RDF/XML</a>
 format is supported.
 Support for other file formats is optional.
 Support for querying the repository with the
 <a href="http://www.w3.org/TR/rdf-sparql-query/">SPARQL</a>
 query language is provided.
 </p>


 </dd>
<dt><b>Since </b></dt>
<dd>OOo 3.2 </dd>
<dt><b>See also</b></dt>
<dd><a href="XRepositorySupplier.html">XRepositorySupplier</a>, <a href="XDocumentRepository.html">XDocumentRepository</a></dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Methods' Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="#createBlankNode">createBlankNode</a></td>
<td class="imsum_right">creates a fresh unique blank node.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#importGraph">importGraph</a></td>
<td class="imsum_right">imports a named graph into the repository.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#exportGraph">exportGraph</a></td>
<td class="imsum_right">exports a named graph from the repository.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getGraphNames">getGraphNames</a></td>
<td class="imsum_right">gets the names of all the graphs in the repository.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getGraph">getGraph</a></td>
<td class="imsum_right">gets a graph by its name.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#createGraph">createGraph</a></td>
<td class="imsum_right">creates a graph with the given name.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#destroyGraph">destroyGraph</a></td>
<td class="imsum_right">destroys the graph with the given name, and removes it from the
 repository.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getStatements">getStatements</a></td>
<td class="imsum_right">gets matching RDF statements from the repository.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#querySelect">querySelect</a></td>
<td class="imsum_right">executes a SPARQL "SELECT" query.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#queryConstruct">queryConstruct</a></td>
<td class="imsum_right">executes a SPARQL "CONSTRUCT" query.

 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#queryAsk">queryAsk</a></td>
<td class="imsum_right">executes a SPARQL "ASK" query.

 &nbsp;</td>
</tr>
</table>
<a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Methods' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="createBlankNode" class="membertitle">createBlankNode</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3"><a href="XBlankNode.html">XBlankNode</a></td>
</tr>
<tr>
<td valign="top"><b>createBlankNode</b>();</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>creates a fresh unique blank node.

 </dd>
<dt><b>Returns</b></dt>
<dd>a newly generated blank node which is unique in this repository
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="importGraph" class="membertitle">importGraph</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3"><a href="XNamedGraph.html">XNamedGraph</a></td>
</tr>
<tr>
<td valign="top"><b>importGraph</b>(</td>
<td valign="top">[in] short</td>
<td valign="bottom">&nbsp;Format,</td>
</tr>
<tr>
<td/><td valign="top">[in] ::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/XInputStream.html">XInputStream</a></td>
<td valign="bottom">&nbsp;InStream,</td>
</tr>
<tr>
<td/><td valign="top">[in] <a href="XURI.html">XURI</a></td>
<td valign="bottom">&nbsp;GraphName,</td>
</tr>
<tr>
<td/><td valign="top">[in] <a href="XURI.html">XURI</a></td>
<td valign="bottom">&nbsp;BaseURI )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a>,<br>
::com::sun::star::<a href="../datatransfer/module-ix.html">datatransfer</a>::<a href="../datatransfer/UnsupportedFlavorException.html">UnsupportedFlavorException</a>,<br>
::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/ElementExistException.html">ElementExistException</a>,<br>
<a href="ParseException.html">ParseException</a>,<br>
<a href="RepositoryException.html">RepositoryException</a>,<br>
::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/IOException.html">IOException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>imports a named graph into the repository.

 </dd>
<dd><p>
 Implementations must support RDF/XML format.
 Support for other RDF formats is optional.
 If the format is not supported by the implementation, an
 
 ::com::sun::star::<a href="../datatransfer/module-ix.html">datatransfer</a>::<a href="../datatransfer/UnsupportedFlavorException.html">UnsupportedFlavorException</a> is raised.
 If the format requires use of a BaseURI, but none is given, an
 ::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a>
 is raised.
 </p>

 </dd>
<dt><b>Parameter Format</b></dt>
<dd>the format of the input file

 </dd>
<dt><b>Parameter InStream</b></dt>
<dd>the input stream, containing an RDF file in the specified format

 </dd>
<dt><b>Parameter GraphName</b></dt>
<dd>the name of the graph that is imported

 </dd>
<dt><b>Parameter BaseURI</b></dt>
<dd>a base URI to resolve relative URI references

 </dd>
<dt><b>Returns</b></dt>
<dd>the imported graph

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::IllegalArgumentException
 if the given stream or the GraphName is <b>NULL</b>,
 or BaseURI is <b>NULL</b> and the format requires use of a base URI

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::datatransfer::UnsupportedFlavorException
 if the format requested is unknown or not supported

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::container::ElementExistException
 if a graph with the given GraphName already exists in the
 repository

 </dd>
<dt><b>Throws</b></dt>
<dd>ParseException
 if the input does not conform to the specified file format.

 </dd>
<dt><b>Throws</b></dt>
<dd>RepositoryException
 if an error occurs when accessing the repository.

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::io::IOException
 if an I/O error occurs.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="FileFormat.html">FileFormat</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="exportGraph" class="membertitle">exportGraph</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>exportGraph</b>(</td>
<td valign="top">[in] short</td>
<td valign="bottom">&nbsp;Format,</td>
</tr>
<tr>
<td/><td valign="top">[in] ::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/XOutputStream.html">XOutputStream</a></td>
<td valign="bottom">&nbsp;OutStream,</td>
</tr>
<tr>
<td/><td valign="top">[in] <a href="XURI.html">XURI</a></td>
<td valign="bottom">&nbsp;GraphName,</td>
</tr>
<tr>
<td/><td valign="top">[in] <a href="XURI.html">XURI</a></td>
<td valign="bottom">&nbsp;BaseURI )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a>,<br>
::com::sun::star::<a href="../datatransfer/module-ix.html">datatransfer</a>::<a href="../datatransfer/UnsupportedFlavorException.html">UnsupportedFlavorException</a>,<br>
::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/NoSuchElementException.html">NoSuchElementException</a>,<br>
<a href="RepositoryException.html">RepositoryException</a>,<br>
::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/IOException.html">IOException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>exports a named graph from the repository.

 </dd>
<dd><p>
 Implementations must support RDF/XML format.
 Support for other RDF formats is optional.
 If the format is not supported by the implementation, an
 
 ::com::sun::star::<a href="../datatransfer/module-ix.html">datatransfer</a>::<a href="../datatransfer/UnsupportedFlavorException.html">UnsupportedFlavorException</a> is raised.
 </p>

 </dd>
<dt><b>Parameter Format</b></dt>
<dd>the format of the output file

 </dd>
<dt><b>Parameter OutStream</b></dt>
<dd>the target output stream

 </dd>
<dt><b>Parameter GraphName</b></dt>
<dd>the name of the graph that is to be exported

 </dd>
<dt><b>Parameter BaseURI</b></dt>
<dd>a base URI to resolve relative URI references

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::IllegalArgumentException
 if the given stream or the GraphName is <b>NULL</b>,
 or BaseURI is <b>NULL</b> and the format requires use of a base URI

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::datatransfer::UnsupportedFlavorException
 if the format requested is unknown or not supported

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::container::NoSuchElementException
 if a graph with the given GraphName does not exist

 </dd>
<dt><b>Throws</b></dt>
<dd>RepositoryException
 if an error occurs when accessing the repository.

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::io::IOException
 if an I/O error occurs.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="FileFormat.html">FileFormat</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getGraphNames" class="membertitle">getGraphNames</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">sequence&lt; <a href="XURI.html">XURI</a> &gt;</td>
</tr>
<tr>
<td valign="top"><b>getGraphNames</b>()</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="RepositoryException.html">RepositoryException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>gets the names of all the graphs in the repository.

 </dd>
<dt><b>Returns</b></dt>
<dd>a list containing the names of the graphs in the repository

 </dd>
<dt><b>Throws</b></dt>
<dd>RepositoryException
 if an error occurs when accessing the repository.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getGraph" class="membertitle">getGraph</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3"><a href="XNamedGraph.html">XNamedGraph</a></td>
</tr>
<tr>
<td valign="top"><b>getGraph</b>(</td>
<td valign="top">[in] <a href="XURI.html">XURI</a></td>
<td valign="bottom">&nbsp;GraphName )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a>,<br>
<a href="RepositoryException.html">RepositoryException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>gets a graph by its name.

 </dd>
<dt><b>Parameter GraphName</b></dt>
<dd>the name of the graph that is to be returned

 </dd>
<dt><b>Returns</b></dt>
<dd>the graph with the given name if it exists, else <b>NULL</b>

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::IllegalArgumentException
 if the given GraphName is invalid

 </dd>
<dt><b>Throws</b></dt>
<dd>RepositoryException
 if an error occurs when accessing the repository.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="createGraph" class="membertitle">createGraph</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3"><a href="XNamedGraph.html">XNamedGraph</a></td>
</tr>
<tr>
<td valign="top"><b>createGraph</b>(</td>
<td valign="top">[in] <a href="XURI.html">XURI</a></td>
<td valign="bottom">&nbsp;GraphName )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a>,<br>
::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/ElementExistException.html">ElementExistException</a>,<br>
<a href="RepositoryException.html">RepositoryException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>creates a graph with the given name.

 </dd>
<dd><p>
 The name must be unique within the repository.
 </p>

 </dd>
<dt><b>Parameter GraphName</b></dt>
<dd>the name of the graph that is to be created

 </dd>
<dt><b>Returns</b></dt>
<dd>the graph with the given name

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::IllegalArgumentException
 if the given GraphName is invalid

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::container::ElementExistException
 if a graph with the given GraphName already exists

 </dd>
<dt><b>Throws</b></dt>
<dd>RepositoryException
 if an error occurs when accessing the repository.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="destroyGraph" class="membertitle">destroyGraph</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>destroyGraph</b>(</td>
<td valign="top">[in] <a href="XURI.html">XURI</a></td>
<td valign="bottom">&nbsp;GraphName )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/IllegalArgumentException.html">IllegalArgumentException</a>,<br>
::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/NoSuchElementException.html">NoSuchElementException</a>,<br>
<a href="RepositoryException.html">RepositoryException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>destroys the graph with the given name, and removes it from the
 repository.

 </dd>
<dd><p>
 This invalidates any instances of <a href="XNamedGraph.html">XNamedGraph</a>
 for the argument.
 </p>

 </dd>
<dt><b>Parameter GraphName</b></dt>
<dd>the name of the graph that is to be destroyed

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::lang::IllegalArgumentException
 if the given GraphName is invalid

 </dd>
<dt><b>Throws</b></dt>
<dd>com::sun::star::container::NoSuchElementException
 if a graph with the given GraphName does not exist

 </dd>
<dt><b>Throws</b></dt>
<dd>RepositoryException
 if an error occurs when accessing the repository.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getStatements" class="membertitle">getStatements</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XEnumeration.html">XEnumeration</a></td>
</tr>
<tr>
<td valign="top"><b>getStatements</b>(</td>
<td valign="top">[in] <a href="XResource.html">XResource</a></td>
<td valign="bottom">&nbsp;Subject,</td>
</tr>
<tr>
<td/><td valign="top">[in] <a href="XURI.html">XURI</a></td>
<td valign="bottom">&nbsp;Predicate,</td>
</tr>
<tr>
<td/><td valign="top">[in] <a href="XNode.html">XNode</a></td>
<td valign="bottom">&nbsp;Object )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="RepositoryException.html">RepositoryException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>gets matching RDF statements from the repository.

 </dd>
<dd><p>
 Any parameter may be <b>NULL</b>, which acts as a wildcard.
 For example, to get all statements about myURI:
 <code>getStatements(myURI, null, null)</code>
 </p>

 </dd>
<dt><b>Parameter Subject</b></dt>
<dd>the subject of the RDF triple.

 </dd>
<dt><b>Parameter Predicate</b></dt>
<dd>the predicate of the RDF triple.

 </dd>
<dt><b>Parameter Object</b></dt>
<dd>the object of the RDF triple.

 </dd>
<dt><b>Returns</b></dt>
<dd>an iterator over all RDF statements in the repository that match
 the parameters, represented as an
 enumeration of <a href="Statement.html">Statement</a>

 </dd>
<dt><b>Throws</b></dt>
<dd>RepositoryException
 if an error occurs when accessing the repository.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="Statement.html">Statement</a>, <a href="XNamedGraph.html">XNamedGraph</a>::<a href="XNamedGraph.html#getStatements">getStatements</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="querySelect" class="membertitle">querySelect</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3"><a href="XQuerySelectResult.html">XQuerySelectResult</a></td>
</tr>
<tr>
<td valign="top"><b>querySelect</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;Query )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="QueryException.html">QueryException</a>,<br>
<a href="RepositoryException.html">RepositoryException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>executes a SPARQL "SELECT" query.

 </dd>
<dd><p>
 This method runs a SPARQL query that returns a list of variable
 bindings, i.e., a query beginning with "SELECT".
 The result is basically a (rectangular) table with labeled columns,
 where individual cells may be <b>NULL</b>.
 </p>

 </dd>
<dt><b>Parameter Query</b></dt>
<dd>the SPARQL query <code>string</code>

 </dd>
<dt><b>Returns</b></dt>
<dd>an enumeration, containing
 <ol>
 <li>a list of query variable names (column labels)</li>
 <li>the query results (rows),
 each being a list of bindings for the above variables</li>
 </ol>

 </dd>
<dt><b>Throws</b></dt>
<dd>QueryException
 if the query is malformed, or evaluation fails

 </dd>
<dt><b>Throws</b></dt>
<dd>RepositoryException
 if an error occurs when accessing the repository.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="XQuerySelectResult.html">XQuerySelectResult</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="queryConstruct" class="membertitle">queryConstruct</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XEnumeration.html">XEnumeration</a></td>
</tr>
<tr>
<td valign="top"><b>queryConstruct</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;Query )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="QueryException.html">QueryException</a>,<br>
<a href="RepositoryException.html">RepositoryException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>executes a SPARQL "CONSTRUCT" query.

 </dd>
<dd><p>
 This method runs a SPARQL query that constructs a result graph,
 i.e., a query beginning with "CONSTRUCT".
 </p>

 </dd>
<dt><b>Parameter Query</b></dt>
<dd>the SPARQL query <code>string</code>

 </dd>
<dt><b>Returns</b></dt>
<dd>an iterator over the query result graph, represented as an
 enumeration of <a href="Statement.html">Statement</a>

 </dd>
<dt><b>Throws</b></dt>
<dd>QueryException
 if the query is malformed, or evaluation fails

 </dd>
<dt><b>Throws</b></dt>
<dd>RepositoryException
 if an error occurs when accessing the repository.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="Statement.html">Statement</a></dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="queryAsk" class="membertitle">queryAsk</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">boolean</td>
</tr>
<tr>
<td valign="top"><b>queryAsk</b>(</td>
<td valign="top">[in] string</td>
<td valign="bottom">&nbsp;Query )</td>
</tr>
<tr>
<td valign="top" align="right">raises( </td>
<td valign="top" colspan="2"><a href="QueryException.html">QueryException</a>,<br>
<a href="RepositoryException.html">RepositoryException</a> );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>executes a SPARQL "ASK" query.

 </dd>
<dd><p>
 This method runs a SPARQL query that computes a boolean,
 i.e., a query beginning with "ASK".
 </p>

 </dd>
<dt><b>Parameter Query</b></dt>
<dd>the SPARQL query <code>string</code>

 </dd>
<dt><b>Returns</b></dt>
<dd>the boolean query result

 </dd>
<dt><b>Throws</b></dt>
<dd>QueryException
 if the query is malformed, or evaluation fails

 </dd>
<dt><b>Throws</b></dt>
<dd>RepositoryException
 if an error occurs when accessing the repository.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.</p><p class="copyright" align="center">LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.</p><p class="copyright" align="center">The Document Foundation acknowledges all community members, please find more info <a href="http://www.libreoffice.org/about-us/credits/" target="_blank">at our website</a>.<p>&nbsp;</p><p class="copyright" align="center"><a href="http://www.libreoffice.org/privacy" target="_blank">Privacy Policy</a> | <a href="http://www.libreoffice.org/imprint" target="_blank">Impressum (Legal Info)</a> | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (<a href="http://www.libreoffice.org/download/license/" target="_blank">LGPLv3</a>). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our <a href="http://wiki.documentfoundation.org/TradeMark_Policy" target="_blank">trademark policy</a>.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>