Good to see this. It makes the application writer's life easier when
there are SPARQL APIs using the natural idioms of the language.
Andy
On 27/06/11 07:01, Al Baker wrote:
Hello all,
I just created a simple Groovy SPARQL API for semantic web style
applications, e.g. querying dbpedia. This was done with Jena and ARQ to
provide a complimentary API for those trying to build web applications
quickly. While I've always felt that Jena/ARQ and other APIs have a solid
foundation, and provide all of the necessary strongly typed interfaces to
have an accurate and performing system, they are challenging for new users
to pick up and run with. IMHO, Groovy can solve a number of these issues
off the shelf with introducing DSLs, closures, type coercion, mixed maps,
and the like. The end result, I believe, is a quick and easy to use API
that will hopefully lower the barrier to entry for semtech style apps.
This is my first open source project, and hope to expand upon it with more
"ease of use" style features, some centered around Java, the others around
Grails / Groovy. It was also a weekend of work, so downloaders beware.
Here is where you can find it:
Blog announcement: http://linkedjava.blogspot.com/
Github page: https://github.com/AlBaker/GroovySparql
Here is my TODO list to grow this capability:
- Fluent DSL, leveraging Groovy 1.8 features
- Pure Java "Templates" for Jena/SPARQL similar to
JdbcTemplate/jmsTemplate in Spring
- Object marshalling and GORM / Spring Data support
- Sparql / RDF Builder -- still deciding if this is necessary or not, or
if it'll fall naturally into the DSL
- Grails plug-in for the above
- Testing with triples stores Jena TDB, Stardog, and AllegroGraph being
the first three
Regards,
Al Baker