Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

date format error #214

Open
shinysong opened this issue Nov 23, 2021 · 2 comments
Open

date format error #214

shinysong opened this issue Nov 23, 2021 · 2 comments

Comments

@shinysong
Copy link

Hi! I'm using blazegraph very well.
thank you for this service.

my problem is dateType format error.
dateType is output strangely in the query of the blaze graph. (figure 1)
I uploaded the rdf file and it was properly set up in the original file. (figure 2)
rdf file was made using openrefine-skeleton(extension).

However, if you check it with a query, the format is different.
If you check the same file in virtuso, it will be output like "2000-01-01" without this error.

So I thought it was a problem with blazegraph.
How can i solve this error?

(figure 1)
image
(figure 2)
image

@thompsonbry
Copy link
Contributor

thompsonbry commented Nov 23, 2021 via email

@mschmidt00
Copy link
Contributor

Is that text snippet in Figure 2 your input data?

What stands out is that the triples

... dct:created "20000101"^^<http://www.w3.org/2001/XMLSchema#date>
... modified "20000101"^^<http://www.w3.org/2001/XMLSchema#date>

do not look like valid xsd:date literals, (unless I am missing something here) it should be "2000-01-01", see e.g. https://www.w3schools.com/xml/schema_dtypes_date.asp. What may happen here is that Blazegraph interprets the string wrongly (not sure why it'd end up with 0101-01-01, but it seems like that's what happening), whereas Virtuoso might just have some (non-standard) extensions for invalid xsd:date formats that recognize dates in different formats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants