GET /:lang/autoclassify/extract{.html|.ttl|.rdf|.json}?uri=http://www.uri.de
Analyzes the content found at the given uri and returns its most significant matching concepts of the thesaurus.

Beispiele

JSON
---------------
curl https://sns.uba.de/umthes/de/autoclassify/extract.json?uri=https://www.umweltbundesamt.de

{
  "url": "http://localhost:3000/de/autoclassify/extract.json?uri=https://www.umweltbundesamt.de",
  "total_results": 2,
  "results": [
    {
      "title": "Stickoxidemission",
      "link": "https://sns.uba.de/umthes/_e4ab78e3",
      "rank": 1.69
    },
    {
      "title": "Umwelt",
      "link": "https://sns.uba.de/umthes/_00025105",
      "rank": 1.5
    }
  ]
}

TURTLE/TTL
---------------
curl https://sns.uba.de/umthes/de/autoclassify/extract.ttl?uri=https://www.umweltbundesamt.de

# omitted namespace definitions
<https://sns.uba.de/umthes/de/autoclassify/extract?uri=https://www.umweltbundesamt.de> a sdc:Query;
                                                                                        sdc:totalResults 2;
                                                                                        sdc:result search:result1;
                                                                                        sdc:result search:result2.

search:result1 a sdc:Result;
               sdc:link :_e4ab78e3;
               dct:title "Stickoxidemission";
               sdc:rank 1.69.
search:result2 a sdc:Result;
               sdc:link :_00025105;
               dct:title "Umwelt";
               sdc:rank 1.5.

Parameter

Parametername Beschreibung
uri
verpflichtend

HTTP URI reference of the document to be processed. Content type may be HTML or PDF.

Validations:

  • Must be a String