Re: [Virtuoso-users] strbefore (un)available?

2017-10-14 Thread Hugh Williams
Hi Roland,

What is the actual query being run and Virtuoso version as the following works 
for me:

SQL> SPARQL SELECT (STRBEFORE(?S, " string") AS ?B) WHERE { BIND("test 
string"@en AS ?S) }; 
B
LONG VARCHAR
___

test

1 Rows. -- 2 msec.
SQL> status('');
REPORT
VARCHAR
___

OpenLink Virtuoso VDB Server
Version 08.00.3224-pthreads for Darwin as of Sep  6 2017 

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.  //  http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers



> On 28 Sep 2017, at 14:55, Roland Cornelissen  wrote:
> 
> Hi,
> 
> I noticed that when using the /sparql interface the function STRBEFORE
> is available and works as intended. But When I issue the same query
> through the isql interface I get an error, like this:
> 
> bin/isql: get_next_token: Unknown macro word " )BIND(STRBEFORE(?l,"
> at line 124 of Top-Level
> 
> Does this mean that STRBEFORE is not available through isql? If so how come?
> 
> Thanks,
> 
> Roland
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



smime.p7s
Description: S/MIME cryptographic signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] VAD file checksum mismatch

2017-10-14 Thread Hugh Williams
Hi Roland,

This issue should be fixed in the latest develop/7 branch, please update you 
build and perform a clean build ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.  //  http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers



> On 26 Sep 2017, at 13:11, Roland Cornelissen  wrote:
> 
> Hi,
> 
> I just pulled the latest code of Virtuoso Open Source from github from
> the development7 branch [1], compiled it and started the server.
> 
> I get an error for the compiled Conductor VAD when starting the server:
> 
> 14:06:22 PL LOG: VAD_INSTALL: VAD file checksum mismatch (42VAD)
> 14:06:22 PL LOG: Errors were detected during installation of
> "/opt/virtuoso/bin/share/virtuoso/vad/conductor_dav.vad".
> 
> I have no idea why the checksum doesn't match? Any help would be
> appreciated.
> 
> Thanks,
> 
> Roland
> 
> 
> [1] git clone https://github.com/openlink/virtuoso-opensource.git
> --branch develop/7
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



smime.p7s
Description: S/MIME cryptographic signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] cURL and .rq files

2017-10-14 Thread Hugh Williams
Hi 

You should be able to do something like:

$ cat query.rq 
select * where {?s ?p ?o} limit 5
$ curl --request POST http://localhost:8890/sparql --data-urlencode 
"format=csv" --data-urlencode qu...@query.rq
"s","p","o"
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type","http://www.w3.org/1999/02/22-rdf-syntax-ns#type","http://www.w3.org/1999/02/22-rdf-syntax-ns#Property";
"http://www.openlinksw.com/virtrdf-data-formats#default-iid","http://www.w3.org/1999/02/22-rdf-syntax-ns#type","http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat";
"http://www.openlinksw.com/virtrdf-data-formats#default-iid-nullable","http://www.w3.org/1999/02/22-rdf-syntax-ns#type","http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat";
"http://www.openlinksw.com/virtrdf-data-formats#default-iid-nonblank","http://www.w3.org/1999/02/22-rdf-syntax-ns#type","http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat";
"http://www.openlinksw.com/virtrdf-data-formats#default-iid-nonblank-nullable","http://www.w3.org/1999/02/22-rdf-syntax-ns#type","http://www.openlinksw.com/schemas/virtrdf#QuadMapFormat";

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.  //  http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers



> On 9 Oct 2017, at 16:18, Pasquale Di Donato  
> wrote:
> 
> Hi List,
> 
> is there a way to execute a query defined in a .rq file via cURL?
> Wold appreciate any hint
> Thanks
> 
> Pasquale
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



smime.p7s
Description: S/MIME cryptographic signature
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users