문제

I'm looking for a SPARQL parser and i find Apache Jena/arq and Redland librdf.
But Jena has been written in Java,so is there a way that I use Jena's APIs in C/C++, (maybe with SWIG,...)?

도움이 되었습니까?

해결책

Depending on what functionality you need, it may be plausible to interact with an Apache Fuseki server via the SPARQL 1.1 Protocol. Fuseki is Jena, just wrapped in a Jetty service in order to implement the protocol.

If this is far heavier than what you are looking for, and you desire interacting with Jena from C/C++, then JNI (or better yet, some automated wrapper like SWIG) may be your best bet.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top