Skip to content

Commit 0af5e4d

Browse files
committed
Extend examples for single concept retrieval, mention TSS widgets
1 parent 98b9597 commit 0af5e4d

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

docs/docs_usage/how-to-use.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,30 @@ curl "https://semanticlookup.zbmed.de/skosmos/rest/v1/voc4cat/search?query=catal
8484
# Get data for a specific concept by IRI
8585
curl "https://semanticlookup.zbmed.de/skosmos/rest/v1/voc4cat/data?uri=https://w3id.org/nfdi4cat/voc4cat_0000001"
8686

87-
# Get narrower concepts of a given concept
87+
# Add the MIME type to get the data in other formats (Supported MIME types are: application/rdf+xml
88+
# text/turtle application/ld+json application/json application/marcxml+xml)
89+
# For example to get the concept by IRI in turtle format:
90+
curl "https://semanticlookup.zbmed.de/skosmos/rest/v1/voc4cat/data?uri=https://w3id.org/nfdi4cat/voc4cat_0000001&format=text%2Fturtle"
91+
92+
# Get all narrower concepts of a given concept
8893
curl "https://semanticlookup.zbmed.de/skosmos/rest/v1/voc4cat/narrower?uri=https://w3id.org/nfdi4cat/voc4cat_0000196"
8994
```
9095

91-
The full Skosmos REST API documentation is available at <https://semanticlookup.zbmed.de/skosmos/rest/v1/>.
96+
The Skosmos REST API documentation is available at <https://api.finto.fi/doc/#/>.
9297

9398
The TIB Terminology Service also offers a REST API; see <https://terminology.tib.eu/ts/ontologies/voc4cat> for details.
9499

95100
```{tip}
96101
The NFDI4Cat data repository [repo4cat](https://repository.nfdi4cat.org/) uses the Skosmos REST API to integrate Voc4Cat concepts into its metadata forms.
97102
```
98103

104+
### Widgets to embed Voc4Cat term lookups into web applications
105+
106+
BASE4NFDI offers a Terminology Service Suite which is a collection of interactive widgets designed to ease the integration of terminology service functions into third-party applications.
107+
The widgets can be used in both React and plain HTML applications.
108+
109+
<https://terminology.services.base4nfdi.de/tss/comp/latest/?path=/docs/overview--docs>
110+
99111
## Working with Voc4Cat in Python
100112

101113
The vocabulary can be loaded and queried directly in Python using [rdflib](https://rdflib.readthedocs.io/):

0 commit comments

Comments
 (0)