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

Use with local Blazegraph #32

Open
redskate opened this issue Mar 18, 2017 · 4 comments
Open

Use with local Blazegraph #32

redskate opened this issue Mar 18, 2017 · 4 comments

Comments

@redskate
Copy link

redskate commented Mar 18, 2017

Hi Thomas

I have my Blazegraph server under a local url like http://10.0.1.130:8888/bigdata/namespace/GETTY_AAT/sparql (blazegraph 2.1.4) which is de facto a SPARQL 1.1 endpoint.

The repository is: triples with text index (no quads, no graphs)

when I use your demo and I give this in both fields (select and update) skosjs throw a warning and says "could not list graphs" ...

This repository is used already by SKOS Shuttle - https://skosshuttle.ch so it should contain something like SKOS in a default graph...

What am I missing to get it running?

Thanks (and my compliments)
Cheers
Fabio

@tkurz
Copy link
Owner

tkurz commented Mar 20, 2017

@redskate
Copy link
Author

Hi :) and thank you for your query.

This query forces the Triple Store to be in Quad mode.
This is not always the case.

In my case I have a triple store in triple mode.
In this case the triple store (with a namespace in triple mode) throw an exception:

java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.bigdata.rdf.sparql.ast.QuadsOperationInTriplesModeException: Use of WITH and GRAPH constructs in query body is not supported in triples mode.

So maybe you might want to think on that ?
Hope that helped.

Pfuirti

@tkurz
Copy link
Owner

tkurz commented Mar 21, 2017

Hi. SKOSjs is always assuming that contexts/graphs exists (so that it is a quadstore). As you can see in https://github.com/tkurz/skosjs/blob/master/js/skos-client.js it is included in many queries. SKOSjs is currently not in development, but it would be great if you can to contribute here !

@redskate
Copy link
Author

redskate commented Mar 23, 2017 via email

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

2 participants