SPARQL endpoint

6 views
Skip to first unread message

Iker Huerga

unread,
Jan 13, 2014, 12:26:02 PM1/13/14
to neur...@googlegroups.com
Hi, 

I saw the SPARQL endpoint is now served by a Fuseki server instead of a Virtuoso as it was in the past and I'm having a very trivial problem trying to query it. Apparently the Fuseki server is expecting the graph to be queried as an input either in the 'Target Graph' text box or in a FROM statement inside the query, otherwise it won't know where to retrieve the data from.

In this context, is there a list of the currently available graphs? I tried with SELECT DISTINCT ?g WHERE{GRAPH ?g {?s ?p ?o}} but doesn't work...... or what is the URI for the default graph? I tried 'default' and doesn't work either.....

Thanks in advance!

Best
Iker

P.S: can I ask why did you decide to use Fuseki instead of Virtuoso?

Stephen Larson

unread,
Jan 13, 2014, 9:00:25 PM1/13/14
to neur...@googlegroups.com
Hi Iker,

  Fuseki sits on top of Jena which had a more complete implementation of SPARQL 1.1 (property paths, specifically) at the time we made the switch.  That bit of SPARQL 1.1 is particularly useful to us for the kinds of queries we like to do.

  Note the part of the NeuroLex SPARQL endpoint instructions that says "You will need to go to "control panel" and select /ds before you will be able to issue a SPARQL 1.1 query."  Once you do you should see the following screen.  I've put in a query that works to test.  We haven't put in any more graphs than just the default, so we don't often reference the graph explicitly in our queries.

Hope that helps,
  Stephen   

  Inline image 1


--
You received this message because you are subscribed to the Google Groups "neurolex" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neurolex+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Screen Shot 2014-01-13 at 5.57.37 PM.png
Reply all
Reply to author
Forward
0 new messages