"Seegrid will be due for a migration to confluence on the 1st of August. Any update on or after the 1st of August will NOT be migrated"

SISSVoc WebService API

Introduction

SISSVoc is RESTful web service (implemented using the principles of REST).

The REST Principles used are as follows:
  • The key abstraction of information in REST is a resource or a concept.
  • REST uses a resource identifier to identify the particular resource.
  • A resource has to have at least one address (URL or URI).
  • GET operations are used
  • Data is available in multiple flavours
The SISSVoc API is also greatly influenced by prior investigation of the GEMET webservice API .

Using the SISSVoc API is as simple as having the URL where the API has been implemented & encoding the parameters as a GET operation, as shown below:

URL of SISSVoc API - http://auscope-services-test.arrc.csiro.au/SISSVoc/

GET Operation -Example: getConceptByLabel?

Note: Each vocabulary is stored in repositories thus it is necessary to provide the name of repository to run the query against

Queries

Repository Information Queries

Get RepositoryInfo

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>

Discovery Services - Discovery for a concept and/or relationships

Method doesRelationExist

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

1 HTTP Request http://auscope-services-test/SISSVoc/doesRelationExist?nvcl/nvcl:Sulfate/skos:narrower/nvcl:Gypsum
2 Query String getRelation(String subject,String relation,String Object )
 
 
ASK {nvcl:Sulfateskos:narrower nvcl:Gypsum }
3 Result
 

<sparql>
<results>
<boolean>false</boolean>
</results>
</sparql>

Method doesSubjectExist

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

1 HTTP Request http://auscope-services-test/SISSVoc/doesSubjectExist?nvcl/nvcl:Jarosite
2 Query String getSubject(String subject)
 

ASK {nvcl:Jarosite ?x ?y }
3 Result
 

<sparql>
<results>
<boolean>true</boolean>
</results>
</sparql>

Method doesSubjectWithPropertyExist

Repository:wdtf03.1
1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/doesSubjectWithPropertyExist?wdtf03.1/dc:identifier/km
2 Query String doesConceptByPropertyExist(String concept , String identifier, String property)
 

ASK {?concept dc:identifier "km"}
3 Result
 

<sparql>
<results>
<boolean>true</boolean>
</results>
</sparql>

Method doesSubjectWithRelationExist

Repository: wdtf03.1
1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/doesSubjectWithRelationExist?wdtf03.1/param:Evaporation_mm/skos:related/dc:identifier/mm
2 Query getSubjectWithProperty(String subject, String relation,String predicate, String object)
 

ASK {param:Evaporation_mm skos:related ?x . ?x dc:identifier "mm"}
3 Result
 

<sparql>
<results>
<boolean>true</boolean>
</results>
</sparql>

Concept Retrieval Services - Retrieve concepts in RDF or HTML representation

To change between the different flavors of the response append URL as follows:
  • xxxx/SISSVoc/rdf/getConceptByURI -RDF/ XML Response
  • xxxx/SISSVoc/getConceptByURI - HTML Response

Method getConceptByURI

Since the concepts are resolvable this method has been implemented for consistency.

The same response will be returned using:
  • The resolvable HTTP URI
  • The getConceptByURI query
  • A SPARQL Query See below for examples
Repository: nvcl (https://svn.auscope.org/subversion/AuScopeNVCL/nvcl-vocabs/trunk/rdf-0.3.xml)

1 HTTP Request http://auscope-services-test/SISSVoc/getConceptByURI?nvcl/http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Jarosite
2 Query getConceptByURI(String URI)
 

DESCRIBE {http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Sulphate}
3 Result
 
<rdf:RDF>
<skos:Concept rdf:about="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Jarosite">
<rdfs:isDefinedBy rdf:datatype="http://www.w3.org/2001/XMLSchema#string">American
Mineralogist 93 (2008), 853</rdfs:isDefinedBy>
<skos:prefLabel xml:lang="de">Jarosit</skos:prefLabel>
<skos:prefLabel xml:lang="en">Jarosite</skos:prefLabel>
<skos:broader rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Sulphate"/>
<skos:inScheme rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/NVCL%20Vocab"/>
<skos:broader>
<rdf:Description rdf:about="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Sulphates">
<skos:narrower rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Jarosite"/>
</rdf:Description>
</skos:broader>
</skos:Concept>
<rdf:Description rdf:about="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Sulphate">
<skos:narrower rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Jarosite"/>
</rdf:Description>
</rdf:RDF>

Method getConceptByPrefixedName

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/getConceptByLabel?nvcl/Sulphates
2 Query String getConceptByPrefixedName(String label)
 

DESCRIBE $concept WHERE { {$concept skos:prefLabel $conceptName.} UNION {$concept skos:altLabel $conceptName.}FILTER regex(str($conceptName), "^Sulphates$")}
3 Result
 

<rdf:RDF
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:nvcl="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:skos="http://www.w3.org/2004/02/skos/core#">
<skos:Concept rdf:about="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Gypsum">
<rdfs:isDefinedBy rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Handbook of
Mineralogy (Anthony et al.), 5 (2003), 271</rdfs:isDefinedBy>
<skos:prefLabel xml:lang="de">Gips</skos:prefLabel>
<skos:prefLabel xml:lang="en">Gypsum</skos:prefLabel>
<skos:broader rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Sulphates"/>
<skos:inScheme rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/NVCL%20Vocab"/>
</skos:Concept>

<rdf:Description rdf:about="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Sulphates">
<skos:narrower rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Gypsum"/>
</rdf:Description>

</rdf:RDF>

Method getConceptByLabel

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/getConceptByLabel?nvcl/Sulphates
2 Query String getConceptByLabel(String label)
 

DESCRIBE $concept WHERE { {$concept skos:prefLabel $conceptName.} UNION {$concept skos:altLabel $conceptName.}FILTER regex(str($conceptName), "^Sulphates$")}
3 Result
 

<rdf:RDF
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:nvcl="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:skos="http://www.w3.org/2004/02/skos/core#">
<skos:Concept rdf:about="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Sulphates">
<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:narrower rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Gypsum"/>
<skos:narrower rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Na%20Alunite"/>
<skos:narrower rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Alunite"/>
<skos:narrower rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/NH%20Alunite"/>
<skos:inScheme rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/NVCL%20Vocab"/>
<skos:narrower rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Jarosite"/>
<skos:broader>
<rdf:Description rdf:about="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/SWIR">
<skos:narrower rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Sulphates"/>
</rdf:Description>
</skos:broader>
</skos:Concept>
<rdf:Description rdf:about="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Gypsum">
<skos:broader rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Sulphates"/>
</rdf:Description>
<rdf:Description rdf:about="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Na%20Alunite">
<skos:broader rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Sulphates"/>
</rdf:Description>
<rdf:Description rdf:about="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Alunite">
<skos:broader rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Sulphates"/>
</rdf:Description>
<rdf:Description rdf:about="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/NH%20Alunite">
<skos:broader rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Sulphates"/>
</rdf:Description>
<rdf:Description rdf:about="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Jarosite">
<skos:broader rdf:resource="http://vocabs.auscope.org/ontology/vocabs/nvcl/0.4/Sulphates"/>
</rdf:Description>

</rdf:RDF>

Method getConceptByLabel&Language

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/getConceptByLabel&Language?nvcl/Sulfates/en
2 Query String getConceptByLabelInLanguage(String label,String language)
 

DESCRIBE $concept WHERE{ {$concept skos:prefLabel "Sulfates"@en} UNION {$concept skos:altLabel "Sulfates"@en}}
3 Result
 

http://auscope-services-test/SISSVoc/rdf/getConceptByLabel&Language?nvcl/Sulfates/en

Method getConceptByLabel&CollectionID

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/getConceptByLabel&CollectionId?nvcl/Sulfates/nvcl:20ac947d-6e82-4b67-a704-607851bb590d
2 Query String getConceptByLabelInCollection(String label, String collectionID)
 

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>

Method getConceptByLabel&SchemeID

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/getConceptByLabel&SchemeId?nvcl/Sulfates/nvcl:eabbb93b-f756-41cf-b64c-b35cca5de955
2 Query String getConceptByLabelInConceptScheme(String label, String schemeId)
 

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>

Method getSpecificConceptMappingByLabel

Repository:commodity vocabularies

1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/getSpecificConceptMappingByLabel?commodity_vocab/Zinc
2 Query String getSpecificConcept(String label)
 

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>

Method getSpecificConceptMappingByNotation

Repository:commodity vocabularies

1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/getSpecificConceptMappingByNotation?commodity_vocab/Al
2 Query String getSpecificConcept_1(String chemicalSymbol)
 

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>

Method getConcept&Relations

Repository:geotime

1 HTTP Request http://auscope-services-test.arrc.csiro.au/SISSVoc/getConcept&Relations?geotime/Cretaceous
2 Query String getConceptAndRelations(String label)
 

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>
Topic revision: r4 - 23 Feb 2012, JacquelineGithaiga
 

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