eBay / akutan

A distributed knowledge graph store
Apache License 2.0
1.65k stars 107 forks source link

Adopts sparql's literal value format #5

Open superfell opened 5 years ago

superfell commented 5 years ago

The current format for literals is based on sparql, but is not sparql. It uses slightly different format so that the underlying concrete type can be set. (e.g. 10 instead of"10"^^xsd:int). Instead it should take the type from the type specifier, and allow some way for custom schemas to map their types to the xsd types, so you can do "10"^^uom:inch and still get a int64 value.