<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vazaar Project Blog &#187; dynamic</title>
	<atom:link href="http://www.vazaar-project.org/blog/archives/tag/dynamic/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vazaar-project.org/blog</link>
	<description>The semantic store</description>
	<lastBuildDate>Thu, 02 Sep 2010 02:15:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Dynamic SPARQL queries and Datatypes</title>
		<link>http://www.vazaar-project.org/blog/archives/158</link>
		<comments>http://www.vazaar-project.org/blog/archives/158#comments</comments>
		<pubDate>Wed, 26 Aug 2009 09:24:44 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://www.vazaar-project.org/blog/archives/158">Tomás Vírseda</span></dc:creator>
				<category><![CDATA[SPARQL Queries]]></category>
		<category><![CDATA[bit floating point]]></category>
		<category><![CDATA[datatype]]></category>
		<category><![CDATA[datatypes]]></category>
		<category><![CDATA[decimal numbers]]></category>
		<category><![CDATA[duration time]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[dynamic query]]></category>
		<category><![CDATA[entity references]]></category>
		<category><![CDATA[PIMO]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[rdflib]]></category>
		<category><![CDATA[resource identifier]]></category>
		<category><![CDATA[schema definition language]]></category>
		<category><![CDATA[sparql]]></category>
		<category><![CDATA[sparql query]]></category>
		<category><![CDATA[time durations]]></category>

		<guid isPermaLink="false">http://www.vazaar-project.org/blog/?p=158</guid>
		<description><![CDATA[<p>After some headaches I&#8217;ve found how to write dynamic SPARQL queries by passing parameters. For example, to query graph about resources collected last hour this code could be a first approach:</p>
<div class="dean_ch" style="white-space: wrap;">#!/usr/bin/env python<br />
# Dynamic query (example code)</p>
<p>from datetime import datetime<br />
import rdflib<br />
from namespaces import XSD</p>
<p>def last_day():<br />
&nbsp; &nbsp; &quot;&quot;&quot; get date &quot;&quot;&quot;<br />
&nbsp; &nbsp; now = datetime.now()<br />
&nbsp; &nbsp; date = now &#8211; timedelta(hours=24)</p>
<p>&nbsp; &nbsp; return date</p>
<p>def get_date_filtered_query():<br />
&nbsp; &nbsp; &quot;&quot;&quot; build query &quot;&quot;&quot;<br />
&nbsp; &nbsp; period = last_day()<br />
&nbsp; &nbsp; mydate = Literal(period, datatype=URIRef(XSD))</p>
<p>&nbsp; &nbsp; query = &quot;&quot;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; PREFIX rdf: &lt;http ://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; PREFIX nie: &lt;http ://www.semanticdesktop.org/ontologies/nie/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; PREFIX nfo: &lt;http ://www.semanticdesktop.org/ontologies/nfo/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; PREFIX nao: &lt;http ://www.semanticdesktop.org/ontologies/nao/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; PREFIX pimo: &lt;http ://www.semanticdesktop.org/ontologies/pimo/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; PREFIX xsd: &lt;/http&gt;&lt;http ://www.w3.org/2001/XMLSchema#&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; SELECT ?id<br />
&nbsp; &nbsp; &nbsp; &nbsp; WHERE<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?id rdf:type ?type .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?id nao:created ?date .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FILTER (?type != pimo:Collection) .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FILTER (xsd:dateTime(?date) &gt;= xsd:dateTime(&quot;%s&quot;)) .<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; ORDER BY DESC(?date)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &quot;&quot;&quot; % mydate</p>
<p>&nbsp; &nbsp; return query</p>
<p># query graph<br />
query = get_date_filtered_query()<br />
result = graph.query(query)</p>
<p>for id in result.selected:<br />
&nbsp; &nbsp; print id&lt;/http&gt;</div>
<p><span id="more-158"></span></p>
<p>For more information is worth to take a look <a title="XML Schema datatypes" href="http://www.w3.org/TR/xmlschema11-2/" target="_blank">W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes</a>. A self explained list of XML datatypes:</p>
<div>
<dl>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77009.html">xsd:anyURI</a> &#8211; URI (Uniform Resource Identifier) </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77017.html">xsd:base64Binary</a> &#8211; Binary content coded as &#8220;base64&#8243; </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77025.html">xsd:boolean</a> &#8211; Boolean (true or false) </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77033.html">xsd:byte</a> &#8211; Signed value of 8 bits </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77041.html">xsd:date</a> &#8211; Gregorian calendar date </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77049.html">xsd:dateTime</a> &#8211; Instant of time (Gregorian calendar) </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77057.html">xsd:decimal</a> &#8211; Decimal numbers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77065.html">xsd:double</a> &#8211; IEEE 64-bit floating-point </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77073.html">xsd:duration</a> &#8211; Time durations </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77080.html">xsd:ENTITIES</a> &#8211; Whitespace-separated list of unparsed entity references </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77087.html">xsd:ENTITY</a> &#8211; Reference to an unparsed entity </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77095.html">xsd:float</a> &#8211; IEEE 32-bit floating-point </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77103.html">xsd:gDay</a> &#8211; Recurring period of time: monthly day </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77111.html">xsd:gMonth</a> &#8211; Recurring period of time: yearly month </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77119.html">xsd:gMonthDay</a> &#8211; Recurring period of time: yearly day </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77127.html">xsd:gYear</a> &#8211; Period of one year </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77135.html">xsd:gYearMonth</a> &#8211; Period of one month </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77143.html">xsd:hexBinary</a> &#8211; Binary contents coded in hexadecimal </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77151.html">xsd:ID</a> &#8211; Definition of unique identifiers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77159.html">xsd:IDREF</a> &#8211; Definition of references to unique identifiers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77167.html">xsd:IDREFS</a> &#8211; Definition of lists of references to unique identifiers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77175.html">xsd:int</a> &#8211; 32-bit signed integers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77183.html">xsd:integer</a> &#8211; Signed integers of arbitrary length </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77191.html">xsd:language</a> &#8211; RFC 1766 language codes </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77199.html">xsd:long</a> &#8211; 64-bit signed integers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77207.html">xsd:Name</a> &#8211; XML 1.O name </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77215.html">xsd:NCName</a> &#8211; Unqualified names </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77223.html">xsd:negativeInteger</a> &#8211; Strictly negative integers of arbitrary length </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77231.html">xsd:NMTOKEN</a> &#8211; XML 1.0 name token (NMTOKEN) </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77239.html">xsd:NMTOKENS</a> &#8211; List of XML 1.0 name tokens (NMTOKEN) </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77247.html">xsd:nonNegativeInteger</a> &#8211; Integers of arbitrary length positive or equal to zero </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77255.html">xsd:nonPositiveInteger</a> &#8211; Integers of arbitrary length negative or equal to zero </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77263.html">xsd:normalizedString</a> &#8211; Whitespace-replaced strings </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77271.html">xsd:NOTATION</a> &#8211; Emulation of the XML 1.0 feature </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77279.html">xsd:positiveInteger</a> &#8211; Strictly positive integers of arbitrary length</dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77287.html">xsd:QName</a> &#8211; Namespaces in XML-qualified names </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77295.html">xsd:short</a> &#8211; 32-bit signed integers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77303.html">xsd:string</a> &#8211; Any string </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77311.html">xsd:time</a> &#8211; Point in time recurring each day </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77319.html">xsd:token</a> &#8211; Whitespace-replaced and collapsed strings </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77327.html">xsd:unsignedByte</a> &#8211; Unsigned value of 8 bits </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77335.html">xsd:unsignedInt</a> &#8211; Unsigned integer of 32 bits </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77343.html">xsd:unsignedLong</a> &#8211; Unsigned integer of 64 bits </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77351.html">xsd:unsignedShort</a> &#8211; Unsigned integer of 16 bits </dt>
</dl>
</div>
<p><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.vazaar-project.org/blog/archives/365" rel="bookmark" title="16/08/2010"><span property="dc:date" content="2009-08-26 10:24:44" resource="http://www.vazaar-project.org/blog/archives/158" /><span rel="http://www.vazaar-project.org/blog/archives/158" property="dc:title" resource="http://www.vazaar-project.org/blog/archives/158">Reports with Cheetah templates</span></a></li>
<li><a href="http://www.vazaar-project.org/blog/archives/17" rel="bookmark" title="02/12/2007"><span property="dc:date" content="2009-08-26 10:24:44" resource="http://www.vazaar-project.org/blog/archives/158" /><span rel="http://www.vazaar-project.org/blog/archives/158" property="dc:title" resource="http://www.vazaar-project.org/blog/archives/158">Extrayendo metadatos: libextractor</span></a></li>
<li><a href="http://www.vazaar-project.org/blog/archives/155" rel="bookmark" title="02/08/2009"><span property="dc:date" content="2009-08-26 10:24:44" resource="http://www.vazaar-project.org/blog/archives/158" /><span rel="http://www.vazaar-project.org/blog/archives/158" property="dc:title" resource="http://www.vazaar-project.org/blog/archives/158">Querying remote ontologies from integrated SPARQL editor</span></a></li>
<li><a href="http://www.vazaar-project.org/blog/archives/33" rel="bookmark" title="03/09/2008"><span property="dc:date" content="2009-08-26 10:24:44" resource="http://www.vazaar-project.org/blog/archives/158" /><span rel="http://www.vazaar-project.org/blog/archives/158" property="dc:title" resource="http://www.vazaar-project.org/blog/archives/158">My SVN is gone!</span></a></li>
<li><a href="http://www.vazaar-project.org/blog/archives/329" rel="bookmark" title="21/07/2010"><span property="dc:date" content="2009-08-26 10:24:44" resource="http://www.vazaar-project.org/blog/archives/158" /><span rel="http://www.vazaar-project.org/blog/archives/158" property="dc:title" resource="http://www.vazaar-project.org/blog/archives/158">Searching strings</span></a></li>
</ul>
<p><!-- Similar Posts took 9.995 ms --></p>
<div class="shr-publisher-158"></div><div style="display:block"><small><em>posted in <a href="http://www.vazaar-project.org/blog/archives/category/my-workshop/sparql-queries">SPARQL Queries</a> by <span property="dc:creator" resource="http://www.vazaar-project.org/blog/archives/158">Tomás Vírseda</span> <a href="http://www.vazaar-project.org/blog/archives/158#comments">Leave A Comment</a><br />&copy;2010 <a href="http://www.vazaar-project.org/blog">Vazaar Project Blog</a>. All Rights Reserved.</em></small></div>]]></description>
			<content:encoded><![CDATA[<p>After some headaches I&#8217;ve found how to write dynamic SPARQL queries by passing parameters. For example, to query graph about resources collected last hour this code could be a first approach:</p>
<div class="dean_ch" style="white-space: wrap;">#!/usr/bin/env python<br />
# Dynamic query (example code)</p>
<p>from datetime import datetime<br />
import rdflib<br />
from namespaces import XSD</p>
<p>def last_day():<br />
&nbsp; &nbsp; &quot;&quot;&quot; get date &quot;&quot;&quot;<br />
&nbsp; &nbsp; now = datetime.now()<br />
&nbsp; &nbsp; date = now &#8211; timedelta(hours=24)</p>
<p>&nbsp; &nbsp; return date</p>
<p>def get_date_filtered_query():<br />
&nbsp; &nbsp; &quot;&quot;&quot; build query &quot;&quot;&quot;<br />
&nbsp; &nbsp; period = last_day()<br />
&nbsp; &nbsp; mydate = Literal(period, datatype=URIRef(XSD))</p>
<p>&nbsp; &nbsp; query = &quot;&quot;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; PREFIX rdf: &lt;http ://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; PREFIX nie: &lt;http ://www.semanticdesktop.org/ontologies/nie/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; PREFIX nfo: &lt;http ://www.semanticdesktop.org/ontologies/nfo/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; PREFIX nao: &lt;http ://www.semanticdesktop.org/ontologies/nao/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; PREFIX pimo: &lt;http ://www.semanticdesktop.org/ontologies/pimo/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; PREFIX xsd: &lt;/http&gt;&lt;http ://www.w3.org/2001/XMLSchema#&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; SELECT ?id<br />
&nbsp; &nbsp; &nbsp; &nbsp; WHERE<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?id rdf:type ?type .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?id nao:created ?date .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FILTER (?type != pimo:Collection) .<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FILTER (xsd:dateTime(?date) &gt;= xsd:dateTime(&quot;%s&quot;)) .<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; ORDER BY DESC(?date)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &quot;&quot;&quot; % mydate</p>
<p>&nbsp; &nbsp; return query</p>
<p># query graph<br />
query = get_date_filtered_query()<br />
result = graph.query(query)</p>
<p>for id in result.selected:<br />
&nbsp; &nbsp; print id&lt;/http&gt;</div>
<p><span id="more-158"></span></p>
<p>For more information is worth to take a look <a title="XML Schema datatypes" href="http://www.w3.org/TR/xmlschema11-2/" target="_blank">W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes</a>. A self explained list of XML datatypes:</p>
<div>
<dl>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77009.html">xsd:anyURI</a> &#8211; URI (Uniform Resource Identifier) </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77017.html">xsd:base64Binary</a> &#8211; Binary content coded as &#8220;base64&#8243; </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77025.html">xsd:boolean</a> &#8211; Boolean (true or false) </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77033.html">xsd:byte</a> &#8211; Signed value of 8 bits </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77041.html">xsd:date</a> &#8211; Gregorian calendar date </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77049.html">xsd:dateTime</a> &#8211; Instant of time (Gregorian calendar) </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77057.html">xsd:decimal</a> &#8211; Decimal numbers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77065.html">xsd:double</a> &#8211; IEEE 64-bit floating-point </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77073.html">xsd:duration</a> &#8211; Time durations </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77080.html">xsd:ENTITIES</a> &#8211; Whitespace-separated list of unparsed entity references </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77087.html">xsd:ENTITY</a> &#8211; Reference to an unparsed entity </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77095.html">xsd:float</a> &#8211; IEEE 32-bit floating-point </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77103.html">xsd:gDay</a> &#8211; Recurring period of time: monthly day </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77111.html">xsd:gMonth</a> &#8211; Recurring period of time: yearly month </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77119.html">xsd:gMonthDay</a> &#8211; Recurring period of time: yearly day </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77127.html">xsd:gYear</a> &#8211; Period of one year </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77135.html">xsd:gYearMonth</a> &#8211; Period of one month </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77143.html">xsd:hexBinary</a> &#8211; Binary contents coded in hexadecimal </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77151.html">xsd:ID</a> &#8211; Definition of unique identifiers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77159.html">xsd:IDREF</a> &#8211; Definition of references to unique identifiers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77167.html">xsd:IDREFS</a> &#8211; Definition of lists of references to unique identifiers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77175.html">xsd:int</a> &#8211; 32-bit signed integers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77183.html">xsd:integer</a> &#8211; Signed integers of arbitrary length </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77191.html">xsd:language</a> &#8211; RFC 1766 language codes </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77199.html">xsd:long</a> &#8211; 64-bit signed integers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77207.html">xsd:Name</a> &#8211; XML 1.O name </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77215.html">xsd:NCName</a> &#8211; Unqualified names </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77223.html">xsd:negativeInteger</a> &#8211; Strictly negative integers of arbitrary length </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77231.html">xsd:NMTOKEN</a> &#8211; XML 1.0 name token (NMTOKEN) </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77239.html">xsd:NMTOKENS</a> &#8211; List of XML 1.0 name tokens (NMTOKEN) </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77247.html">xsd:nonNegativeInteger</a> &#8211; Integers of arbitrary length positive or equal to zero </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77255.html">xsd:nonPositiveInteger</a> &#8211; Integers of arbitrary length negative or equal to zero </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77263.html">xsd:normalizedString</a> &#8211; Whitespace-replaced strings </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77271.html">xsd:NOTATION</a> &#8211; Emulation of the XML 1.0 feature </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77279.html">xsd:positiveInteger</a> &#8211; Strictly positive integers of arbitrary length</dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77287.html">xsd:QName</a> &#8211; Namespaces in XML-qualified names </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77295.html">xsd:short</a> &#8211; 32-bit signed integers </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77303.html">xsd:string</a> &#8211; Any string </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77311.html">xsd:time</a> &#8211; Point in time recurring each day </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77319.html">xsd:token</a> &#8211; Whitespace-replaced and collapsed strings </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77327.html">xsd:unsignedByte</a> &#8211; Unsigned value of 8 bits </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77335.html">xsd:unsignedInt</a> &#8211; Unsigned integer of 32 bits </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77343.html">xsd:unsignedLong</a> &#8211; Unsigned integer of 64 bits </dt>
<dt><a href="http://books.xmlschemata.org/relaxng/ch19-77351.html">xsd:unsignedShort</a> &#8211; Unsigned integer of 16 bits </dt>
</dl>
</div>
<p><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.vazaar-project.org/blog/archives/365" rel="bookmark" title="16/08/2010"><span property="dc:date" content="2009-08-26 10:24:44" resource="http://www.vazaar-project.org/blog/archives/158" /><span rel="http://www.vazaar-project.org/blog/archives/158" property="dc:title" resource="http://www.vazaar-project.org/blog/archives/158">Reports with Cheetah templates</span></a></li>
<li><a href="http://www.vazaar-project.org/blog/archives/17" rel="bookmark" title="02/12/2007"><span property="dc:date" content="2009-08-26 10:24:44" resource="http://www.vazaar-project.org/blog/archives/158" /><span rel="http://www.vazaar-project.org/blog/archives/158" property="dc:title" resource="http://www.vazaar-project.org/blog/archives/158">Extrayendo metadatos: libextractor</span></a></li>
<li><a href="http://www.vazaar-project.org/blog/archives/155" rel="bookmark" title="02/08/2009"><span property="dc:date" content="2009-08-26 10:24:44" resource="http://www.vazaar-project.org/blog/archives/158" /><span rel="http://www.vazaar-project.org/blog/archives/158" property="dc:title" resource="http://www.vazaar-project.org/blog/archives/158">Querying remote ontologies from integrated SPARQL editor</span></a></li>
<li><a href="http://www.vazaar-project.org/blog/archives/33" rel="bookmark" title="03/09/2008"><span property="dc:date" content="2009-08-26 10:24:44" resource="http://www.vazaar-project.org/blog/archives/158" /><span rel="http://www.vazaar-project.org/blog/archives/158" property="dc:title" resource="http://www.vazaar-project.org/blog/archives/158">My SVN is gone!</span></a></li>
<li><a href="http://www.vazaar-project.org/blog/archives/329" rel="bookmark" title="21/07/2010"><span property="dc:date" content="2009-08-26 10:24:44" resource="http://www.vazaar-project.org/blog/archives/158" /><span rel="http://www.vazaar-project.org/blog/archives/158" property="dc:title" resource="http://www.vazaar-project.org/blog/archives/158">Searching strings</span></a></li>
</ul>
<p><!-- Similar Posts took 14.787 ms --></p>
<div class="shr-publisher-158"></div>]]></content:encoded>
			<wfw:commentRss>http://www.vazaar-project.org/blog/archives/158/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
