Simple Query (HTTP)

http://localhost/thesauri/Theme?term=biosphere

<?xml version='1.0' encoding='ISO-8859-1'?> <rdf:RDF xmlns:q="http://localhost/schemas/1999/08/26-query#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <q:Search> <q:match> <q:Match q:matchString="biosphere"> <q:matchType rdf:resource="http://localhost/schemas/1999/08/26-query#default"/> </q:Match> </q:match> </q:Search> </rdf:RDF>

  Thesaurus server response (RDF) Browser

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:q="http://localhost/schemas/1999/08/26-query#" xmlns:cv="http://localhost/schemas/1999/08/26-cv#"> <cv:Descriptor cv:label="Biosphere" rdf:about="Biosphere" /> <cv:Descriptor cv:label="Biosphere reserves" rdf:about="Biosphere reserves" /> <q:Result rdf:about="http://localhost#junk"> <q:term rdf:resource="Biosphere" /> <q:term rdf:resource="Biosphere reserves" /> </q:Result></rdf:RDF>

  Exact match query structure (HTTP)

http://localhost/thesauri/Theme?biosphere

  Exact match response (RDF) Browser

<RDF:RDF>
xmlns="http://ceres.ca.gov/thesaurus/RDF/"
xmlns:RDF="http://www.w3.org/TR/WD-rdf-syntax/">
<SUBSET rdf:resource="http://localhost/thesauri/Theme?biosphere">
 <THESAURUS resource="http://localhost/thesauri/Theme">
   <DESCRIPTOR ID="Biosphere" LABEL="Biosphere" SN="Organisms and ecosystems">
   <CAT LABEL="Natural environment" RDF:RESOURCE="Natural environment"/>
   <TT LABEL="Earth" RDF:RESOURCE="Earth"/>
   <BT LABEL="Earth" RDF:RESOURCE="Earth"/>
   <RT LABEL="Biosphere [GEMET]" RDF:RESOURCE="Biosphere [GEMET]"/>
   <RT LABEL="Biosphere [LCSH]" RDF:RESOURCE="Biosphere [LCSH]"/>
   <NT LABEL="Organisms" RDF:RESOURCE="Organisms"/>
   <NT LABEL="Biodiversity" RDF:RESOURCE="Biodiversity"/>
   <NT LABEL="Biological processes" RDF:RESOURCE="Biological processes"/>
   <NT LABEL="Ecosystems" RDF:RESOURCE="Ecosystems"/>
   <NT LABEL="Evolution" RDF:RESOURCE="Evolution"/>
   </DESCRIPTOR>
 </THESAURUS>
</SUBSET>
</RDF:RDF>

Back