title: Validate RDF triples against ontology in order to check correct structure
body: <p>I am new to RDF/ontologies and the way to work in this domain is a bit unclear to me. Currently I am troubled about triple validation. I still think in the relational way where I first create a schema and then in order to insert data I need to follow that structure. </p>
  
  <p>In order to insert triples I use Jena and then use the generated String to execute an Insert command. So here are my questions:</p>
  
  <ul>
  <li><p>Is there a way to validate that the RDF triples that I generate (currently using Jena) are actually following the structure of my ontology.</p></li>
  <li><p>Or, is there a way to be informed by the rdf store (currenlty Virtuoso) when I execute an Insert? I did some searching and found: <a href="http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTipsAndTricksGuideImportOntology" rel="nofollow noreferrer">How to Import Ontology into Virtuoso?</a>. Does this mean that my triples will be checked/validated against my ontology?</p></li>
  <li><p>Have also found <a href="https://stackoverflow.com/questions/5127087/rdf-and-owl-workflow-question">RDF and OWL workflow question</a>. There it says that</p>
  
  <ol>
  <li>after having created my ontology I should</li>
  <li>export the ontology as RDF in order to</li>
  <li>import it to RDF store. Does importing my ontology to Virtuoso (as described in:<a href="http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTipsAndTricksGuideImportOntology" rel="nofollow noreferrer">How to Import Ontology into Virtuoso?</a>) mean that steps 1 and 2 are complete and I am now executing step 3? </li>
  </ol></li>
  </ul>