Open rpuch opened 3 years ago
I think that 2.1.5 is RDF 1.0. You need to use https://github.com/blazegraph/database/tree/BLAZEGRAPH_RELEASE_CANDIDATE_2_2_0 branch if you need RDF 1.1 (https://github.com/blazegraph/database/issues/57#issuecomment-285889058).
I think that 2.1.5 is RDF 1.0. You need to use https://github.com/blazegraph/database/tree/BLAZEGRAPH_RELEASE_CANDIDATE_2_2_0 branch if you need RDF 1.1 (#57 (comment)).
Thank you @aindlq ! In 2.2.0 RC it really works without explicit type denotation, like in Fuseki. But it's a bit scary to use a non-released RC in production environment...
First, I insert 2 triples to Blazegraph 2.1.5:
Their object has the same value, but in the first triple it's simple (untyped) and in the second it is explicitly typed as
xsd:string
.Then, the following query only finds the first triple:
And the following query only finds the second triple:
So Blazegraph distinguishes between 'abc' and 'abc'^^xsd:string. But the SPARQL Specification 1.1 (Section 3.3 Literals) https://www.w3.org/TR/rdf11-concepts/#section-Graph-Literal says the following:
So either Blazegraph violates SPARQL 1.1, or it does not support SPARQL 1.1, or I misinterpret the specification.
Could you please help me figure out what is the correct answer? :)
Some context https://stackoverflow.com/questions/62771044/jena-fuseki-and-blazegraph-behave-differently-with-respect-to-type-strictness