My experience is that you are better off loading the schema/vocabulary from 
Turtle (TTL) or RDF rather than OWL.   Aside from that, it does load the 
vocabulary/schema from RDF, and it does load the triples from RDF, and if you 
later add triples through a program, then you can export them all together as 
RDF.

For C++ I recommend ODBC.   I was able with little trouble to get perl 
DBD::ODBC to work with Virtuoso.   You can manipulate the RDF data using SQL 
statements or SPARQL statements over ODBC.    As a query language, SPARQL is 
great, very expressive, and often more natural than SQL.   As a wire protocol, 
SPARQL is not there yet – ODBC/JDBC include not only a specification for 
cursors/paging but a rock-solid implementation.

Another thing you may want to consider is Virtuoso/PL – Virtuoso/PL can be 
developed much the way you work on a FORTH program – bottom-up coding one 
procedure at a time.   C++ can then call those procedures through ODBC.

Hoping this helps,

Dan Davis, Systems/Applications Architect (Contractor),
Office of Computer and Communications Systems,
National Library of Medicine, NIH

From: Delaram Ra [mailto:[email protected]]
Sent: Wednesday, September 16, 2015 3:40 PM
To: [email protected]
Subject: [Virtuoso-users] Vituoso API for generating triples from C++ program

Hi,

I'm trying to write a C++ program to parse 100,000 files to parse them, extract 
some meta data and create an ontology from the information which will be kept 
in memory per file.
I've been refer to Virtuoso by my professor.
My question is that is there any Virtuoso API (or any other way) that I can 
generate my triples based on the RDF schema that I have so I don't have to 
write the syntax myself? (I'm looking for something like Jena framework for 
Java applications which allows you to load your rdf schema and add your data to 
it based on the schema and it will generate the whole rdf file for you with 
correct syntax)
It's a part of my thesis and there is a constraint from the people who will be 
using this library that keeps me from using any other programming environment 
other than C++.

Any help is much appreciated.

Regards,
Delaram
------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to