<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE spec SYSTEM "../shared/xmlspec.dtd" [
	<!ENTITY base.uri "http://www.w3.org/TR/2012/">
	<!ENTITY maturity.level "WD">
	<!ENTITY doc.shortname "sparql11-service-description">
	<!ENTITY draft.year "2012">
	<!ENTITY draft.month.name "January">
	<!ENTITY draft.month "01">
	<!ENTITY draft.day "05">
	<!ENTITY iso6.doc.date "&draft.year;&draft.month;&draft.day;">
	<!ENTITY doc.ident "&maturity.level;-&doc.shortname;-&iso6.doc.date;">
	<!ENTITY this.version "&base.uri;&doc.ident;">
	<!ENTITY xml.version "&doc.ident;.xml">
	<!ENTITY review.version "&doc.ident;-review.html">
	<!ENTITY pdf.version "&doc.ident;.pdf">
	<!ENTITY errataloc "">
	<!ENTITY preverrataloc "">
	<!ENTITY translationloc "http://www.w3.org/2003/03/Translations/byTechnology?technology=&doc.shortname;">
	<!ENTITY impreploc "">
	<!ENTITY versionOfSPARQL "1.1">
	<!ENTITY WebSGML "WebSGML Adaptations Annex to ISO 8879">
	<!ENTITY nbsp "&#160;">
	<!ENTITY mdash "&#x2014;">
	<!ENTITY magicents "<code>amp</code>,
<code>lt</code>,
<code>gt</code>,
<code>apos</code>,
<code>quot</code>">
	<!ENTITY may "may">
	<!ENTITY MAY "<rfc2119>MAY</rfc2119>">
	<!ENTITY SHOULD "<rfc2119>SHOULD</rfc2119>">
	<!ENTITY MUST "<rfc2119>MUST</rfc2119>">
	<!ENTITY MUSTNOT "<rfc2119>MUST NOT</rfc2119>">
	<!ENTITY % local.common.att "xml:lang    CDATA  #IMPLIED">
]>
<?xml-stylesheet type="text/xsl" href="../shared/REC-xml.xsl"?>
<spec w3c-doctype="wd" xml:lang="en">
<!--
Notes on preparation of SPARQL 1.1
	
-->
	<header>
		<title>SPARQL &versionOfSPARQL; Service Description</title>
		<w3c-designation>&doc.ident;</w3c-designation>
		<w3c-doctype>W3C Editor's Draft</w3c-doctype>
		<pubdate>
			<day>&draft.day;</day>
			<month>&draft.month.name;</month>
			<year>&draft.year;</year>
		</pubdate>
		<publoc>
			<loc href="&this.version;/">&this.version;/</loc>
		</publoc>
<!--		<altlocs>
			<loc href="&xml.version;">XML</loc>
			<loc href="&pdf.version;">PDF</loc>
			<loc href="&review.version;">XHTML with color-coded revision indicators</loc>
		</altlocs> -->
		<latestloc>
			<loc href="http://www.w3.org/TR/&doc.shortname;/">http://www.w3.org/TR/&doc.shortname;/</loc>
		</latestloc>
		<prevlocs>
			<!-- @@FPWD loc href="http://www.w3.org/TR/2009/WD-sparql11-service-description-20091022/">http://www.w3.org/TR/2009/WD-sparql11-service-description-20091022/</loc -->
	   		<!--        loc href="http://www.w3.org/TR/2009/WD-sparql11-service-description-20091022/">http://www.w3.org/TR/2009/WD-sparql11-service-description-20091022/</loc -->
	   		<!--		loc href="http://www.w3.org/TR/2010/WD-sparql11-service-description-20101014/">http://www.w3.org/TR/2010/WD-sparql11-service-description-20101014/</loc -->
	   		<loc href="http://www.w3.org/TR/2011/WD-sparql11-service-description-20110512/">http://www.w3.org/TR/2011/WD-sparql11-service-description-20110512/</loc>
		</prevlocs>
		<authlist>
			<author role="Editor">
				<name>Gregory Todd Williams</name>
				<affiliation>Rensselaer Polytechnic Institute</affiliation>
				<email href="mailto:greg@evilfunhouse.com">greg@evilfunhouse.com</email>
			</author>
		</authlist>
<!--		<errataloc href="&errataloc;"/>
		<preverrataloc href="&preverrataloc;"/>
		<translationloc href="&translationloc;"/>   -->
		<abstract>
      <p>This document describes SPARQL service description, a method for
      discovering, and vocabulary for describing SPARQL services made available
      via the
      <a href="http://www.w3.org/TR/sparql11-protocol/">SPARQL 
      1.1 Protocol for RDF</a> [<a href="#SPROT">SPROT</a>]. These descriptions 
      provide a mechanism by which a client or end user can discover
      information about the SPARQL service such as supported
      extension functions and details about the available dataset.</p>
	</abstract>
	<status>
		<p><em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the <a href="http://www.w3.org/TR/">W3C technical reports index</a> at http://www.w3.org/TR/.</em></p>
		
		<p>This document is a <a href="http://www.w3.org/2005/10/Process-20051014/tr.html#last-call">Last Call Working Draft</a>. Publication as a Last Call Working Draft indicates that the <a href="http://www.w3.org/2001/sw/DataAccess/">SPARQL Working Group</a> believes it has addressed all substantive issues and that the document is stable. The Working Group expects to advance this specification to <a href="http://www.w3.org/2004/02/Process-20040205/tr.html#RecsW3C">Recommendation Status</a>.</p>

		<p>The end date of the Last Call review period is <strong>02 February 2012</strong>, i.e., comments on this working draft are due on or before this date.</p>
		
		<div class="wgNote">
			Given that sufficient implementation experience has already been reported by the time of the next publication round, the SPARQL Working Group is considering to skip <a href="http://www.w3.org/2005/10/Process-20051014/tr.html#RecsCR">Candidate Recommendation</a> phase and advance this specification directly to <a href="http://www.w3.org/2005/10/Process-20051014/tr.html#RecsPR">Proposed Recommendation</a> with its next version.
		</div>
		
		<p>The set of SPARQL documents comprises:</p>
		<ul>
		<li><a href="http://www.w3.org/TR/sparql11-query/">SPARQL 1.1 Query</a></li>
		<li><a href="http://www.w3.org/TR/sparql11-update/">SPARQL 1.1 Update</a></li>
		<li><a href="http://www.w3.org/TR/sparql11-protocol/">SPARQL 1.1 Protocol for RDF</a></li>
		<li><a href="http://www.w3.org/TR/sparql11-http-rdf-update/">SPARQL 1.1 Graph Store HTTP Protocol</a></li>
		<li><a href="http://www.w3.org/TR/sparql11-entailment/">SPARQL 1.1 Entailment Regimes</a></li>
		<li>SPARQL 1.1 Service Description (this document)</li>
		<li><a href="http://www.w3.org/TR/sparql11-federated-query/">SPARQL 1.1 Federation Extensions</a></li>
		<li><a href="http://www.w3.org/2009/sparql/docs/tests/">SPARQL 1.1 Conformance Tests</a></li>
		<li><!-- <a href="http://www.w3.org/TR//sparql11-results-json/"> -->SPARQL 1.1 Query Results JSON Format (to be published)<!-- </a> --></li>
		<li><a href= "http://www.w3.org/TR/rdf-sparql-XMLres/">SPARQL Query Results XML Format</a></li>
		</ul>
		
		<p>Comments on this document should be sent to <a href="mailto:public-rdf-dawg-comments@w3.org">public-rdf-dawg-comments@w3.org</a>, a mailing list with a <a href="http://lists.w3.org/Archives/Public/public-rdf-dawg-comments/">public archive</a>. Questions and comments about SPARQL that are not related to this specification, including extensions and features, can be discussed on the mailing list <a href="mailto:public-sparql-dev@w3.org">public-sparql-dev@w3.org</a>, (<a href="http://lists.w3.org/Archives/Public/public-sparql-dev">public archive</a>).</p>
		
		<p>This document was produced by the <a href="http://www.w3.org/2001/sw/DataAccess/">SPARQL Working Group</a>, which is part of the <a href="http://www.w3.org/2001/sw/Activity">W3C Semantic Web Activity</a>.</p>
		
		<p>Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.</p>
		
		<p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a rel="disclosure" href="http://www.w3.org/2004/01/pp-impl/35463/status">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>.</p>
		
		<p>Since the publication of the previous working draft of this document, the primary changes are as follows.</p>
		<ul>
			<li>Added internal links to aid in readability.</li>
			<li>Clarified "dereferencing" language to talk explicitly about HTTP GET operations.</li>
			<li>Added explicit reference to RDF encoded versions of the Service Description vocabulary.</li>
			<li>Noted that no conformance requirements are made on the use of entailment-related instances in the <a href="#sd-defaultSupportedEntailmentProfile">sd:defaultSupportedEntailmentProfile</a> section.</li>
			<li>Added clarifying text regarding existing aggregates in <a href="#sd-extensionAggregate">sd:extensionAggregate</a> and <a href="#sd-Aggregate">sd:Aggregate</a> section.</li>
			<li>Added clarifying text regarding explicitly specifying a dataset in <a href="#sd-defaultDataset">sd:defaultDataset</a> section.</li>
			<li>Added mention of update requests and USING/USING NAMED keywords in <a href="#sd-availableGraphs">sd:availableGraphs</a> and <a href="#sd-requiresdataset">sd:RequiresDataset</a> sections.</li>
			<li>Added mention of update requests and clarified text on dataset specification in <a href="#sd-uniondefaultgraph">sd:UnionDefaultGraph</a> section.</li>
			<li>Removed references to Graph Store HTTP Protocol in <a href="#sd-inputFormat">sd:inputFormat</a> section.</li>
			<li>Clarified the range of <a href="#sd-name">sd:name</a> being an IRI.</li>
			<li>Added the range of <a href="#sd-graph">sd:graph</a> being <a href="#sd-Graph">sd:Graph</a>.</li>
			<li>Added note about <a href="#sd-Graph">sd:Graph</a> being an extension point for use with other vocabularies.</li>
			<li>Changed "SHOULD NOT" normative language to "MUST NOT" in <a href="#sd-emptygraphs">sd:EmptyGraphs</a> section.</li>
			<li>Fixed errors in the <a href="#example">example Service Description</a> (both RDF/XML and Turtle formats).</li>
		</ul>
		
	</status>
		<pubstmt>
			<p>@@@ Chicago, Vancouver, Mountain View, Edinburgh, et al.: World-Wide Web Consortium, XML
Working Group, 1996, 1997, 2000, 2006, 2008.</p>
		</pubstmt>
		<sourcedesc>
			<p>Created in electronic form.</p>
		</sourcedesc>
		<langusage>
			<language id="EN">English</language>
		</langusage>
		<revisiondesc>
			<p role="cvsid">$Id: xmlspec.xml,v 1.88 2013/03/20 17:47:29 sandro Exp $</p>
		</revisiondesc>
	</header>
	
	
	
	<body>
	
	<div1 id="intro"><head>Introduction</head>
		<p>A SPARQL service description lists the features of a SPARQL service made available via the <a href="http://www.w3.org/TR/sparql11-protocol/">SPARQL 
      1.1 Protocol for RDF</a> [<a href="#SPROT">SPROT</a>]. This document describes both a method for discovering a service description from a specific SPARQL service and an RDF schema for encoding such descriptions in RDF.</p>    
		
		<div2 id="terminology"><head>Terminology</head>
			<p>When this document uses the words &MUST;, &SHOULD; and &MAY;, and the words appear as emphasized text, they must be interpreted as described in [<a href="#RFC2119">RFC2119</a>].</p>
			<p>The following terms are also in use throughout this document:</p>
			<dl>
				<dt>SPARQL Service</dt>
				<dd>Any implementation conforming to the <a href="">SPARQL 1.1 Protocol for RDF</a> (this document's use of "SPARQL Service" is the same as "<a href="http://www.w3.org/TR/sparql11-protocol/#terminology">SPARQL Protocol service</a>" as defined in the SPARQL 1.1 Protocol) [<a href="#SPROT">SPROT</a>].</dd>
				<dt>SPARQL endpoint</dt>
				<dd>The URI at which a SPARQL Service listens for requests from clients.</dd>
			</dl>
		</div2>
	</div1>
	
	
	
	<div1 id="accessing"><head>Accessing a Service Description</head>
		<p>SPARQL services made available via the SPARQL Protocol &SHOULD; return a service description document at the service endpoint when dereferenced using the HTTP GET operation without any query parameter strings provided. This service description &MUST; be made available in an RDF serialization, &MAY; be embedded in (X)HTML by way of <a href="http://www.w3.org/TR/rdfa-syntax/">RDFa</a> [<a href="#RDFA">RDFA</a>], and &SHOULD; use <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec12.html">content negotiation</a> [<a href="#CONNEG">CONNEG</a>] if available in other RDF representations.</p>
	</div1>
	
	
	<div1 id="vocab"><head>Service Description Vocabulary</head>
		<div2 id="namespace"><head>SPARQL Service Description Namespace and OWL Ontology</head>
			<p>The SPARQL service description namespace IRI is:</p>
			<p><a href="http://www.w3.org/ns/sparql-service-description#">http://www.w3.org/ns/sparql-service-description#</a></p>
			<p>The prefix used in this document for this namespace is <code>sd</code>.</p>
			<p>An RDF encoding of the Service Description ontology is available by HTTP content negotiation from the <a href="http://www.w3.org/ns/sparql-service-description#">namespace IRI</a>.</p>
		</div2>
		
		<div2 id="properties"><head>Properties</head>
			<div3 id="sd-endpoint"><head>sd:endpoint</head>
			<p>Relates an instance of <a href="#sd-Service"><code>sd:Service</code></a> to a SPARQL endpoint that implements the <a href="http://www.w3.org/TR/sparql11-protocol/#terminology">SPARQL Protocol service</a> [<a href="#SPROT">SPROT</a>] for the service. The object of the sd:endpoint property is an IRI.</p>
			<table>
				<tr><th>type:</th><td><code>owl:InverseFunctionalProperty</code></td></tr>
				<tr><th>domain:</th><td><a href="#sd-Service"><code>sd:Service</code></a></td></tr>
			</table>
			</div3>
			
			
			<div3 id="sd-feature"><head>sd:feature</head>
			<p>Relates an instance of <a href="#sd-Service"><code>sd:Service</code></a> with a resource representing a supported feature.</p>
			<table>
				<tr><th>domain:</th><td><a href="#sd-Service"><code>sd:Service</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-Feature"><code>sd:Feature</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-defaultEntailmentRegime"><head>sd:defaultEntailmentRegime</head>
			<p>Relates an instance of <a href="#sd-Service"><code>sd:Service</code></a> with a resource representing an entailment regime used for basic graph pattern matching. This property is intended for use when a single entailment regime by default applies to all graphs in the default dataset of the service. In situations where a different entailment regime applies to a specific graph in the dataset, the <a href="#sd-entailmentRegime"><code>sd:entailmentRegime</code></a>  property should be used to indicate this fact in the description of that graph.</p>
			<table>
				<tr><th>subPropertyOf:</th><td><a href="#sd-feature"><code>sd:feature</code></a></td></tr>
				<tr><th>domain:</th><td><a href="#sd-Service"><code>sd:Service</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-EntailmentRegime"><code>sd:EntailmentRegime</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-entailmentRegime"><head>sd:entailmentRegime</head>
			<p>Relates a named graph description with a resource representing an entailment regime used for basic graph pattern matching over that graph.</p>
			<table>
				<tr><th>domain:</th><td><a href="#sd-NamedGraph"><code>sd:NamedGraph</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-EntailmentRegime"><code>sd:EntailmentRegime</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-defaultSupportedEntailmentProfile"><head>sd:defaultSupportedEntailmentProfile</head>
			<p>Relates an instance of <a href="#sd-Service"><code>sd:Service</code></a> with a resource representing a supported profile of the default entailment regime (as declared by <a href="#sd-defaultEntailmentRegime"><code>sd:defaultEntailmentRegime</code></a>). Entailment profiles are discussed more in <a href="http://www.w3.org/TR/sparql11-entailment/#OWL2ProfilesDS">SPARQL 1.1 Entailment Regimes</a> [<a href="#SPARQLENT">SPARQLENT</a>].</p>
			<p>Note that this specification does not make any conformance requirements on the compatibility of an advertised entailment profile with the advertised entailment regime in a service description. Providing a reasonable combination of values to the <a href="#sd-entailmentRegime">sd:entailmentRegime</a>/<a href="#sd-defaultEntailmentRegime">sd:defaultEntailmentRegime</a> and <a href="#sd-supportedEntailmentProfile">sd:supportedEntailmentProfile</a>/<a href="#sd-defaultSupportedEntailmentProfile">sd:defaultSupportedEntailmentProfile</a> properties is up to the creator of a service description.</p>
			<table>
				<tr><th>subPropertyOf:</th><td><a href="#sd-feature"><code>sd:feature</code></a></td></tr>
				<tr><th>domain:</th><td><a href="#sd-Service"><code>sd:Service</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-EntailmentProfile"><code>sd:EntailmentProfile</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-supportedEntailmentProfile"><head>sd:supportedEntailmentProfile</head>
			<p>Relates a named graph description with a resource representing a supported profile of the entailment regime (as declared by <a href="#sd-entailmentRegime"><code>sd:entailmentRegime</code></a>) used for basic graph pattern matching over that graph.</p>
			<table>
				<tr><th>domain:</th><td><a href="#sd-NamedGraph"><code>sd:NamedGraph</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-EntailmentProfile"><code>sd:EntailmentProfile</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-extensionFunction"><head>sd:extensionFunction</head>
			<p>Relates an instance of <a href="#sd-Service"><code>sd:Service</code></a> to a function that may be used in a SPARQL <a href="http://www.w3.org/TR/sparql11-query/#selectExpressions">SELECT expression</a> or a <a href="http://www.w3.org/TR/sparql11-query/#expressions">FILTER</a>, <a href="http://www.w3.org/TR/sparql11-query/#having">HAVING</a>, <a href="http://www.w3.org/TR/sparql11-query/#groupby">GROUP BY</a>, <a href="http://www.w3.org/TR/sparql11-query/#modOrderBy">ORDER BY</a>, or <a href="http://www.w3.org/TR/sparql11-query/#bind">BIND</a> clause.</p>
			<table>
				<tr><th>subPropertyOf:</th><td><a href="#sd-feature"><code>sd:feature</code></a></td></tr>
				<tr><th>domain:</th><td><a href="#sd-Service"><code>sd:Service</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-Function"><code>sd:Function</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-extensionAggregate"><head>sd:extensionAggregate</head>
			<p>Relates an instance of <a href="#sd-Service"><code>sd:Service</code></a> to an aggregate that may be used in a SPARQL aggregate query (for instance in a <a href="http://www.w3.org/TR/sparql11-query/#having">HAVING</a> clause or <a href="http://www.w3.org/TR/sparql11-query/#selectExpressions">SELECT expression</a>) besides the standard list of <a href="http://www.w3.org/TR/sparql11-query/#aggregates">supported aggregates</a> COUNT, SUM, MIN, MAX, AVG, GROUP_CONCAT, and SAMPLE.</p>
			<table>
				<tr><th>subPropertyOf:</th><td><a href="#sd-feature"><code>sd:feature</code></a></td></tr>
				<tr><th>domain:</th><td><a href="#sd-Service"><code>sd:Service</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-Aggregate"><code>sd:Aggregate</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-languageExtension"><head>sd:languageExtension</head>
			<p>Relates an instance of <a href="#sd-Service"><code>sd:Service</code></a> to a resource representing an implemented extension to the SPARQL Query or Update language.</p>
			<table>
				<tr><th>subPropertyOf:</th><td><a href="#sd-feature"><code>sd:feature</code></a></td></tr>
				<tr><th>domain:</th><td><a href="#sd-Service"><code>sd:Service</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-Feature"><code>sd:Feature</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-supportedLanguage"><head>sd:supportedLanguage</head>
			<p>Relates an instance of <a href="#sd-Service"><code>sd:Service</code></a> to a SPARQL language (e.g. Query and Update) that it implements.</p>
			<table>
				<tr><th>subPropertyOf:</th><td><a href="#sd-feature"><code>sd:feature</code></a></td></tr>
				<tr><th>domain:</th><td><a href="#sd-Service"><code>sd:Service</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-Language"><code>sd:Language</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-propertyFeature"><head>sd:propertyFeature</head>
			<p>Relates an instance of <a href="#sd-Service"><code>sd:Service</code></a> to a resource representing an implemented feature that extends the SPARQL Query or Update language and that is accessed by using the named property.</p>
			<table>
				<tr><th>subPropertyOf:</th><td><a href="#sd-feature"><code>sd:feature</code></a></td></tr>
				<tr><th>domain:</th><td><a href="#sd-Service"><code>sd:Service</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-Feature"><code>sd:Feature</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-defaultDataset"><head>sd:defaultDataset</head>
			<p>Relates an instance of <a href="#sd-Service"><code>sd:Service</code></a> to a description of the default dataset available when no explicit dataset is specified in the query, update request or via protocol parameters.</p>
			<table>
				<tr><th>type:</th><td><code>owl:InverseFunctionalProperty</code></td></tr>
				<tr><th>domain:</th><td><a href="#sd-Service"><code>sd:Service</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-Dataset"><code>sd:Dataset</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-availableGraphs"><head>sd:availableGraphs</head>
			<p>Relates an instance of <a href="#sd-Service"><code>sd:Service</code></a> to a description of the graphs which are allowed in the construction of a dataset via the SPARQL Protocol, with FROM/FROM NAMED clauses in a query, or with USING/USING NAMED in an update request, if the service limits the scope of dataset construction.</p>
			<table>
				<tr><th>domain:</th><td><a href="#sd-Service"><code>sd:Service</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-GraphCollection"><code>sd:GraphCollection</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-resultFormat"><head>sd:resultFormat</head>
			<p>Relates an instance of <a href="#sd-Service"><code>sd:Service</code></a> to a format that is supported for serializing query results.</p>
			<p>URIs for commonly used serialization formats are defined by <a class="inform" href="http://www.w3.org/ns/formats/">Unique URIs for File Formats</a>. For formats that do not have an existing URI, the <code>&lt;<a href="http://www.w3.org/ns/formats/media_type">http://www.w3.org/ns/formats/media_type</a>&gt;</code> and <code>&lt;<a href="http://www.w3.org/ns/formats/preferred_suffix">http://www.w3.org/ns/formats/preferred_suffix</a>&gt;</code> properties defined in that document &SHOULD; be used to describe the format.</p>
			<table>
				<tr><th>domain:</th><td><a href="#sd-Service"><code>sd:Service</code></a></td></tr>
				<tr><th>range:</th><td><code>&lt;<a href="http://www.w3.org/ns/formats/Format">http://www.w3.org/ns/formats/Format</a>&gt;</code></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-inputFormat"><head>sd:inputFormat</head>
			<p>Relates an instance of <a href="#sd-Service"><code>sd:Service</code></a> to a format that is supported for parsing RDF input; for example, via a SPARQL 1.1 Update <a href="http://www.w3.org/TR/sparql11-update/#load">LOAD statement</a>, or when URIs are dereferenced in FROM/FROM NAMED/USING/USING NAMED clauses (see also <a href="#sd-dereferencesuris">sd:DereferencesURIs</a> below).</p>
			<p>URIs for commonly used serialization formats are defined by <a class="inform" href="http://www.w3.org/ns/formats/">Unique URIs for File Formats</a>. For formats that do not have an existing URI, the <code>&lt;<a href="http://www.w3.org/ns/formats/media_type">http://www.w3.org/ns/formats/media_type</a>&gt;</code> and <code>&lt;<a href="http://www.w3.org/ns/formats/preferred_suffix">http://www.w3.org/ns/formats/preferred_suffix</a>&gt;</code> properties defined in that document &SHOULD; be used to describe the format.</p>
			<table>
				<tr><th>domain:</th><td><a href="#sd-Service"><code>sd:Service</code></a></td></tr>
				<tr><th>range:</th><td><code>&lt;<a href="http://www.w3.org/ns/formats/Format">http://www.w3.org/ns/formats/Format</a>&gt;</code></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-defaultGraph"><head>sd:defaultGraph</head>
			<p>Relates an instance of <a href="#sd-Dataset"><code>sd:Dataset</code></a> to the description of its default graph.</p>
			<table>
				<tr><th>domain:</th><td><a href="#sd-Dataset"><code>sd:Dataset</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-Graph"><code>sd:Graph</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-namedGraph"><head>sd:namedGraph</head>
			<p>Relates an instance of <a href="#sd-GraphCollection"><code>sd:GraphCollection</code></a> (or its subclass <a href="#sd-Dataset"><code>sd:Dataset</code></a>) to the description of one of its named graphs. The description of such a named graph &MUST; include the <a href="#sd-name"><code>sd:name</code></a> property and &MAY; include the <a href="#sd-graph"><code>sd:graph</code></a> property.</p>
			<table>
				<tr><th>domain:</th><td><a href="#sd-GraphCollection"><code>sd:GraphCollection</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-NamedGraph"><code>sd:NamedGraph</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-name"><head>sd:name</head>
			<p>Relates a named graph to the name by which it may be referenced in a FROM/FROM NAMED clause. The object of the sd:name property is an IRI.</p>
			<table>
				<tr><th>domain:</th><td><a href="#sd-NamedGraph"><code>sd:NamedGraph</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-graph"><head>sd:graph</head>
			<p>Relates a named graph to its graph description.</p>
			<table>
				<tr><th>domain:</th><td><a href="#sd-NamedGraph"><code>sd:NamedGraph</code></a></td></tr>
				<tr><th>range:</th><td><a href="#sd-Graph"><code>sd:Graph</code></a></td></tr>
			</table>
			</div3>
		</div2>
		
		<div2 id="classes"><head>Classes</head>
			<div3 id="sd-Service"><head>sd:Service</head>
			<p>An instance of <a href="#sd-Service"><code>sd:Service</code></a> represents a SPARQL service made available via the SPARQL Protocol.</p>
			<table>
				<tr><th>type:</th><td><code>rdfs:Class</code></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-Feature"><head>sd:Feature</head>
			<p>An instance of <a href="#sd-Feature"><code>sd:Feature</code></a> represents a feature of a SPARQL service. Specific types of features include <a href="#sd-Function">functions</a>, <a href="#sd-Aggregate">aggregates</a>, <a href="#sd-Language">languages</a>, and entailment <a href="#sd-EntailmentRegime">regimes</a> and <a href="#sd-EntailmentProfile">profiles</a>. This document defines five instances of <a href="#sd-Feature"><code>sd:Feature</code></a>: <a href="#sd-dereferencesuris"><code>sd:DereferencesURIs</code></a>, <a href="#sd-uniondefaultgraph"><code>sd:UnionDefaultGraph</code></a>, <a href="#sd-requiresdataset"><code>sd:RequiresDataset</code></a>, <a href="#sd-emptygraphs"><code>sd:EmptyGraphs</code></a>, and <a href="#sd-basicfederatedquery"><code>sd:BasicFederatedQuery</code></a>.</p>
			<table>
				<tr><th>type:</th><td><code>rdfs:Class</code></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-Language"><head>sd:Language</head>
			<p>An instance of <a href="#sd-Language"><code>sd:Language</code></a> represents one of the SPARQL languages, including specific configurations providing particular features or extensions. This document defines three instances of <a href="#sd-Language"><code>sd:Language</code></a>: <a href="#lang-sparql10query"><code>sd:SPARQL10Query</code></a>, <a href="#lang-sparql11query"><code>sd:SPARQL11Query</code></a>, and <a href="#lang-sparql11update"><code>sd:SPARQL11Update</code></a>.</p>
			<table>
				<tr><th>type:</th><td><code>rdfs:Class</code></td></tr>
				<tr><th>subClassOf:</th><td><a href="#sd-Feature"><code>sd:Feature</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-Function"><head>sd:Function</head>
			<p>An instance of <a href="#sd-Function"><code>sd:Function</code></a> represents a function that may be used in a SPARQL <a href="http://www.w3.org/TR/sparql11-query/#selectExpressions">SELECT expression</a> or a <a href="http://www.w3.org/TR/sparql11-query/#expressions">FILTER</a>, <a href="http://www.w3.org/TR/sparql11-query/#having">HAVING</a>, <a href="http://www.w3.org/TR/sparql11-query/#groupby">GROUP BY</a>, <a href="http://www.w3.org/TR/sparql11-query/#modOrderBy">ORDER BY</a>, or <a href="http://www.w3.org/TR/sparql11-query/#bind">BIND</a> clause.</p>
			<table>
				<tr><th>type:</th><td><code>rdfs:Class</code></td></tr>
				<tr><th>subClassOf:</th><td><a href="#sd-Feature"><code>sd:Feature</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-Aggregate"><head>sd:Aggregate</head>
			<p>An instance of <a href="#sd-Aggregate"><code>sd:Aggregate</code></a> represents an aggregate that may be used in a SPARQL aggregate query (for instance in a <a href="http://www.w3.org/TR/sparql11-query/#having">HAVING</a> clause or <a href="http://www.w3.org/TR/sparql11-query/#selectExpressions">SELECT expression</a>) besides the standard list of <a href="http://www.w3.org/TR/sparql11-query/#aggregates">supported aggregates</a> COUNT, SUM, MIN, MAX, AVG, GROUP_CONCAT, and SAMPLE.</p>
			<table>
				<tr><th>type:</th><td><code>rdfs:Class</code></td></tr>
				<tr><th>subClassOf:</th><td><a href="#sd-Feature"><code>sd:Feature</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-EntailmentRegime"><head>sd:EntailmentRegime</head>
			<p>An instance of <a href="#sd-EntailmentRegime"><code>sd:EntailmentRegime</code></a> represents an entailment regime used in basic graph pattern matching (as described by <a href="http://www.w3.org/TR/sparql11-query/#sparqlBGPExtend">SPARQL 1.1 Query Language</a>). URIs for commonly used entailment regimes are defined by <a class="inform" href="http://www.w3.org/ns/entailment/">Unique URIs for Semantic Web Entailment Regimes</a> [<a href="#ENTAILMENT">ENTAILMENT</a>].</p>
			<table>
				<tr><th>type:</th><td><code>rdfs:Class</code></td></tr>
				<tr><th>subClassOf:</th><td><a href="#sd-Feature"><code>sd:Feature</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-EntailmentProfile"><head>sd:EntailmentProfile</head>
			<p>An instance of <a href="#sd-EntailmentProfile"><code>sd:EntailmentProfile</code></a> represents a profile of an entailment regime. An entailment profile &MAY; impose restrictions on what constitutes valid RDF with respect to entailment. URIs for commonly used entailment profiles are defined by <a href="http://www.w3.org/ns/owl-profile/">Unique URIs for OWL 2 Profiles</a> [<a href="#OWL2PROF">OWL2PROF</a>].</p>
			<table>
				<tr><th>type:</th><td><code>rdfs:Class</code></td></tr>
				<tr><th>subClassOf:</th><td><a href="#sd-Feature"><code>sd:Feature</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-GraphCollection"><head>sd:GraphCollection</head>
			<p>An instance of <a href="#sd-GraphCollection"><code>sd:GraphCollection</code></a> represents a collection of zero or more named graph descriptions. Each named graph description belonging to an <a href="#sd-GraphCollection"><code>sd:GraphCollection</code></a> &MUST; be linked with the <a href="#sd-namedGraph"><code>sd:namedGraph</code></a> predicate.</p>
			<table>
				<tr><th>type:</th><td><code>rdfs:Class</code></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-Dataset"><head>sd:Dataset</head>
			<p>An instance of <a href="#sd-Dataset"><code>sd:Dataset</code></a> represents a <a href="http://www.w3.org/TR/sparql11-query/#rdfDataset">RDF Dataset</a> comprised of a default graph and zero or more named graphs.</p>
			<p>The default graph of an <a href="#sd-Dataset"><code>sd:Dataset</code></a> &MUST; be linked with the <a href="#sd-defaultGraph"><code>sd:defaultGraph</code></a> predicate.</p>
			<table>
				<tr><th>type:</th><td><code>rdfs:Class</code></td></tr>
				<tr><th>subClassOf:</th><td><a href="#sd-GraphCollection"><code>sd:GraphCollection</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-Graph"><head>sd:Graph</head>
			<p>An instance of <a href="#sd-Graph"><code>sd:Graph</code></a> represents the description of an RDF graph.</p>
			<p>This document does not define properties with domain <a href="#sd-Graph"><code>sd:Graph</code></a>. Instead, such instances may be described using other appropriate vocabularies (see <a href="#example">example below</a>).</p>
			<table>
				<tr><th>type:</th><td><code>rdfs:Class</code></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-NamedGraph"><head>sd:NamedGraph</head>
			<p>An instance of <a href="#sd-NamedGraph"><code>sd:NamedGraph</code></a> represents a named graph having a name (via <a href="#sd-name"><code>sd:name</code></a>) and an optional graph description (via <a href="#sd-graph"><code>sd:graph</code></a>).</p>
			<table>
				<tr><th>type:</th><td><code>rdfs:Class</code></td></tr>
			</table>
			</div3>
		</div2>
		
		<div2 id="instances"><head>Instances</head>
			<div3 id="lang-sparql10query"><head>sd:SPARQL10Query</head>
			<p><code>sd:SPARQL10Query</code> is an <a href="#sd-Language"><code>sd:Language</code></a> representing the <a href="http://www.w3.org/TR/rdf-sparql-query/">SPARQL 1.0 Query language</a> [<a href="#QUERY10">QUERY10</a>].</p>
			<table>
				<tr><th>type:</th><td><a href="#sd-Language"><code>sd:Language</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="lang-sparql11query"><head>sd:SPARQL11Query</head>
			<p><code>sd:SPARQL11Query</code> is an <a href="#sd-Language"><code>sd:Language</code></a> representing the <a href="http://www.w3.org/TR/sparql11-query/">SPARQL 1.1 Query language</a>  [<a href="#QUERY11">QUERY11</a>].</p>
			<table>
				<tr><th>type:</th><td><a href="#sd-Language"><code>sd:Language</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="lang-sparql11update"><head>sd:SPARQL11Update</head>
			<p><code>sd:SPARQLUpdate</code> is an <a href="#sd-Language"><code>sd:Language</code></a> representing the <a href="http://www.w3.org/TR/sparql11-update/">SPARQL 1.1 Update language</a> [<a href="#UPDATE11">UPDATE11</a>].</p>
			<table>
				<tr><th>type:</th><td><a href="#sd-Language"><code>sd:Language</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-dereferencesuris"><head>sd:DereferencesURIs</head>
			<p><code>sd:DereferencesURIs</code>, when used as the object of the <a href="#sd-feature">sd:feature</a> property, indicates that a SPARQL service will <a href="http://www.w3.org/TR/webarch/#uri-dereference">dereference</a> [<a href="#AWWW">AWWW</a>] URIs used in <a href="http://www.w3.org/TR/sparql11-query/#specifyingDataset">FROM/FROM NAMED</a> and <a href="http://www.w3.org/TR/sparql11-update/#defUSING">USING/USING NAMED</a> clauses and use the resulting RDF in the dataset during query evaluation.</p>
			<table>
				<tr><th>type:</th><td><a href="#sd-Feature"><code>sd:Feature</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-uniondefaultgraph"><head>sd:UnionDefaultGraph</head>
			<p><code>sd:UnionDefaultGraph</code>, when used as the object of the <a href="#sd-feature">sd:feature</a> property, indicates that the default graph of the dataset used during query and update evaluation (when an explicit dataset is not specified) is comprised of the union of all the named graphs in that dataset.</p>
			<table>
				<tr><th>type:</th><td><a href="#sd-Feature"><code>sd:Feature</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-requiresdataset"><head>sd:RequiresDataset</head>
			<p><code>sd:RequiresDataset</code>, when used as the object of the <a href="#sd-feature">sd:feature</a> property, indicates that the SPARQL service requires an explicit dataset declaration (based on either <a href="http://www.w3.org/TR/sparql11-query/#specifyingDataset">FROM/FROM NAMED</a> clauses in a query, <a href="http://www.w3.org/TR/sparql11-update/#defUSING">USING/USING NAMED</a> clauses in an update, or the <a href="http://www.w3.org/TR/sparql11-protocol/#dataset">appropriate SPARQL Protocol parameters</a>).</p>
			<table>
				<tr><th>type:</th><td><a href="#sd-Feature"><code>sd:Feature</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-emptygraphs"><head>sd:EmptyGraphs</head>
			<p><code>sd:EmptyGraphs</code>, when used as the object of the <a href="#sd-feature">sd:feature</a> property, indicates that the underlying graph store supports empty graphs. A graph store that supports empty graphs &MUSTNOT; remove graphs that are left empty after triples are removed from them. (See <a href="http://www.w3.org/TR/sparql11-update/#graphUpdate">3.1 Graph Update in SPARQL 1.1 Update</a>.)</p>
			<table>
				<tr><th>type:</th><td><a href="#sd-Feature"><code>sd:Feature</code></a></td></tr>
			</table>
			</div3>
			
			<div3 id="sd-basicfederatedquery"><head>sd:BasicFederatedQuery</head>
			<p><code>sd:BasicFederatedQuery</code>, when used as the object of the <a href="#sd-feature">sd:feature</a> property, indicates that the SPARQL service supports basic federated query using the <a href="http://www.w3.org/TR/sparql11-federated-query/#service">SERVICE keyword</a> as defined by <a href="http://www.w3.org/TR/sparql11-federated-query/">SPARQL 1.1 Federation Extensions</a> [<a href="#SPARQLFED">SPARQLFED</a>].</p>
			<table>
				<tr><th>type:</th><td><a href="#sd-Feature"><code>sd:Feature</code></a></td></tr>
			</table>
			</div3>

			<div3 id="other-instances"><head>Other Instances</head>
				<p>Apart from the instances listed above, custom extensions and other documents may define further instance URIs usable within service descriptions; the following documents also list instance URIs that may be used with some of the properties defined in the previous sections:</p>
				<ul>
					<li><a href="http://www.w3.org/ns/entailment/">Unique URIs for Semantic Web Entailment Regimes</a> [<a href="#ENTAILMENT">ENTAILMENT</a>] (members of the class <a href="#sd-EntailmentRegime"><code>sd:EntailmentRegime</code></a> usable with the properties <a href="#sd-defaultEntailmentRegime"><code>sd:defaultEntailmentRegime</code></a> and <a href="#sd-entailmentRegime"><code>sd:entailmentRegime</code></a>)</li>
					<li><a href="http://www.w3.org/ns/owl-profile/">Unique URIs for OWL 2 Profiles</a> [<a href="#OWL2PROF">OWL2PROF</a>] (members of the class <a href="#sd-EntailmentProfile"><code>sd:EntailmentProfile</code></a> usable with the properties <a href="#sd-defaultSupportedEntailmentProfile"><code>sd:defaultSupportedEntailmentProfile</code></a> and <a href="#sd-supportedEntailmentProfile"><code>sd:supportedEntailmentProfile</code></a>)</li>
					<li><a href="http://www.w3.org/ns/formats/">Unique URIs for File Formats</a> [<a href="#FORMATS">FORMATS</a>] (members of the class <code>&lt;<a href="http://www.w3.org/ns/formats/Format">http://www.w3.org/ns/formats/Format</a>&gt;</code> usable with the properties <a href="#sd-resultFormat"><code>sd:resultFormat</code></a> and <a href="#sd-inputFormat"><code>sd:inputFormat</code></a>)</li>
				</ul>
			</div3>
		</div2>
	</div1>

	<div1 id="example"><head>Example (Informative)</head>
		<p>The following HTTP traces illustrate the retrieval of a service description from the SPARQL endpoint <code>http://www.example/sparql/</code>.</p>
		
		<p>This RDF describes a SPARQL service available at the URL <code>http://www.example/sparql/</code> that supports the SPARQL 1.1 Query language. The service will dereference URLs used in FROM/FROM NAMED clauses, supports both the RDF/XML and Turtle serialization formats, supports the <code>http://example.org/Distance</code> extension function, and has a dataset with a default graph and one named graph, both described using the voiD vocabulary [<a href="#VOID">VOID</a>]. The default graph contains 100 triples and supports RDFS entailment while the graph named http://www.example/named-graph contains 2000 triples and supports OWL2 RL entailment.</p>
		
		<div2 id="example-rdfxml"><head>RDF/XML Service Description</head>
			<p>Given the HTTP request:</p>
			<pre>GET /sparql/ HTTP/1.1
Host: www.example
</pre>

			<p>the SPARQL service responds with an RDF/XML encoded service description (no content negotiation or RDFa encoding is used):</p>

			<pre>HTTP/1.1 200 OK
Date: Fri, 09 Oct 2009 17:31:12 GMT
Server: Apache/1.3.29 (Unix) PHP/4.3.4 DAV/1.0.3
Connection: close
Content-Type: application/rdf+xml

&lt;?xml version="1.0" encoding="utf-8"?>
&lt;rdf:RDF
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:sd="http://www.w3.org/ns/sparql-service-description#"
   xmlns:prof="http://www.w3.org/ns/owl-profile/"
   xmlns:void="http://rdfs.org/ns/void#">
  &lt;sd:Service>
    &lt;sd:endpoint rdf:resource="http://www.example/sparql/"/>
    &lt;sd:supportedLanguage rdf:resource="http://www.w3.org/ns/sparql-service-description#SPARQL11Query"/>
    &lt;sd:resultFormat rdf:resource="http://www.w3.org/ns/formats/RDF_XML"/>
    &lt;sd:resultFormat rdf:resource="http://www.w3.org/ns/formats/Turtle"/>
    &lt;sd:feature rdf:resource="http://www.w3.org/ns/sparql-service-description#DereferencesURIs"/>
    &lt;sd:defaultEntailmentRegime rdf:resource="http://www.w3.org/ns/entailment/RDFS"/>
    &lt;sd:extensionFunction>
      &lt;sd:Function rdf:about="http://example.org/Distance"/>
    &lt;/sd:extensionFunction>
    &lt;sd:defaultDataset>
      &lt;sd:Dataset>
        &lt;sd:defaultGraph>
          &lt;sd:Graph>
            &lt;void:triples rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">100&lt;/void:triples>
          &lt;/sd:Graph>
        &lt;/sd:defaultGraph>
        &lt;sd:namedGraph>
          &lt;sd:NamedGraph>
            &lt;sd:name rdf:resource="http://www.example/named-graph"/>
            &lt;sd:entailmentRegime rdf:resource="http://www.w3.org/ns/entailment/OWL-RDF-Based"/>
            &lt;sd:supportedEntailmentProfile rdf:resource="http://www.w3.org/ns/owl-profile/RL"/>
            &lt;sd:graph>
              &lt;sd:Graph>
                &lt;void:triples rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">2000&lt;/void:triples>
              &lt;/sd:Graph>
            &lt;/sd:graph>
          &lt;/sd:NamedGraph>
        &lt;/sd:namedGraph>
      &lt;/sd:Dataset>
    &lt;/sd:defaultDataset>
  &lt;/sd:Service>
&lt;/rdf:RDF>
</pre>
		</div2>

		<div2 id="example-turtle"><head>Turtle Service Description</head>
			<p>Given the HTTP request:</p>
			<pre>GET /sparql/ HTTP/1.1
Host: www.example
Accept: text/turtle
</pre>

			<p>the SPARQL service responds with a <a class="inform" href="http://www.w3.org/TeamSubmission/turtle/">Turtle</a> [<a href="#TURTLE">TURTLE</a>] encoded service description:</p>

			<pre>HTTP/1.1 200 OK
Date: Fri, 09 Oct 2009 17:31:12 GMT
Server: Apache/1.3.29 (Unix) PHP/4.3.4 DAV/1.0.3
Connection: close
Content-Type: text/turtle

@prefix sd: &lt;http://www.w3.org/ns/sparql-service-description#> .
@prefix ent: &lt;http://www.w3.org/ns/entailment/> .
@prefix prof: &lt;http://www.w3.org/ns/owl-profile/> .
@prefix void: &lt;http://rdfs.org/ns/void#> .

[] a sd:Service ;
    sd:endpoint &lt;http://www.example/sparql/> ;
    sd:supportedLanguage sd:SPARQL11Query ;
    sd:resultFormat &lt;http://www.w3.org/ns/formats/RDF_XML>, &lt;http://www.w3.org/ns/formats/Turtle> ;
    sd:extensionFunction &lt;http://example.org/Distance> ;
    sd:feature sd:DereferencesURIs ;
    sd:defaultEntailmentRegime ent:RDFS ;
    sd:defaultDataset [
        a sd:Dataset ;
        sd:defaultGraph [
            a sd:Graph ;
            void:triples 100
        ] ;
        sd:namedGraph [
            a sd:NamedGraph ;
            sd:name &lt;http://www.example/named-graph> ;
            sd:entailmentRegime ent:OWL-RDF-Based ;
            sd:supportedEntailmentProfile prof:RL ;
            sd:graph [
                a sd:Graph ;
                void:triples 2000
            ]
        ]
    ] .

&lt;http://example.org/Distance> a sd:Function .
</pre>
		</div2>
	</div1>

	<div1 id="conformance"><head>Conformance</head>
		<p>A SPARQL service conformant with this specification:</p>
		<ol>
			<li>&MUST; return RDF content when the service endpoint URL is accessed as described in section <a href="#accessing">2 Accessing a Service Description</a>.</li>
			<li>The RDF content returned from dereferencing a service endpoint URL <code>&lt;service-endpoint-URL&gt;</code> &MUST; include at least one triple matching: <pre>?service sd:endpoint &lt;service-endpoint-URL&gt; .</pre></li>
			<li>The RDF content returned &MUST; make use of the vocabulary defined in this document in accordance with the usage specified in section <a href="#vocab">3 Service Description Vocabulary</a>.</li>
		</ol>
	</div1>
	
	</body>

	<back>
		<!-- &SGML; -->
		<!-- &Biblio; -->
		<div1 id="sec-bibliography">
			<head>References</head>
			<div2 id="sec-normative-refs">
				<head>Normative References</head>
				<dl class="bib">
					<dt><a id="CONNEG" name="CONNEG">[CONNEG]</a></dt>
					<dd>
						<a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec12.html">Hypertext Transfer Protocol -- HTTP/1.1, Content Negotiation</a>,
						Fielding, et al., IETF. June 1999. This document is http://www.w3.org/Protocols/rfc2616/rfc2616-sec12.html .
					</dd>
					<dt><a id="RFC2119" name="RFC2119">[RFC2119]</a></dt>
					<dd>
						<a href="http://www.ietf.org/rfc/rfc2119.txt">Key words for use in RFCs to Indicate Requirement Levels</a>,
						S. Bradner, IETF. March 1997. This document is http://www.ietf.org/rfc/rfc2119.txt .
					</dd>
					<dt><a id="QUERY10" name="QUERY10">[QUERY10]</a></dt>
					<dd>
						<a href="http://www.w3.org/TR/rdf-sparql-query/">SPARQL Query Language for RDF</a>, E. Prud'hommeaux and Andy Seaborne, Editors, W3C Recommendation, 15 January 2008. This document is http://www.w3.org/TR/rdf-sparql-query/ .
					</dd>
					<dt><a id="QUERY11" name="QUERY11">[QUERY11]</a></dt>
					<dd>@@ref-query </dd> 

					<dt><a id="SPROT" name="SPROT">[SPROT]</a></dt>
					<dd>@@ref-protocol</dd>

					<dt><a id="UPDATE11" name="UPDATE11">[UPDATE11]</a></dt>
					<dd>@@ref-update</dd>
				</dl>
			</div2>
			
			<div2 id="sec-non-normative-refs">
				<head>Other References</head>
				<dl class="bib">
					<dt><a id="AWWW" name="AWWW">[AWWW]</a></dt>
					<dd>
						<a href="http://www.w3.org/TR/webarch/">Architecture of the World Wide Web, Volume One</a>, I. Jacobs and N. Walsh, Editors, W3C Recommendation, 15 December 2004. http://www.w3.org/TR/webarch/ .
					</dd>
					
					<dt><a id="ENTAILMENT" name="ENTAILMENT">[ENTAILMENT]</a></dt>
					<dd>
						<a href="http://www.w3.org/ns/entailment/">Unique URIs for Semantic Web Entailment Regimes</a>
					</dd>
					
					<dt><a id="FORMATS" name="FORMATS">[FORMATS]</a></dt>
					<dd>
						<a href="http://www.w3.org/ns/formats/">Unique URIs for File Formats</a>
					</dd>
					
					<dt><a id="OWL2PROF" name="OWL2PROF">[OWL2PROF]</a></dt>
					<dd>
						<a href="http://www.w3.org/ns/owl-profile/">Unique URIs for OWL 2 Profiles</a>
					</dd>
					
					<dt><a id="RDFA" name="RDFA">[RDFA]</a></dt>
					<dd>
						<a href="http://www.w3.org/TR/rdfa-syntax/">RDFa in XHTML: Syntax and Processing</a>, B. Adida, M. Birbeck, S. McCarron, and S. Pemberton, Editors, W3C Recommendation, 14 October 2008. http://www.w3.org/TR/rdfa-syntax/ .
					</dd>
					
					<dt><a id="SPARQLENT" name="SPARQLENT">[SPARQLENT]</a></dt>
					<dd>@@ref-entailment</dd>
					
					<dt><a id="SPARQLFED" name="SPARQLFED">[SPARQLFED]</a></dt>
					<dd>@@ref-federated-query</dd>
					
					<dt><a name="TURTLE" id="TURTLE">[TURTLE]</a></dt>
					<dd>@@ref-turtle</dd>
					
					<dt><a id="VOID" name="VOID">[VOID]</a></dt>
					<dd>
						<a href="http://www.w3.org/TR/2011/NOTE-void-20110303/">Describing Linked Datasets with the voiD Vocabulary</a>,
						K. Alexander, R. Cyganiak, M. Hausenblas, and J. Zhao, Authors, W3C Interest Group Note, 3 March 2011, http://www.w3.org/TR/2011/NOTE-void-20110303/ .
						<a title="Latest version of Describing Linked Datasets with the voiD Vocabulary" href="http://www.w3.org/TR/void/">Latest version</a> available at http://www.w3.org/TR/void/ .
					</dd>
				</dl>
			</div2>
		</div1>
 <!-- begin cvs history -->
		<div1 id="sec-cvsLog">
			<head>CVS History</head>
				<pre>
$Log: xmlspec.xml,v $
Revision 1.88  2013/03/20 17:47:29  sandro
add back changes-since-lc

Revision 1.87  2013-03-20 17:43:06  sandro
update changelog

Revision 1.86  2012-12-17 17:09:27  gwilliam
Removed unused scovo prefix in examples.

Revision 1.85  2012-11-07 02:20:46  sandro
various little fixes to references and links for publication

Revision 1.84  2012/11/06 23:56:05  sandro
*** empty log message ***

Revision 1.83  2012/11/06 14:16:44  sandro
mark cvs log

Revision 1.82  2012/10/10 19:52:13  gwilliam
Aligned terminology with Protocol document and improved wording regarding SD access (ACTION-695).

Revision 1.81  2012/02/13 22:45:07  gwilliam
Clarified usage of sd:availableGraphs based on comment MO-1.

Revision 1.80  2012/02/06 19:52:26  gwilliam
Updates that were made for LC2.

Revision 1.79  2011/12/31 20:52:42  gwilliam
Updates for pub-rules process.

Revision 1.78  2011/12/19 17:07:09  gwilliam
Updated W3C links to TR space.
Removed useless cite tags from xmlspec.

Revision 1.77  2011/12/13 14:51:28  gwilliam
Added reference to ORDER BY clause in sd:extensionFunction and sd:Function sections.

Revision 1.76  2011/12/13 14:32:05  gwilliam
Updated changes since last publication.

Revision 1.75  2011/12/13 14:20:23  gwilliam
Added links to other SPARQL documents.

Revision 1.74  2011/12/07 05:12:41  gwilliam
Changes based on Chime's 2LC review &lt;http://lists.w3.org/Archives/Public/public-rdf-dawg/2011OctDec/0309.html&gt;

Revision 1.73  2011/12/07 03:39:50  gwilliam
More changes based on Axel's 2LC review.

Revision 1.72  2011/12/06 14:57:21  gwilliam
Fixed XML encoding bug.

Revision 1.71  2011/12/06 14:06:06  gwilliam
Changes based on Axel's 2LC review &lt;http://lists.w3.org/Archives/Public/public-rdf-dawg/2011OctDec/0273.html&gt;.

Revision 1.70  2011/11/04 16:05:48  gwilliam
Updated text to indicate that RDF is available by dereferencing the namespace IRI.

Revision 1.69  2011/10/18 14:23:28  gwilliam
Renamed sd:defaultDatasetDescription to sd:defaultDataset.
Renamed sd:availableGraphDescriptions to sd:availableGraphs.

Revision 1.68  2011/10/10 18:28:32  gwilliam
Fixed xml escaping in CVS Log.

Revision 1.67  2011/10/10 18:27:19  gwilliam
Changes based on DB-6:
Clarified that "accessing a service description" means with an HTTP GET.
s/a URI reference/an IRI/ in the description of the range of sd:endpoint and sd:name.
Added links and surrounded full URIs with &lt;&gt;.
Added note that no properties are defined for sd:Graph, but that it should be used with other appropriate vocabularies.

Revision 1.66  2011/08/16 17:06:35  gwilliam
Updated wording based on comments in DB-6.

Revision 1.65  2011/06/14 15:05:25  gwilliam
Added internal html links to sd properties, classes, and instances.

Revision 1.64  2011/05/30 12:41:47  gwilliam
Updated SPARQL links to /TR/ space.
Updated voiD link to URI of W3C NOTE.

Revision 1.63  2011/05/05 19:06:29  gwilliam
Updated links to new Protocol ED.

Revision 1.62  2011/05/05 18:56:06  gwilliam
Fixed old name for "Graph Store HTTP Protocol".

Revision 1.61  2011/05/03 18:01:47  gwilliam
Added description of changes since last WD.

Revision 1.60  2011/05/03 17:26:27  gwilliam
Added informative reference to Turtle team submission.

Revision 1.59  2011/05/03 17:16:02  gwilliam
Marked the 'Example' section as informative.

Revision 1.58  2011/05/03 15:26:10  gwilliam
Added use of entailment to example SD, and added an example of turtle serialization.

Revision 1.57  2011/05/03 14:05:41  gwilliam
Added sd:defaultSupportedEntailmentProfile.

Revision 1.56  2011/05/02 23:08:14  gwilliam
Updated terminology text linking to Protocol 1.1.
Reorderd entailment properties sections.
Tweaked example RDF/XML.

Revision 1.55  2011/04/19 19:44:00  gwilliam
Updated text and link from sd:endpoint to the Protocol document.

Revision 1.54  2011/04/07 05:28:37  gwilliam
Updated text for sd:EmptyGraphs with link to SPARQL 1.1 Update doc.

Revision 1.53  2011/04/05 15:58:51  gwilliam
Re-add comment about the range of sd:endpoint being a URI reference.

Revision 1.52  2011/04/05 15:32:35  gwilliam
Changed sd:url to sd:endpoint, and "service URL" to "service endpoint".

Revision 1.51  2011/03/10 16:26:11  gwilliam
Conformance now requires "at least one" matching triple in the SD RDF.

Revision 1.50  2011/03/01 05:39:01  gwilliam
Updated description of sd:url to indicate the range is a service endpoint.
Updated sd:defaultDatasetDescription to list type owl:InverseFunctionalProperty.
Updated sd:resultFormat and sd:inputFormat to discuss relevant formats: properties.
Updated description of sd:namedGraph to describe the use of sd:graph as optional.
Updated conformance section to require a triple using sd:url with the service URL.

Revision 1.49  2011/02/05 19:23:06  gwilliam
Added link to RDFa in section 2 Accessing a Service Description.
Added list of defined features in section 3.3.2 sd:Feature.
Added link to entailment document in section 3.2.4 sd:supportedEntailmentProfile.
Updated linked document name "SPARQL 1.1 RDF Dataset HTTP Protocol" in section 3.2.14 sd:inputFormat.
Added note on sd:GraphCollection subclass sd:Dataset in section 3.2.16 sd:namedGraph.
Added link to AWWW for use of "dereference" in section 3.4.4 sd:DereferencesURIs.
Changed use of ldodds:Distance function in example SD to ex:Distance.
Added bibliographic entries for SPARQL 1.1 Entailment Regimes, RDFa, and AWWW.
Added intra-document bibliographic citation links.

Revision 1.48  2011/01/25 16:01:51  gwilliam
Added note on range of sd:url as "URI reference".
Renamed "aggregate operation" to just "aggregate".

Revision 1.47  2011/01/24 21:06:48  gwilliam
Added ranges for sd:resultFormat and sd:inputFormat.
Added link to update document for discussion of "LOAD statement".

Revision 1.46  2011/01/23 04:00:31  gwilliam
QNames are now marked up with code tags.
Consistent capitalization of "service description".

Revision 1.45  2011/01/22 22:46:38  gwilliam
More pre-LC changes:
Added conformance section
Added more links into the query doc.
Fixed linking of title text in references section.

Revision 1.44  2011/01/22 22:00:12  gwilliam
Updates based on pre-LC reviews by NicoM and LeeF.

Revision 1.43  2011/01/13 02:51:33  gwilliam
Updated reference and link to extending BGP matching section of SPARQL 1.1 Query doc.

Revision 1.42  2010/11/23 16:14:38  gwilliam
Added sd:BasicFederatedQuery feature.

Revision 1.41  2010/10/31 02:59:14  gwilliam
Fixed stated rdfs:domain of sd:defaultGraph.

Revision 1.40  2010/10/05 15:28:02  gwilliam
Updated document to use styling from local.css.

Revision 1.39  2010/10/05 15:05:36  gwilliam
Punctuation fixes.

Revision 1.38  2010/10/05 14:51:25  gwilliam
Reformatted schema information for classes/instances with html tables.

Revision 1.37  2010/10/05 14:01:52  gwilliam
Reformatted schema information for properties with html tables.

Revision 1.36  2010/10/05 02:21:08  gwilliam
Reworded description of sd:Language.
Updated the description of changes made since last the previous working draft.

Revision 1.35  2010/09/24 20:04:20  gwilliam
Updated editor's comments.

Revision 1.34  2010/09/24 19:51:00  gwilliam
Formatting changes based on WG reviews.

Revision 1.33  2010/08/30 16:41:08  gwilliam
Added anchors for all div3 sections.

Revision 1.32  2010/08/30 01:17:02  gwilliam
Added cross-section links.
Typo fixes and rewording based on draft feedback.
Added sd:inputFormat.

Revision 1.31  2010/05/25 15:09:37  gwilliam
Updated the description of changes made since last the previous working draft.

Revision 1.30  2010/05/10 02:50:30  gwilliam
Added link for formats URIs.
Added rdfs:domain for sd:graph.
Fixed typos.

Revision 1.29  2010/05/04 15:21:49  gwilliam
Fixed formatting of sd:resultFormat definition.

Revision 1.28  2010/05/04 15:19:00  gwilliam
Added link to W3C list of Unique URIs for File Formats.

Revision 1.27  2010/04/27 02:05:08  gwilliam
Added sd:EmptyGraphs, fixed typo in sd:entailmentRegime.

Revision 1.26  2010/04/18 19:18:08  gwilliam
Renamed sd:named to sd:name.
Split Functions and Aggregates, and added sd:extensionAggregate.

Revision 1.25  2010/03/30 17:34:52  gwilliam
Updated based on F2F3 decisions including:
Added note about Unique URIs for serialization formats.
Added named graph rdfs:domain for sd:supportedEntailment.
Updated references section and added SPARQL Protocol reference.

Revision 1.24  2010/03/20 18:45:10  gwilliam
Added classes sd:GraphCollection, sd:Graph, and sd:NamedGraph.
Made sd:Dataset a subclass of sd:GraphCollection.
Updated list of sd:Language instances.
Added sd:RequiresDataset feature.
Added properties sd:propertyFeature, sd:resultFormat.
Made sd:namedGraph have domain of sd:GraphCollection and range of sd:NamedGraph.
Made sd:named have domain of sd:NamedGraph.

Revision 1.23  2010/01/22 00:57:56  apollere2
Changed anticipated pub date to 26

Revision 1.22  2010/01/21 22:06:15  apollere2
Added previous location.

Revision 1.21  2010/01/21 22:01:29  apollere2
changed date.

Revision 1.20  2010/01/06 02:42:35  gwilliam
Added missing entailment profiles link text.

Revision 1.19  2010/01/06 02:40:59  gwilliam
Added link to W3C defined entailment profiles.

Revision 1.18  2010/01/05 03:22:41  gwilliam
Updated class/property descriptions.
Updated summary of changes.
Added @@ comments for needed changes.

Revision 1.17  2010/01/02 01:15:12  gwilliam
Capitalized feature IRIs.
Added description of sd:Function.

Revision 1.16  2009/12/23 23:03:09  gwilliam
pluralization fix.
removed trailing slash on graph name IRI.
removed extra section markup in CVS History.

Revision 1.15  2009/12/18 21:01:34  gwilliam
Added entialment regimes link.
Added entailment profile class and properties.
Added sd:entailmentRegime.
Renamed supportedEntailment to defaultEntailmentRegime.

Revision 1.14  2009/12/18 19:57:08  gwilliam
Added sd:named and sd:graph properties.
Updated example RDF.

Revision 1.13  2009/12/15 05:44:13  gwilliam
summary of changes since fpwd.
replaced more uses of sd:defaultDataset.

Revision 1.12  2009/12/15 05:03:07  gwilliam
Renamed defaultDataset to defaultDatasetDescription.

Revision 1.11  2009/12/01 04:58:49  gwilliam
Added feature IRIs and updated datase description terms per 2009-11-24 telecon.

Revision 1.10  2009/12/01 04:07:02  gwilliam
Added sd:Dataset class, description of sd:SPARQLQuery and sd:SPARQLUpdate, and
fixed whitespace formatting in CVS Log.

Revision 1.9  2009/10/21 03:29:49  lfeigenb
pubrules fixes

Revision 1.8  2009/10/21 03:19:15  lfeigenb
publication prep

Revision 1.7  2009/10/20 20:47:23  lfeigenb
validation errors

Revision 1.6  2009/10/20 19:45:51  lfeigenb
small fixes for naming and cleanup

Revision 1.5  2009/10/20 18:03:06  lfeigenb
move to using the shared XML spec materials

Revision 1.4  2009/10/20 15:53:20  lfeigenb
updated NS URI as per Oct-20 meeting

Revision 1.3  2009/10/20 14:25:47  gwilliam
Fixed base.uri.
Commented out TURTLE reference.

Revision 1.2  2009/10/20 13:59:34  gwilliam
Removed duplicate namespace section.

Revision 1.1  2009/10/20 04:21:12  gwilliam
CREATED

				</pre>
		</div1>
 <!-- end cvs history --> 


<div>
  <h2 id="changelog">Change Log</h2>

    <h3 id="changes-since-pr">Changes since Proposed Recommendation</h3>
    <ul>
      <li>Changed example to remove unused namespace prefix</li>
    </ul>

    <h3 id="changes-since-lc">Changes since Last Call</h3>
    <ul>
      <li>Aligned terminology with Protocol document and improved wording regarding SD access</li>
      <li>Clarified usage of sd:availableGraphs based on comment</li>
      <li>Updated references; moved changelog; hid cvs log</li>
    </ul>


</div>

	</back>
</spec>
