Creating the RDF XML in the stock quote example

Jan 8, 2016 at 2:05 PM

I was wondering if you could provide some information on how the actual RDF XML is formed in the stock quote example?

For instance, when I do a Get on the URI of the query base, I can see GetStockQuotes in StockQuoteController.cs returns the responseInfo object. I see the information in that object but I can't see where the actual rdf xml is generated.

I've serialised RDF XML with the dotnetrdf libraries in isolation but I can't see how they work with the stock quote example. Please help!

Many thanks,

Jan 11, 2016 at 2:13 PM
Hi, The code you are looking for is in the DotNetRdfHelper class in the OSLC4Net.Core.DotNetRdfProvider namespace