Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

RDF is a flexible and extensible way to represent information about web resources.  This sample demonstrates the usage of an RDF file as a data source for data services in WSO2 DSS.

About the sample

The RDF file (Movies.rdf), stored in the <DSS_HOME>/samples/resources/ folder contains data about some popular movies. Each movie data has the following sub elements: "title", "director", "year", "genre" and "actor". The sample data service used in this demonstration (RDFSampleService.dbs) contains two operations named getAllMovieData and getMoviesByGenre.  

See Data Services and Resources for a definition of data services and operations.

Building the sample

The sample data service named RDFSampleService should be deployed using the instructions in Samples Setup.

Executing the sample

The sample service can be run using the TryIt tool, which is bundled with the WSO2 Data Services Server, or a code-generated java client sample as discussed in the Data Services Clients section. 

...