Description Usage Arguments Details Value See Also Examples
Internally, an answer is retrieved by appending the relative path of the query hash provided by hash2path to the url endpoint:
1 2 | query(query_hash = first_version_query_hash(),
hash2url = hash2url_ia_biodiversity_dataset_archive)
|
query_hash |
query_hash explicitly specify version to start with, by default, the first version is queried. |
hash2url |
function that maps a query hash to a url |
https://example.org/hash/path
where:
https://example.org/ is the url endpoint
some/path is the query hash path generated from query hash by hash2path
an answer in the form a content hash
https://github.com/bio-guoda/preston/blob/master/architecture.md#simplified-hexastore#
https://archive.org/details/biodiversity-dataset-archives
1 2 | first_version <- query()
# "hash://sha256/c253a5311a20c2fc082bf9bac87a1ec5eb6e4e51ff936e7be20c29c8e77dee55"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.