AW: Need to bind a "default" type when no type matched in a VALUES set

2015-09-29 Thread Neubert, Joachim
Hi Mark, I had a similar problem in the past: I wanted to have the possiblity to set an input variable via VALUES, and use some default derived from the data if the variable is not set. I solved it this way: values ( ?input ) ( {undef} ) ?x ?y ?default bind(coalesce(?input, $default) as

Re: Need to bind a "default" type when no type matched in a VALUES set

2015-09-29 Thread Rob Vesse
Mark It would be helpful to see a complete sample query as just having pieces it is unclear what you are actually executing Also your thread implies that this is being run against DBPedia Live, that runs Virtuoso which is not known for its compliance to the SPARQL specification. Can you run it

Re: Jena in OSGi

2015-09-29 Thread Ben Gould
Andy, Thanks! I opened a JIRA ticket (https://issues.apache.org/jira/browse/JENA-1037), and will keep an eye on it. In the mean time, I'll look into why RIOT isn't intercepting the method call. I do see that the Apache Jena - OSGi bundle isn't requiring the xerces library... Which seems

Re: delete all triples

2015-09-29 Thread Andy Seaborne
On 29/09/15 16:06, Zen 98052 wrote: Is it possible to delete all triples? I tried this command below, and got error saying variables are not permitted. DELETE DATA { ?s ?p ?o } Thanks, Z Hi - the relevant specs are: http://www.w3.org/TR/sparql11-update/

delete all triples

2015-09-29 Thread Zen 98052
Is it possible to delete all triples? I tried this command below, and got error saying variables are not permitted. DELETE DATA { ?s ?p ?o } Thanks, Z

Issue: Docker stain/jena-fuseki

2015-09-29 Thread Meghan Raul
Hi, I am trying to run stain/jena-fuseki with a shared volume [1] and run into a weird issue. [1] https://hub.docker.com/r/stain/jena-fuseki/#data-persistence First, I start fresh: [[ mkdir /Users/meghanraul/Projects/fuseki-test/ ]] Then I start the container: [[ docker run -it -p