Example API searches for specific parameters
This section shows some examples of API search queries for datasets with specific parameters. There are many more parameters that can be searched, please refer to the TERN vocabularies for a full list of parameters. Each entry has its own unique URI that can be used as a search value.
...
Region
Filter data whose site is located within a specific region.
...
Code Block |
---|
"region": [ "http://linked.data.gov.au/dataset/asgs2016/stateorterritory/6", "http://linked.data.gov.au/dataset/bioregion/CYP" ] |
...
Dataset
Filter data by dataset.
Example - Data from “Tern Surveillance Monitoring” or “Williams Wet Tropics Vertebrates”
Code Block |
---|
"dataset": [ "http://linked.data.gov.au/dataset/ausplots", "http://linked.data.gov.au/dataset/wet-tropics-vertebrate" ] |
...
Site
Retrieve data from 1 or more ecological monitoring sites.
...
Code Block |
---|
"site_id": [ "http://linked.data.gov.au/dataset/ausplots/site-nsabbs0001" ] |
...
Site Visit
Retrieve data from 1 or more ecological monitoring sites.
...
Code Block |
---|
"site_visit_id": [ "http://linked.data.gov.au/dataset/ausplots/sv-58580" ] |
...
Feature type (feature of interest)
EcoPlots observations are categorised in Feature of Interest (FOI). Please see the FOI vocabularies for more detail.
...
Code Block |
---|
"feature_type": [ "http://linked.data.gov.au/def/tern-cv/2cf3ed29-440e-4a50-9bbc-5aab30df9fcd" ] |
...
Parameter (observable property)
Each observation in EcoPlots is measuring an observable property (or parameter). Please see the Parameter vocabularies for more detail.
...
Code Block |
---|
"observed_property": [ "http://linked.data.gov.au/def/tern-cv/83ac0278-51cd-4d1a-8e05-7c1fc68cf020" ] |
...
Temporal extent (date)
In addition to all the vocabularised facets, you can filter data based on a temporal resolution.
Code Block |
---|
"date_from": "2006-01-01", "date_to": "2021-07-30" |
...
Spatial extent
Need to explain how this works and how to do this.
...