Skip to content
Snippets Groups Projects
Select Git revision
  • master
1 result

plwn-rdf-http-api

  • Clone with SSH
  • Clone with HTTPS
  • Overview

    Repository contains demo application serving RDF data of sample of PlWN resource. Uses AtomGraph Processor to expose HTTP API.

    Endpoints

    1. / (GET): description of API and endpoints
    2. /synsets (GET): provides description of one or all synsets. Parameter synset accepts URI of synset.

    Usage

    1. Launch as docker services:
      docker-compose up -d
    2. API will be available under http://localhost

    Examples

    1. Root description of API:
      wget -q -O - http://localhost
    2. Description of all synsets:
      wget -q -O - http://localhost/synsets
    3. Description of http://plwordnet.pwr.wroc.pl/wordnet/synset/100004 synset:
      wget -q -O - http://localhost/synsets?synset=http://plwordnet.pwr.wroc.pl/wordnet/synset/100004