Thingweb Directory - User guide

Dear all,

here is a small user guide to PlugFest participants for the Thingweb Directory.

The Directory exposes a REST API to register, update/remove and look up TDs. It is available over HTTP and CoAP. The API entry points are:

An online documentation (Swagger) is available at:

It indicates what methods are allowed (GET, POST, etc), as well as the expected query parameters. Please note that for registration, the root element of the TD sent in the payload must contain the type "Thing". Otherwise, the server will return an error status (400).

TDs can be filtered using SPARQL. To match a SPARQL filter, a TD must include semantic annotations. The vocabulary documents a number of annotations for your interaction patterns. You can find a documentation on the website, e.g. at for the possible property types.

The following SPARQL filter will select TDs that include a property of a specific type: "?prop a <>" (YourPropertyType can be e.g. Temperature, TransitionTime, CountDown, etc, as defined in the documentation). A SPARQL filter must be sent in a query parameter and percent-encoded*, as follows:

Here is a couple of SPARQL filters you might want to use:

·         ?prop a <> . ?action a <>

·         { ?prop a <> } UNION { ?prop a <> }

·         ?prop a <> OPTIONAL { ?prop a <> }

·         ?prop <> ?name . FILTER contains(?name, "yourString")

·         ?prop a <> . FILTER NOT EXISTS { ?prop a <> }

(*) you can use an online tool during the PlugFest, such as

Best regards,
Victor Charpenay

Siemens AG
Corporate Technology
Research in Digitalization and Automation
Web of Systems
Otto-Hahn-Ring 6
81739 München, Deutschland
Tel.: +49 89 636-631529<>
Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard Cromme; Vorstand: Joe Kaeser, Vorsitzender; Roland Busch, Lisa Davis, Klaus Helmrich, Janina Kugel, Cedrik Neike, Michael Sen, Ralf P. Thomas; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322

Received on Friday, 3 November 2017 22:14:49 UTC