RDF service module

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
(See also)
Line 1: Line 1:
Service module returns an RDF N3 document containing current topic and all associated topics. Service handle is '''rdf'''. An example request is
+
Service module returns an RDF N3 document containing current topic and all associated topics. Service handle is '''rdf'''. To use the service module '''rdf''', ensure the module is enabled in configuration panel of [[Embedded HTTP server|embedded HTTP server]] and start the embedded HTTP server. An example request is
  
 
  http://127.0.0.1:8898/rdf
 
  http://127.0.0.1:8898/rdf

Revision as of 20:57, 6 January 2012

Service module returns an RDF N3 document containing current topic and all associated topics. Service handle is rdf. To use the service module rdf, ensure the module is enabled in configuration panel of embedded HTTP server and start the embedded HTTP server. An example request is

http://127.0.0.1:8898/rdf

Adding request an URL parameter topic with a subject identifiers or basename value returns addressed topic. URL parameters si and sl can be used to fetch a topic with a subject identifier or with a subject locator.

Requesting an URL

http://127.0.0.1:8898/rdf?topic=http://www.wandora.org/core/wandoraclass

returns an RDF N3 document viewed in a screen capture below.

Service rdf 01.gif


See also

Personal tools