<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/TR/1999/PR-rdf-schema-19990303#" xmlns:ds="http://www.nesstar.org/rdf/Dataset/" xmlns:ch="http://www.nesstar.org/rdf/Catalog/" xmlns:se="http://www.nesstar.org/rdf/NSDStatEngine/" xmlns:n="http://www.nesstar.org/rdf/" xmlns:srvp="http://www.nesstar.org/rdf/Server#" xmlns:srv="http://www.nesstar.org/rdf/Server/" xmlns:UML="org.omg.xmi.namespace.UML">
    <!--Catalog Class-->
    
   <rdfs:Class rdf:about="http://www.nesstar.org/rdf/Catalog">
      <rdfs:label>Catalog</rdfs:label>
      <rdfs:comment><![CDATA[A Catalog, a container for searchable metadata and processable data.]]></rdfs:comment>
   </rdfs:Class>

   <rdfs:Property rdf:about="http://www.nesstar.org/rdf/Catalog#datasets">
      <rdfs:label>datasets</rdfs:label>
      <rdfs:comment/>
      <rdfs:domain rdf:resource="http://www.nesstar.org/rdf/Catalog"/>
      <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag"/>
      <n:readOnly>true</n:readOnly>
   </rdfs:Property>



   <rdfs:Property rdf:about="http://www.nesstar.org/rdf/Catalog#position">
      <rdfs:label>position</rdfs:label>
      <rdfs:comment><![CDATA[<p> This stores the original position of this catalog, relative to the other catalogs, in the XML, for the purpose of returning the catalog to the client in the order specified in the publisher. </p> ]]></rdfs:comment>
      <rdfs:domain rdf:resource="http://www.nesstar.org/rdf/Catalog"/>
      <rdfs:range rdf:resource="http://www.nesstar.org/rdf/Integer"/>
      <n:readOnly>true</n:readOnly>
   </rdfs:Property>


<!--AddDataset Method-->
   <rdfs:Class rdf:about="http://www.nesstar.org/rdf/Catalog/AddDataset">
      <rdfs:subClassOf rdf:resource="http://www.nesstar.org/rdf/Method"/>
      <rdfs:label>AddDataset</rdfs:label>
      <rdfs:comment><![CDATA[Add a dataset to the catalog. <p>Returns the dataset object that has been created.]]></rdfs:comment>
      <rdfs:domain rdf:resource="http://www.nesstar.org/rdf/Catalog"/>
      <rdfs:range rdf:resource="http://www.nesstar.org/rdf/Dataset"/>
   </rdfs:Class>


   <n:Parameter rdf:about="http://www.nesstar.org/rdf/Catalog/AddDataset#file">
      <rdfs:label>file</rdfs:label>
      <rdfs:comment><![CDATA[  The XML file, coded according to the DDI standard, that describes the dataset. <p>The ID of the dataset is taken from the <b>stdyDscr/citation/titlStmt/IDNo</b> element.      ]]></rdfs:comment>
      <rdfs:domain rdf:resource="http://www.nesstar.org/rdf/Catalog/AddDataset"/>
      <rdfs:range rdf:resource="http://www.nesstar.org/rdf/File"/>
   </n:Parameter>
<!--Reindex Method-->
   <rdfs:Class rdf:about="http://www.nesstar.org/rdf/Catalog/Reindex">
      <rdfs:subClassOf rdf:resource="http://www.nesstar.org/rdf/Method"/>
      <rdfs:label>Reindex</rdfs:label>
      <rdfs:comment><![CDATA[Reindex the catalog.]]></rdfs:comment>
      <rdfs:domain rdf:resource="http://www.nesstar.org/rdf/Catalog"/>
      <rdfs:range rdf:resource="http://www.nesstar.org/rdf/Void"/>
   </rdfs:Class>

<!--Query Method-->
   <rdfs:Class rdf:about="http://www.nesstar.org/rdf/Catalog/Query">
      <rdfs:subClassOf rdf:resource="http://www.nesstar.org/rdf/Method"/>
      <rdfs:label>Query</rdfs:label>
		<!--n:label = Query on '{http://www.nesstar.org/rdf/Catalog/Query#query}' in {http://www.nesstar.org/rdf/Method/obj}-->
      <rdfs:comment><![CDATA[Query the catalog. <p>Return the RDF description of the retrieved datasets.]]></rdfs:comment>
      <rdfs:domain rdf:resource="http://www.nesstar.org/rdf/Catalog"/>
      <rdfs:range rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag"/>
   </rdfs:Class>


   <n:Parameter rdf:about="http://www.nesstar.org/rdf/Catalog/Query#query">
      <rdfs:label>query</rdfs:label>
      <rdfs:comment><![CDATA[

The query to perform.

<p>The queries are expressed in the cheshire search language, for example:
<dl>
<dt>any @ census
<dd>return all the datasets that contain, in any of their queryable fields, the word <i>census</i>
</dl>

<p>In addition there are the following special queries:
<dl>
<dt>LIST
<dd>return all the datasets in the catalog

<dt>hasdata yes
<dd>Returns all the datasets that have data

</dl>




  ]]></rdfs:comment>
      <rdfs:domain rdf:resource="http://www.nesstar.org/rdf/Catalog/Query"/>
      <rdfs:range rdf:resource="http://www.nesstar.org/rdf/String"/>
   </n:Parameter>
<!--DeleteAllDatasets Method-->
   <rdfs:Class rdf:about="http://www.nesstar.org/rdf/Catalog/DeleteAllDatasets">
      <rdfs:subClassOf rdf:resource="http://www.nesstar.org/rdf/Method"/>
      <rdfs:label>DeleteAllDatasets</rdfs:label>
      <rdfs:comment><![CDATA[Delete all the datasets in the catalog.]]></rdfs:comment>
      <rdfs:domain rdf:resource="http://www.nesstar.org/rdf/Catalog"/>
      <rdfs:range rdf:resource="http://www.nesstar.org/rdf/Void"/>
   </rdfs:Class>

</rdf:RDF>