I have created an Ontology (OWL/RDF File Project) using Protege 3.4.8 and have executed some SPARQL queries using the inbuilt SPARQL engine.
I would like to now create a front end for the Ontology using dotNet. For the same I downloaded dotNetRDF and have gone through the User Guide and also tried out successfully some of the basic examples given.
However, there is no content available for Protege and dotNetRDF connectivity. How exactly can I read the RDF or OWL File from Protege and execute some SPARQL queries on them?
There is no direct connectivity between Protege and dotNetRDF, however if you have your ontology from Protege saved on disk in a format dotNetRDF can read (RDF/XML, Turtle, NTriples, N3 or RDF/JSON) then you can load it in and query it.
Adapting the example from the Querying with SPARQL page slightly:
answered 08 Jan, 05:59
Rob Vesse ♦