Vocabulary Service 2.0 Specification

Repository Information Interface:

Available repositories

1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/RepositoryInfo
2 Result
 
<repositoryInfo>
  <repository>SYSTEM</repository>
  <repository>wdtf03.1</repository>
  <repository>nvcl-scalars</repository>
  <repository>commodity_vocab</repository>
  <repository>uom-harmonised</repository>
  <repository>gml-uom</repository>
  <repository>wdtf03-codelist</repository>
  <repository>geotime</repository>
  <repository>uom</repository>
  <repository>nvcl</repository>
</repositoryInfo>

Get Namespaces

Repository: nvcl (https://svn.auscope.org/subversion/AuScopeNVCL/nvcl-vocabs/trunk/rdf-0.3.xml)

1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/NamespacesInfo/nvcl
2 Result
 
<namespaceInfo>
  <namespace>
    <prefix>owl2xml</prefix>
    <name>http://www.w3.org/2006/12/owl2-xml#</name>
  </namespace>
  <namespace>
    <prefix>nvcl</prefix>
    <name>http://www.auscope.org/ontology/vocabs/nvcl/0.3#</name>
  </namespace>
  <namespace>
    <prefix>xsd</prefix>
    <name>http://www.w3.org/2001/XMLSchema#</name>
  </namespace>
  <namespace>
    <prefix>rdfs</prefix>
    <name>http://www.w3.org/2000/01/rdf-schema#</name>
  </namespace>
  <namespace>
    <prefix>rdf</prefix>
    <name>http://www.w3.org/1999/02/22-rdf-syntax-ns#</name>
  </namespace>
  <namespace>
    <prefix>skos</prefix>
    <name>http://www.w3.org/2004/02/skos/core#</name>
  </namespace>
  <namespace>
    <prefix>owl</prefix>
    <name>http://www.w3.org/2002/07/owl#</name>
  </namespace>
</namespaceInfo>

Discovering Interface:

Does subject exist?

Repository:nvcl (https://svn.auscope.org/subversion/AuScopeNVCL/nvcl-vocabs/trunk/rdf-0.3.xml)

1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/doesSubjectExist?nvcl/nvcl:Jarosite
2 SPARQL Query getSubject("nvcl:Jarosite")
 
ASK {nvcl:Jarosite ?x ?y }
3 Result
 
<sparql>
  <results>
    <boolean>true</boolean>
  </results>
</sparql>

Does resource exist?

Repository:CGI vocabulary

1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/doesResourceExist?CGI/http://resource.geosciml.org/classifier/cgi/lithology/0076
2 SPARQL Query getResource("http://resource.geosciml.org/classifier/cgi/lithology/0076")
 
ASK {<http://resource.geosciml.org/classifier/cgi/lithology/0076>?x ?y }
3 Result
 
<sparql>
  <results>
    <boolean>true</boolean>
  </results>
</sparql>

Does relation exist?

Repository:nvcl (https://svn.auscope.org/subversion/AuScopeNVCL/nvcl-vocabs/trunk/rdf-0.3.xml)

1 Rest Call http://auscope-services-test.arrc.csiro.au/SISSVoc/doesRelationExist?nvcl/nvcl:Sulfate/skos:narrower/nvcl:Gypsum
2 SPARQL Query getRelation("Sulfate","skos:narrower","Gypsum")
 
 
ASK {nvcl:Sulfate skos:narrower nvcl:Gypsum} 
3 Result
 
<sparql>
  <results>
    <boolean>false</boolean>
  </results>
</sparql>

Does concept with specified property exist?

Repository:wdtf03.1
1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/doesSubjectWithPropertyExist?wdtf03.1/dc:identifier/km
2 SPARQL Query doesConceptByPropertyExist(?concept "dc:identifier" "km")
 
ASK {?concept dc:identifier "km"}
3 Result
 
<sparql>
  <results>
    <boolean>true</boolean>
  </results>
</sparql>

Does the subject exist where related object has a specified property?

Repository: wdtf03.1
1 REST Call http://auscope-services-test.arrc.csiro.au/SISSVoc/doesSubjectWithRelationExist?wdtf03.1/param:Evaporation_mm/skos:related/dc:identifier/mm
2 SPARQL Query doesSubjectWithRelationExist("param:Evaporation_mm", "skos:related","dc:identifier", "mm")
 
ASK {param:Evaporation_mm skos:related ?x . ?x dc:identifier "mm"}
3 Result
 
<sparql>
  <results>
    <boolean>true</boolean>
  </results>
</sparql>

Retrieve Concept Interface:

The responses are represented in HTML or RDF/XML

Retrieve Concept By URI

Repository: nvcl (https://svn.auscope.org/subversion/AuScopeNVCL/nvcl-vocabs/trunk/rdf-0.3.xml)

1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/getConceptByURI?nvcl/http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Jarosite
2 SPARQL Query getConceptByURI("http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Jarosite")
 
DESCRIBE <http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Jarosite>
3 Result
 
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
   xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#"
   xmlns:nvcl="http://www.auscope.org/ontology/vocabs/nvcl/0.3#"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
   xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:skos="http://www.w3.org/2004/02/skos/core#"
   xmlns:owl="http://www.w3.org/2002/07/owl#">
<skos:Concept rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40">
   <skos:prefLabel xml:lang="de">Sulfate</skos:prefLabel>
   <skos:altLabel xml:lang="de">Sulphate</skos:altLabel>
   <skos:altLabel xml:lang="en">Sulfates</skos:altLabel>
   <skos:prefLabel xml:lang="en">Sulphates</skos:prefLabel>
   <skos:inScheme rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#eabbb93b-f756-41cf-b64c-b35cca5de955"/>
</skos:Concept>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#20ac947d-6e82-4b67-a704-607851bb590d">
   <skos:member rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#45853539-e02e-43d4-8df9-47957def2bad">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#97aaa7ce-db4f-4726-82f3-f0fe2e08cf47">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#b2068d01-1504-41d2-a4fd-92eb7a5012fa">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#d7a3ad40-75b8-405c-9c62-633ce189781a">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#fba8e630-75d9-48f3-8f45-840e42579491">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>

Retrieve Concept By Prefixed Name

Repository: nvcl (https://svn.auscope.org/subversion/AuScopeNVCL/nvcl-vocabs/trunk/rdf-0.3.xml)

1 HTTP Request http://services.auscope.org/SISSVoc/getConceptByPrefixedName?nvcl/nvcl:Gypsum
2 SPARQL Query getConceptByQname("nvcl:Gypsum")
 

DESCRIBE {nvcl:09ddcae4-2b5f-4c8f-b13c-8038c37fcd40}
3 Result
 
<rdf:RDF
   xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#"
   xmlns:nvcl="http://www.auscope.org/ontology/vocabs/nvcl/0.3#"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
   xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:skos="http://www.w3.org/2004/02/skos/core#"
   xmlns:owl="http://www.w3.org/2002/07/owl#">
<skos:Concept rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40">
   <skos:prefLabel xml:lang="de">Sulfate</skos:prefLabel>
   <skos:altLabel xml:lang="de">Sulphate</skos:altLabel>
   <skos:altLabel xml:lang="en">Sulfates</skos:altLabel>
   <skos:prefLabel xml:lang="en">Sulphates</skos:prefLabel>
   <skos:inScheme rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#eabbb93b-f756-41cf-b64c-b35cca5de955"/>
</skos:Concept>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#20ac947d-6e82-4b67-a704-607851bb590d">
   <skos:member rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#45853539-e02e-43d4-8df9-47957def2bad">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#97aaa7ce-db4f-4726-82f3-f0fe2e08cf47">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#b2068d01-1504-41d2-a4fd-92eb7a5012fa">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#d7a3ad40-75b8-405c-9c62-633ce189781a">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#fba8e630-75d9-48f3-8f45-840e42579491">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
</rdf:RDF>

Retrieve Concept By Label

Repository: nvcl (https://svn.auscope.org/subversion/AuScopeNVCL/nvcl-vocabs/trunk/rdf-0.3.xml)

1 HTTP Request http://services.auscope.org/SISSVoc/getConceptByLabel?nvcl/Sulphates
2 SPARQL Query getConceptByLabel("Sulphates")
 
DESCRIBE $concept WHERE { {$concept skos:prefLabel $conceptName.} UNION {$concept skos:altLabel $conceptName.}FILTER regex(str($conceptName), "^Sulphates$")}
3 Result
 
<rdf:RDF
   xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#"
   xmlns:nvcl="http://www.auscope.org/ontology/vocabs/nvcl/0.3#"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
   xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:skos="http://www.w3.org/2004/02/skos/core#"
   xmlns:owl="http://www.w3.org/2002/07/owl#">
<skos:Concept rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40">
   <skos:prefLabel xml:lang="de">Sulfate</skos:prefLabel>
   <skos:altLabel xml:lang="de">Sulphate</skos:altLabel>
   <skos:altLabel xml:lang="en">Sulfates</skos:altLabel>
   <skos:prefLabel xml:lang="en">Sulphates</skos:prefLabel>
   <skos:inScheme rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#eabbb93b-f756-41cf-b64c-b35cca5de955"/>
</skos:Concept>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#20ac947d-6e82-4b67-a704-607851bb590d">
   <skos:member rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#45853539-e02e-43d4-8df9-47957def2bad">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#97aaa7ce-db4f-4726-82f3-f0fe2e08cf47">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#b2068d01-1504-41d2-a4fd-92eb7a5012fa">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#d7a3ad40-75b8-405c-9c62-633ce189781a">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#fba8e630-75d9-48f3-8f45-840e42579491">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>

</rdf:RDF>

Retrieve Concept By Label & Language

Repository: nvcl (https://svn.auscope.org/subversion/AuScopeNVCL/nvcl-vocabs/trunk/rdf-0.3.xml)

1 HTTP Request http://services.auscope.org/SISSVoc/getConceptByLabel&Language?nvcl/Sulfates/en
2 SPARQL Query getConceptByLabelInLanguage("Sulfates","en")
 
DESCRIBE $concept WHERE{ {$concept skos:prefLabel "Sulfates"@en} UNION {$concept skos:altLabel "Sulfates"@en}}
3 Result
 
<rdf:RDF
   xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#"
   xmlns:nvcl="http://www.auscope.org/ontology/vocabs/nvcl/0.3#"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
   xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:skos="http://www.w3.org/2004/02/skos/core#"
   xmlns:owl="http://www.w3.org/2002/07/owl#">
<skos:Concept rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40">
   <skos:prefLabel xml:lang="de">Sulfate</skos:prefLabel>
   <skos:altLabel xml:lang="de">Sulphate</skos:altLabel>
   <skos:altLabel xml:lang="en">Sulfates</skos:altLabel>
   <skos:prefLabel xml:lang="en">Sulphates</skos:prefLabel>
   <skos:inScheme rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#eabbb93b-f756-41cf-b64c-b35cca5de955"/>
</skos:Concept>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#20ac947d-6e82-4b67-a704-607851bb590d">
   <skos:member rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#45853539-e02e-43d4-8df9-47957def2bad">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#97aaa7ce-db4f-4726-82f3-f0fe2e08cf47">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#b2068d01-1504-41d2-a4fd-92eb7a5012fa">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#d7a3ad40-75b8-405c-9c62-633ce189781a">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#fba8e630-75d9-48f3-8f45-840e42579491">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
</rdf:RDF>

Retrieve Concept By Label & CollectionID

Repository: nvcl (https://svn.auscope.org/subversion/AuScopeNVCL/nvcl-vocabs/trunk/rdf-0.3.xml)

1 HTTP Request http://services.auscope.org/SISSVoc/getConceptByLabel&CollectionId?{repository}/{label}/{CollectionId}
2 SPARQL Query getConceptByLabelInCollection("Sulfates", "nvcl:20ac947d-6e82-4b67-a704-607851bb590d")
 
DESCRIBE $concept 
WHERE {
{$concept skos:prefLabel $conceptName.} 
UNION 
{$concept skos:altLabel $conceptName.}
FILTER regex(str($conceptName), "^Sulfates$").nvcl:20ac947d-6e82-4b67-a704-607851bb590d skos:member $concept }
3 Result
 
<rdf:RDF
   xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#"
   xmlns:nvcl="http://www.auscope.org/ontology/vocabs/nvcl/0.3#"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
   xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:skos="http://www.w3.org/2004/02/skos/core#"
   xmlns:owl="http://www.w3.org/2002/07/owl#">
<skos:Concept rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40">
   <skos:prefLabel xml:lang="de">Sulfate</skos:prefLabel>
   <skos:altLabel xml:lang="de">Sulphate</skos:altLabel>
   <skos:altLabel xml:lang="en">Sulfates</skos:altLabel>
   <skos:prefLabel xml:lang="en">Sulphates</skos:prefLabel>
   <skos:inScheme rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#eabbb93b-f756-41cf-b64c-b35cca5de955"/>
</skos:Concept>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#20ac947d-6e82-4b67-a704-607851bb590d">
   <skos:member rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#45853539-e02e-43d4-8df9-47957def2bad">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#97aaa7ce-db4f-4726-82f3-f0fe2e08cf47">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#b2068d01-1504-41d2-a4fd-92eb7a5012fa">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#d7a3ad40-75b8-405c-9c62-633ce189781a">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#fba8e630-75d9-48f3-8f45-840e42579491">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
</rdf:RDF>

Retrieve Concept By Label & SchemeID

Repository: nvcl (https://svn.auscope.org/subversion/AuScopeNVCL/nvcl-vocabs/trunk/rdf-0.3.xml)

1 HTTP Request http://services.auscope.org/SISSVoc/getConceptByLabel&SchemeId?{repository}/{label}/{SchemeId}
2 SPARQL Query getConceptByLabelInConceptScheme("Sulfates", "nvcl:eabbb93b-f756-41cf-b64c-b35cca5de955")
 
DESCRIBE $concept 
WHERE {
  {$concept skos:prefLabel $conceptName.} 
UNION 
  {$concept skos:altLabel $conceptName.}
FILTER regex(str($conceptName), "^Sulfates$").nvcl:eabbb93b-f756-41cf-b64c-b35cca5de955 skos:member $concept }
3 Result
 
<rdf:RDF
   xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#"
   xmlns:nvcl="http://www.auscope.org/ontology/vocabs/nvcl/0.3#"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
   xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:skos="http://www.w3.org/2004/02/skos/core#"
   xmlns:owl="http://www.w3.org/2002/07/owl#">
<skos:Concept rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40">
   <skos:prefLabel xml:lang="de">Sulfate</skos:prefLabel>
   <skos:altLabel xml:lang="de">Sulphate</skos:altLabel>
   <skos:altLabel xml:lang="en">Sulfates</skos:altLabel>
   <skos:prefLabel xml:lang="en">Sulphates</skos:prefLabel>
   <skos:inScheme rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#eabbb93b-f756-41cf-b64c-b35cca5de955"/>
</skos:Concept>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#20ac947d-6e82-4b67-a704-607851bb590d">
   <skos:member rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#45853539-e02e-43d4-8df9-47957def2bad">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#97aaa7ce-db4f-4726-82f3-f0fe2e08cf47">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#b2068d01-1504-41d2-a4fd-92eb7a5012fa">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#d7a3ad40-75b8-405c-9c62-633ce189781a">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
<rdf:Description rdf:about="http://www.auscope.org/ontology/vocabs/nvcl/0.3#fba8e630-75d9-48f3-8f45-840e42579491">
   <skos:broader rdf:resource="http://www.auscope.org/ontology/vocabs/nvcl/0.3#09ddcae4-2b5f-4c8f-b13c-8038c37fcd40"/>
</rdf:Description>
</rdf:RDF>

Retrieve Concept By Property

Repository:wdtf03.1

1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/getConceptByProperty?wdtf03.1/dc:identifier/km
2 SPARQL Query getConceptByProperty("dc:identifier='km'","nvcl:85980205-c8cc-4635-8151-fa26735479c8") Jackie - I just added a missing argument - is this correct?
 
DESCRIBE ?concept WHERE 
{ ?concept dc:identifier "km" }
3 Result
 
<rdf:RDF>
<skos:Concept rdf:about="http://www.bom.gov.au/std/water/xml/wio0.2/property/wdtf-units/Kilometres">
   <dc:identifier>km</dc:identifier>
   <skos:prefLabel xml:lang="en">Kilometres</skos:prefLabel>
   <skos:broader rdf:resource="http://www.bom.gov.au/std/water/xml/wio0.2/property/wdtf-units/UnitOfMeasure"/>
   <skos:inScheme rdf:resource="http://www.bom.gov.au/std/water/xml/wio0.2/property/wdtf-units/Scheme"/>
</skos:Concept>
<rdf:Description rdf:about="http://www.bom.gov.au/std/water/xml/wio0.2/property/wdtf-parameters/WindRun_km">
  <skos:related rdf:resource="http://www.bom.gov.au/std/water/xml/wio0.2/property/wdtf-units/Kilometres"/>
</rdf:Description>
</rdf:RDF>

Retrieve Concept and Relations

Repository:geotime

1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/getConcept&Relations?geotime/Cretaceous
2 SPARQL Query getConceptAndRelations("Cretaceous")
 
SELECT DISTINCT $concept1 $relation1 WHERE  
{ ?concept skos:prefLabel "Cretaceous"@en .
$concept $relation1 $concept1 . 
FILTER ( $relation1 = skos:broader || $relation1 = skos:narrower || $relation1 = skos:related || $relation1 = skos:exactMatch) }|
3 Result
 
<sparql>
<head>
  <variable name="concept1"/>
  <variable name="relation1"/>
</head>
<results>
  <result>
   <binding name="concept1">
     <uri>urn:cgi:classifier:ICS:StratChart:2008:Mesozoic</uri>
   </binding>
   <binding name="relation1">
     <uri>http://www.w3.org/2004/02/skos/core#broader</uri>
   </binding>
</result>
<result>
   <binding name="concept1">
     <uri>urn:cgi:classifier:ICS:StratChart:2008:UpperCretaceous</uri>
   </binding>
   <binding name="relation1">
     <uri>http://www.w3.org/2004/02/skos/core#narrower</uri>
   </binding>
</result>
<result>
   <binding name="concept1">
     <uri>urn:cgi:classifier:ICS:StratChart:2008:LowerCretaceous</uri>
   </binding>
   <binding name="relation1">
     <uri>http://www.w3.org/2004/02/skos/core#narrower</uri>
   </binding>
</result>
</results>
</sparql>

Retrieve Concept Mappings - Chemical Symbol

Repository:commodity vocabularies

1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/getSpecificConceptMappingByNotation?commodity_vocab/Al
2 SPARQL Query getSpecificConcept_1("Al")
 
SELECT DISTINCT $conceptMatch  WHERE 
{{$conceptMatch skos:notation $notation.}
FILTER regex(str($notation), \"^Al$\").}

3 Result
 
<sparql>
<head>
  <variable name="conceptMatch"/>
</head>
  <results>
   <result>
   <binding name="conceptMatch">
     <uri>urn:cgi:classifier:GA:commodity:Al</uri>
   </binding>
</result>
<result>
   <binding name="conceptMatch">
     <uri>urn:cgi:classifier:GSV:commodity:Al</uri>
   </binding>
</result>
<result>
   <binding name="conceptMatch">
     <uri>urn:cgi:classifier:GSWA:commodity:Al</uri>
   </binding>
</result>
<result>
   <binding name="conceptMatch">
     <uri>urn:cgi:classifier:PIRSA:commodity:Al</uri>
   </binding>
</result>
</results>
</sparql>

Retrieve Concept Mappings - Preferred/Alternate Label

Repository:commodity vocabularies

1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/getSpecificConceptMappingByLabel?commodity_vocab/Zinc
2 SPARQL Query getSpecificConcept("Zinc")
 
DESCRIBE ?matchedConcept 
WHERE {
{$GAConcept skos:prefLabel "Zinc"@en .}
UNION
{ $GAConcept skos:altLabel "Zinc"@en .}
$GAConcept skos:inScheme <urn:cgi:classifierScheme:GA:commodity> 
$GAConcept skos:exactMatch ?matchedConcept .}
3 Result
 
<rdf:RDF>
<skos:Concept rdf:about="urn:cgi:classifier:PIRSA:commodity:SHZ">
   <skos:inScheme rdf:resource="urn:cgi:classifierScheme:PIRSA:commodity"/>
   <skos:definition>Scholzite</skos:definition>
   <skos:prefLabel xml:lang="en">Scholzite</skos:prefLabel>
   <skos:notation rdf:datatype="https://twiki.auscope.org/twiki/pub/Grid/MineralOccurrenceUserInterface/pirsa_commodities.xls">SHZ</skos:notation>
   <skos:exactMatch rdf:resource="urn:cgi:classifier:GA:commodity:Zn"/>
</skos:Concept>
   <skos:Concept rdf:about="urn:cgi:classifier:PIRSA:commodity:Zn">
<skos:inScheme rdf:resource="urn:cgi:classifierScheme:PIRSA:commodity"/>
   <skos:definition>Zinc</skos:definition>
   <skos:prefLabel xml:lang="en">Zinc</skos:prefLabel>
   <skos:notation rdf:datatype="https://twiki.auscope.org/twiki/pub/Grid/MineralOccurrenceUserInterface/pirsa_commodities.xls">Zn</skos:notation>
   <skos:exactMatch rdf:resource="urn:cgi:classifier:GA:commodity:Zn"/>
</skos:Concept>
<skos:Concept rdf:about="urn:cgi:classifier:GSWA:commodity:Zn">
   <skos:inScheme rdf:resource="urn:cgi:classifierScheme:GSWA:commodity"/>
   <skos:definition>Zinc (Zn)</skos:definition>
   <skos:prefLabel xml:lang="en">Zinc (Zn)</skos:prefLabel>
   <skos:notation rdf:datatype="https://twiki.auscope.org/twiki/pub/Grid/MineralOccurrenceUserInterface/gswa_commodities.xls">Zn</skos:notation>
   <skos:exactMatch rdf:resource="urn:cgi:classifier:GA:commodity:Zn"/>
</skos:Concept>
<skos:Concept rdf:about="urn:cgi:classifier:GSV:commodity:Zn">
   <skos:inScheme rdf:resource="urn:cgi:classifierScheme:GSV:commodity"/>
   <skos:definition>Zinc</skos:definition>
   <skos:prefLabel xml:lang="en">Zinc</skos:prefLabel>
   <skos:notation rdf:datatype="https://twiki.auscope.org/twiki/pub/Grid/MineralOccurrenceUserInterface/gsv_commodities.xls">Zn</skos:notation>
   <skos:exactMatch>
<rdf:Description rdf:about="urn:cgi:classifier:GA:commodity:Zn">
   <skos:exactMatch rdf:resource="urn:cgi:classifier:PIRSA:commodity:SHZ"/>
   <skos:exactMatch rdf:resource="urn:cgi:classifier:PIRSA:commodity:Zn"/>
   <skos:exactMatch rdf:resource="urn:cgi:classifier:GSWA:commodity:Zn"/>
   <skos:exactMatch rdf:resource="urn:cgi:classifier:GSV:commodity:Zn"/>
</rdf:Description>
</skos:exactMatch>
</skos:Concept>
</rdf:RDF>

Get Commodity - This method has been implemented specifically for Portal Consumption

Repository: commodity_vocab

1 HTTP Request http://services.auscope.org/SISSVoc/getCommodity?commodity_vocab/urn:cgi:classifierScheme:GA:commodity
2 SPARQL Query getCommodity(urn:cgi:classifierScheme:GA:commodity)
 
SELECT $concept $prefLabel WHERE { $concept skos:inScheme <urn:cgi:classifierScheme:GA:commodity>. $concept skos:prefLabel $prefLabel)
Topic revision: r7 - 20 Feb 2012, SimonCox
 

Current license: All material on this collaboration platform is licensed under a Creative Commons Attribution 3.0 Australia Licence (CC BY 3.0).