On 16 March 2011 08:13, Joachim Baran <[email protected]> wrote: > Hi Peter! > > On 11-03-14 5:22 PM, "Peter Ansell" <[email protected]> wrote: >>Jena will provide all of the query and serialisation aspects (to >>SPARQL Results XML, SPARQL Results JSON, RDF/XML, Turtle, NTriples, >>RDF/JSON), as well reasoning when you are ready. You only have to >>define the mappings between the abstract SPARQL model that Jena parses >>to, and the mapping to either RDF triples or SPARQL results bindings >>to support all 4 types of queries (although ASK isn't typically used >>from what I have seen but it isn't hard to implement). > It seems that the mapping can only be defined on triple stores, LDAP or > RDBMS. In BioMart we support the federation of data, which means that the > data comes from potentially different storage systems/servers. So, I think > we have to write our own mapping mechanisms here, even though it will mean > that we will not be able to support every nuance of SPARQL to start with. > >>I would really like RDF output before SPARQL input or even SPARQL >>results bindings output. > For now, we were focusing on a SPARQL-centric interface for queries and > their result sets. However, support to return RDF in general should be > doable once we have settled how semantics are going to be stored and > represented in BioMart. > >>If you are outputting to RDF triples, you will need to create Subject >>URIs (from my investigation of the way BioMart works). If you are >>outputting to SPARQL Results bindings you don't need subject URIs as >>you just have <BindingName,BindingValue> pairs to output, and >>BindingName isn't even a URI, it is just a literal string. > Yes. Yes. :) There is support for SPARQL bindings already, so we are > probably building on top of that first.
Let us know how it develops. Cheers, Peter _______________________________________________ Users mailing list [email protected] https://lists.biomart.org/mailman/listinfo/users
