I see Base64 is an XSD option too, but I’m most interested in “true” binary, as 
opposed to binary-as-text options, and whether any exist!

Nick

On Thu, May 4, 2023 at 8:13 am, Nicholas Car <[[email protected]](mailto:On 
Thu, May 4, 2023 at 8:13 am, Nicholas Car <<a href=)> wrote:

> Dear Jena users,
>
> How can I store binary literals in RDF and in Jena/Fuseki?
>
> There is xsd:hexBinary for arbitrary binary data but is there a better/more 
> efficient/another way to store binary literals in Jena?
>
> The reason I ask is that a future version of GeoSPARQL might want to include 
> WKB - Well-Known Binary - as a geometry format option. We would hope this can 
> be efficiently accessed by a spatial index so we want to know how to handle 
> perhaps a custom data type, perhaps geo:wkbLiteral, and how best to store 
> this in Jena, perhaps not as hex text.
>
> Thanks, Nick

Reply via email to