Re: [Virtuoso-users] Using SPARQL 1.1 CONCAT and STRAFTER

2012-03-19 Thread lorena
Hi Ivan: I'm using Virtuoso Conductor as client to check the syntax of my queries and test their output. How can I fix the absence of default graph IRI? By the way, I have explicitly stated the default graph IRI in the text box. I'm attaching a screen shot thanks in advance Lorena On Mon, Mar 1

Re: [Virtuoso-users] Using SPARQL 1.1 CONCAT and STRAFTER

2012-03-19 Thread Ivan Mikhailov
Hello Lorena, > Virtuoso 37000 Error SP030: SPARQL compiler, line 3: syntax error at 'CONCAT' > before '(' > > SPARQL query: > define sql:big-data-const 0 > #output-format:text/html > define input:default-graph-uri select (CONCAT(?s,?p) as ?m) where {?s ?p ?o} The SPARQL client you use has al

[Virtuoso-users] Using SPARQL 1.1 CONCAT and STRAFTER

2012-03-19 Thread lorena
Hi I intend to use SPARQL 1.1 CONCAT and STRAFTER in Virtuoso 6.1.4 I've wrote a very simple query that returns the following error select (CONCAT(?s,?p) as ?m) where {?s ?p ?o} Virtuoso 37000 Error SP030: SPARQL compiler, line 3: syntax error at 'CONCAT' before '(' SPARQL query: define sql

Re: [Virtuoso-users] Named Graph Weird Behavior

2012-03-19 Thread Ivan Mikhailov
Hello Erich, It's due to my dirty hack specifically for select distinct ?g where { graph ?g {?s ?p ?o} } query. It is very popular and it kills the cache of any big database and takes too much time if performed exactly as written. Fortunately, almost all real datasets have at least one rdf:type

[Virtuoso-users] Named Graph Weird Behavior

2012-03-19 Thread Erich Bremer
Hello all, The following SPARQL query using Virtuoso 6.15's sparql end-point returns an empty result set: select distinct ?g where { graph ?g {?s ?p ?o} } However, the following returns the expected results (even if the limit is set to 100 - thinking it was a perceived time-out issue)

Re: [Virtuoso-users] ResultSet to Java Collection

2012-03-19 Thread Hugh Williams
Hi Alex, Note also, development have confirmed that there aren't any special methods in the JDBC specification for creating collections from a JDBC resultSet. Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ 10 Burlington Ma