Re: [Virtuoso-users] Question about LDP documentation

2023-12-01 Thread Hugh Williams via Virtuoso-users
Hi Mark,

That old wiki document is indeed out of date as  there is now a new “LDP 
enable/disable” checkbox option in the latest build for enabling LDP on WebDAV 
folders via the Conductor and not as an added WebDAV property as before, as 
detailed  in this new community forum post we have created:


https://community.openlinksw.com/t/using-virtuoso-as-ldp-client-and-server/4191

Note, there is also a fix for a missing “SPARQL_ADMIN” internal user account 
for DAV/LDP operations that has been made as detailed in following commit to 
the Virtuoso open source develop/7 branch:


https://sourceforge.net/p/virtuoso/virtuoso-opensource/ci/eddfba1a074416d4c6d8b99521c768d0b4f1189c/

And thus we would recommend updating your binary to this latest build to get 
this and other fixes ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com
Community Support: https://community.openlinksw.com
Company Blog: https://medium.com/openlink-software-blog
Virtuoso Blog: https://medium.com/virtuoso-blog
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

> On 30 Nov 2023, at 12:24, Mark Wilkinson  wrote:
> 
> Dear Virtuoso team,
> 
> Are the instructions on this page still valid?
> 
> https://vos.openlinksw.com/owiki/wiki/VOS/VirtLDP
> 
> I'm using the latest virtuoso-opensource docker image. By the time I get to 
> step 3, it already doesn't match what I see on the screen.  I have installed 
> briefcase and framework vads.
> 
> I have also tried what I have done on earlier versions of v-os docker, and 
> that also doesn't work (a folder that is LDP enabled, says "406 not 
> acceptable" if I GET turtle, and it thinks it is a SPARQL query if I POST an 
> ldp:Container RDF to that folder... so it isn't behaving in the same way my 
> previous version was...)
> 
> Any advice is welcome!
> 
> Mark
> 
> 
> 
> 
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Virtuoso support for ERA - Virtuoso backend

2023-11-30 Thread Hugh Williams via Virtuoso-users
Hi Ghislain,

Yes, I do remember from the publication office and Mondeca days, I am fine 
thanks and trust you are too …

The issues you report were logged as a support case#693 
<https://shop.openlinksw.com/support_system/customers/display_case.vsp?caseNumber=693>
 by Anestis from Deloitte (cc’ed in on this mail) who support the Virtuoso 
services hosted for EC Digit a few weeks ago. You can be given access to  by 
Anestis the case owner,  if you are registered on our support system, where 
such issues should always be logged so they can be managed and tracked 
centrally, rather than email threads. 

From the support case#693 
<https://shop.openlinksw.com/support_system/customers/display_case.vsp?caseNumber=693>
 the following updates were provided last week:

For Issue #1 - Wrong results for BIND depending on OPTIONAL/BIND order:

I created Virtuoso SPARQL to SQL 
<https://vos.openlinksw.com/owiki/wiki/VOS/VirtTipsAndTricksAnalyzingSPARQLQuery>
 plans for the two queries to see how they differ when translated to SQL for 
execution for analysis by development who report, it is very hard to say what 
exactly happens to SPARQL to SQL translation especially when nesting subqueries 
in coalsece/case so on. And would suggest to modifying the queries to the 
following which returns the correct results when the optionals are specified 
with the respective bind calls:

PREFIX eud: <http://data.europa.eu/949/>

SELECT DISTINCT ?AA ?BB ?CC ?DD
FROM <http://data.europa.eu/949/graph/rinf>
WHERE {
?AA a eud:OperationalPoint.
?AA eud:uopid ?EE.
FILTER(lcase(str(?EE)) = lcase("DEYBBMO"))

?AA eud:track ?BB.

OPTIONAL { ?BB eud:demonstrationINF ?CC_direct }
OPTIONAL { ?BB ?CC_tmp eud:demonstrationINF }
BIND(COALESCE(?CC_direct,?CC_tmp,eud:notData) AS ?CC )

OPTIONAL { ?BB eud:verificationINF ?DD_direct. }
OPTIONAL { ?BB ?DD_tmp eud:verificationINF }
BIND(COALESCE(?DD_direct,?DD_tmp,eud:notData) AS ?DD)
}

LIMIT 10

TEST server Live Link 
<https://test.virtuoso.ecdp.tech.ec.europa.eu/sparql?default-graph-uri==PREFIX+eud%3A+%3Chttp%3A%2F%2Fdata.europa.eu%2F949%2F%3E%0D%0A%0D%0ASELECT+DISTINCT+%3FAA+%3FBB+%3FCC+%3FDD+%0D%0AFROM+%3Chttp%3A%2F%2Fdata.europa.eu%2F949%2Fgraph%2Frinf%3E%0D%0AWHERE+%7B%0D%0A++%3FAA+a+eud%3AOperationalPoint.%0D%0A++%3FAA+eud%3Auopid+%3FEE.%0D%0A++FILTER%28lcase%28str%28%3FEE%29%29+%3D+lcase%28%22DEYBBMO%22%29%29%0D%0A%0D%0A++%3FAA+eud%3Atrack+%3FBB.%0D%0A%0D%0A++OPTIONAL+%7B+%3FBB+eud%3AdemonstrationINF+%3FCC_direct++%7D%0D%0A++OPTIONAL+%7B+%3FBB+%3FCC_tmp+eud%3AdemonstrationINF+%7D%0D%0A++BIND%28COALESCE%28%3FCC_direct%2C%3FCC_tmp%2Ceud%3AnotData%29+AS+%3FCC+%29%0D%0A%0D%0A++OPTIONAL+%7B+%3FBB+eud%3AverificationINF+%3FDD_direct.+%7D%0D%0A++OPTIONAL+%7B+%3FBB+%3FDD_tmp+eud%3AverificationINF+%7D%0D%0A++BIND%28COALESCE%28%3FDD_direct%2C%3FDD_tmp%2Ceud%3AnotData%29+AS+%3FDD%29%0D%0A%7D%0D%0A%0D%0ALIMIT+10+==text%2Fhtml=3>
where we assume ?BB ?CC_tmp eud:demonstrationINF and ?BB ?DD_tmp 
eud:verificationINF could be either notApplicable/notYetAvailable or not exists 
, the BIND can be moved around and would works.

Note the 'OPTIONAL { ?BB ?DD/CC_tmp eud:verificationINF }' simplification of 
'COALESCE(IF EXISTS...))' in the revised query.

Let us know if this works as expected ...

Development are going to look into this issue with the optionals with both 
original queries should return the same results, and so we will be dumping some 
of the <http://data.europa.eu/949/graph/rinf> graph data to recreate locally.


For issue #2 - Error in COALESCE division by zero:

I checked with development and they indicate the Virtuoso COALESCE "Divide by 
Zero" issue is a known problem from sometime ago and cannot readily be fixed in 
the Virtuoso SQL engine where the function is implemented. Generally the 
trapping and supressing of errors in such SQL functions cannot readily be 
passed back to the SPARQL layer without significantly affecting performance.

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com
Community Support: https://community.openlinksw.com
Company Blog: https://medium.com/openlink-software-blog
Virtuoso Blog: https://medium.com/virtuoso-blog
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

> On 28 Nov 2023, at 07:55, ATEMEZING Ghislain 
>  wrote:
> 
> Dear Hugh,
> I hope you are doing great.
>  
> We had the chance to exchange last year during the benchmark of Virtuoso for 
> Publications Office.
> I joined ERA in September, and we are using Virtuoso as backend for a railway 
> infrastructure in Europe [1].
>  
> We have some problematic issues/queries for the application 

Re: [Virtuoso-users] Regarding Virtuoso's RDF Store

2022-11-17 Thread Hugh Williams via Virtuoso-users
Hi Jishnu,

Yes, that is correct as detailed in the following White paper on implementation:


https://virtuoso.openlinksw.com/whitepapers/SPARQL%20RDF%20Store%20using%20SQL-ORDBMS.pdf

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 16 Nov 2022, at 13:10, Jishnu Raj Parashar  wrote:
> 
> Thank you for your response.
> Correct me If I am wrong, the RDF store is built within Virtuoso's own 
> implementation of an SQL database. Is that correct?
> Regards,
> 
> On Wed, Nov 16, 2022 at 3:52 PM Hugh Williams  <mailto:hwilli...@openlinksw.com>> wrote:
> Hi Jishnu,
> 
> What is the SQL database being used as RDF Store currently ?
> 
> With the Virtuoso commercially licensed edition its virtual database engine 
> can be used to generate transient or persisted RDF views of data stored in 
> ODBC or JDBC accessible relational databases as detailed at:
> 
>   https://medium.com/virtuoso-blog/rdf-views-generate-b0538101a724 
> <https://medium.com/virtuoso-blog/rdf-views-generate-b0538101a724>
>   https://vos.openlinksw.com/owiki/wiki/VOS/VirtRdb2RDFViewsGeneration 
> <https://vos.openlinksw.com/owiki/wiki/VOS/VirtRdb2RDFViewsGeneration>
> 
> Also, if the current RDF Store as the ability to dump its RDF data to 
> datasets in one of the standard data representations ie  turtle, N-triple, 
> NQuad, RDF/XML, as most do then those dataset can be bulk load directly into 
> the Virtuoso commercial or open source product offerings as detailed at:
> 
>   https://vos.openlinksw.com/owiki/wiki/VOS/VirtBulkRDFLoader 
> <https://vos.openlinksw.com/owiki/wiki/VOS/VirtBulkRDFLoader>
> 
> Note, the first method of creating RDF Views of the relational data cannot be 
> done with the open source product as the virtual database engine required is 
> a commercial only feature ...
> 
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software
> Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
> Community Support: https://community.openlinksw.com 
> <https://community.openlinksw.com/>
> Company Blog: https://medium.com/openlink-software-blog 
> <https://medium.com/openlink-software-blog>
> Virtuoso Blog: https://medium.com/virtuoso-blog 
> <https://medium.com/virtuoso-blog>
> Data Access Drivers Blog: 
> https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
> <https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
> <http://www.linkedin.com/company/openlink-software/>
> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
> Google+  -- http://plus.google.com/100570109519069333827/ 
> <http://plus.google.com/100570109519069333827/>
> Facebook -- http://www.facebook.com/OpenLinkSoftware 
> <http://www.facebook.com/OpenLinkSoftware>
> Universal Data Access, Integration, and Management Technology Providers
> 
> 
> 
> 
> 
>> On 14 Nov 2022, at 16:02, Jishnu Raj Parashar > <mailto:jishnu19...@iiitd.ac.in>> wrote:
>> 
>> Hello, 
>> We were looking to work on migrating the current sql-based database(used for 
>> the RDF store) to a different one as an experiment for our ongoing project. 
>> We wanted to ask if it was possible for you to direct us to the files which 
>> deal with managing connection to the sql database. The database we are 
>> looking to migrate to is also sql based, so that would be good enough to get 
>> us started.
>> Thanks,
>> -- 
>> Jishnu Raj Parashar
>> CSE Senior Undergrad | IIIT-Delhi
>> ___
>> Virtuoso-users mailing list
>> Virtuoso-users@lists.sourceforge.net 
>> <mailto:Virtuoso-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
>> <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
> 
> 
> 
> -- 
> Jishnu Raj Parashar
> CSE Senior Undergrad | IIIT-Delhi

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Regarding Virtuoso's RDF Store

2022-11-16 Thread Hugh Williams via Virtuoso-users
Hi Jishnu,

What is the SQL database being used as RDF Store currently ?

With the Virtuoso commercially licensed edition its virtual database engine can 
be used to generate transient or persisted RDF views of data stored in ODBC or 
JDBC accessible relational databases as detailed at:

https://medium.com/virtuoso-blog/rdf-views-generate-b0538101a724
https://vos.openlinksw.com/owiki/wiki/VOS/VirtRdb2RDFViewsGeneration

Also, if the current RDF Store as the ability to dump its RDF data to datasets 
in one of the standard data representations ie  turtle, N-triple, NQuad, 
RDF/XML, as most do then those dataset can be bulk load directly into the 
Virtuoso commercial or open source product offerings as detailed at:

https://vos.openlinksw.com/owiki/wiki/VOS/VirtBulkRDFLoader

Note, the first method of creating RDF Views of the relational data cannot be 
done with the open source product as the virtual database engine required is a 
commercial only feature ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 14 Nov 2022, at 16:02, Jishnu Raj Parashar  wrote:
> 
> Hello, 
> We were looking to work on migrating the current sql-based database(used for 
> the RDF store) to a different one as an experiment for our ongoing project. 
> We wanted to ask if it was possible for you to direct us to the files which 
> deal with managing connection to the sql database. The database we are 
> looking to migrate to is also sql based, so that would be good enough to get 
> us started.
> Thanks,
> -- 
> Jishnu Raj Parashar
> CSE Senior Undergrad | IIIT-Delhi
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Unexpected results with geof:sfIntersects

2022-05-11 Thread Hugh Williams via Virtuoso-users
Hi Luí­s,

I would suggest reporting this issue on the Virtuoso open source git issue 
tracker at:

https://github.com/openlink/virtuoso-opensource/issues

which is where most now report issues or ask questions since we move to using 
git ...

Also, do you have a minimal test case for recreating the issue, as if so that 
should be provided as well ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 11 May 2022, at 10:56, Luí­s Moreira de Sousa via Virtuoso-users 
>  wrote:
> 
> Dear all,
> 
> after a few more tests it is starting to look like the problem is actually 
> with the geof:buffer function. A full example is at the of this message. 
> Whatever the function is returning, it is certainly not a 10 metre buffer 
> around the point.
> 
> What could be going wrong here? If it is relevant the version I am using is 
> 07.20.3233.
> 
> Thank you.
> 
> 
> SPARQL
> PREFIX geo: <http://www.opengis.net/ont/geosparql# 
> <http://www.opengis.net/ont/geosparql#>>
> PREFIX geof: <http://www.opengis.net/def/function/geosparql/ 
> <http://www.opengis.net/def/function/geosparql/>>
> PREFIX ex: <https://example.com <https://example.com/>#>
> 
> SELECT geof:buffer(?lit_b, 10, <http://www.opengis.net/def/uom/OGC/1.0/metre 
> <http://www.opengis.net/def/uom/OGC/1.0/metre>>)
> FROM <https://example.com <https://example.com/>#>
> WHERE {
> ex:point_b geo:asWKT ?lit_b .
> };
> Type the rest of statement, end with a semicolon (;)> Type the rest of 
> statement, end with a semicolon (;)> Type the rest of statement, end with a 
> semicolon (;)> Type the rest of statement, end with a semicolon (;)> Type the 
> rest of statement, end with a semicolon (;)> Type the rest of statement, end 
> with a semicolon (;)> Type the rest of statement, end with a semicolon (;)> 
> Type the rest of statement, end with a semicolon (;)> Type the rest of 
> statement, end with a semicolon (;)> callret-0
> LONG VARCHAR
> ___
> 
> POLYGON((61 51,60.807852804032 49.049096779839,60.238795325113 
> 47.173165676349,59.314696123025 45.444297669804,58.071067811865 
> 43.928932188135,56.555702330196 42.685303876975,54.826834323651 
> 41.761204674887,52.950903220161 41.192147195968,51 41,49.049096779839 
> 41.192147195968,47.173165676349 41.761204674887,45.444297669804 
> 42.685303876975,43.928932188135 43.928932188135,42.685303876975 
> 45.444297669804,41.761204674887 47.173165676349,41.192147195968 
> 49.049096779839,41 51,41.192147195968 52.950903220161,41.761204674887 
> 54.826834323651,42.685303876975 56.555702330196,43.928932188134 
> 58.071067811865,45.444297669804 59.314696123025,47.173165676349 
> 60.238795325113,49.049096779839 60.807852804032,51 61,52.950903220161 
> 60.807852804032,54.826834323651 60.238795325113,56.555702330196 
> 59.314696123025,58.071067811865 58.071067811865,59.314696123025 
> 56.555702330196,60.238795325113 54.826834323651,60.807852804032 
> 52.950903220161,61 51))
> 
> 1 Rows. -- 29 msec. 
> 
> 
> -- 
> Luís
> --- Original Message ---
> On Tuesday, May 10th, 2022 at 9:25 AM, Luí­s Moreira de Sousa via 
> Virtuoso-users  wrote:
> 
>> Dear all,
>> 
>> I am currently unable to use the geof:sfIntersects function as it produces 
>> unexpected results. As an example consider the following graph:
>> 
>> @prefix geo: <http://www.opengis.net/ont/geosparql# 
>> <http://www.opengis.net/ont/geosparql#>> .
>> @prefix ex: <https://example.com <https://example.com/>#> .
>> 
>> ex:point_a a geo:Point ;
>> geo:asWKT "POINT(50 50)"^^geo:wktLiteral .
>> 
>> ex:point_b a geo:Point ;
>> geo:asWKT "POINT(51 51)"^^geo:wktLiteral .
>> 
>> 
>> The use case is to identify points that

Re: [Virtuoso-users] Obtain list of knowledge graphs in iSQL

2022-05-04 Thread Hugh Williams via Virtuoso-users
Hi Luís,

Methods for listing RDF graphs in Virtuoso are documented at:

http://vos.openlinksw.com/owiki/wiki/VOS/VirtTipsAndTricksGuideAllGraphs

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 4 May 2022, at 08:58, Luís de Sousa  wrote:
> 
> Hi there,
> 
> is there any isql command to list the URIs of the knowledge graphs currently 
> in triple store? There are instructions to load and delete graphs, but I 
> cannot find one to list those currently loaded.
> 
> Thank you.
> 
> LUÍS MOREIRA DE SOUSA | GeoInformatics
> ISRIC - World Soil Information
> Wageningen, Netherlands
> +31 643 84 40 91
> isric.org
> 
> 
> 
> 
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Reasoning with owl:unionOf, owl:intersectionOf, etc...

2021-07-19 Thread Hugh Williams via Virtuoso-users
Hi Tom,

The Virtuoso built-in inferencing available in the open source product does not 
support owl:unionOf, and owl:intersectionOf. 

In the Virtuoso 8+ commercial edition support for the creation of custom 
inference rules of any type is support new custom inferencing engine available 
in this release as detailed at:


https://medium.com/virtuoso-blog/magic-sets-and-custom-inference-rules-in-virtuoso-8-x-db783f8d98d2


https://medium.com/virtuoso-blog/virtuoso-8-0-creating-a-custom-inference-rules-using-spin-vocabulary-d7a060f859ef

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 18 Jul 2021, at 22:35, tom huyghe  wrote:
> 
> Hi everyone,
> 
> I'm using Virtuoso open-source v7.2.6.1 on a Linux fedora34 system and I want 
> to know if it's possible to create inference rules with owl:unionOf, 
> owl:intersectionOf. Or even use an external reasoner with Virtuoso 
> open-source (like Fact++) that supports OWL DL reasoning.
> 
> I saw on the documentation that it was possible to create custom inference 
> rules (http://docs.openlinksw.com/virtuoso/rdfsparqlruleintro/ 
> <http://docs.openlinksw.com/virtuoso/rdfsparqlruleintro/>) but if I'm not 
> mistaken those are limited to  " rdfs:subClassOf, rdfs:subPropertyOf, 
> owl:sameAs, owl:equivalentClass and owl:equivalentProperty " . I tried to use 
> rdfs_rule_set() to create inference rules for owl:unionOf, and then use it in 
> a sparql request (for instance) :
> 
> 
> define input:inference "myRuleSet"
> 
> prefix :  <https://stackoverflow.com/q/21092246/1281433/data.owl# 
> <https://stackoverflow.com/q/21092246/1281433/data.owl#>> 
> prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema# 
> <http://www.w3.org/2000/01/rdf-schema#>> 
> prefix owl:   <http://www.w3.org/2002/07/owl# 
> <http://www.w3.org/2002/07/owl#>> 
> prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns# 
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#>>
> 
> SELECT ?x
> WHERE {
>?x rdf:type <http://www.co-ode.org/ontologies/ont.owl#Demand_poi 
> <http://www.co-ode.org/ontologies/ont.owl#DP_315000448311>nt>
> }
> 
> 
> But it's not working, it didn't found any triple. I didn't find any tutorial 
> or documentation that explain how to do it, so i guess it's not possible. And 
> i don't know if it's possible to use an external reasoner with Virtuoso 
> Open-source.
> 
> here is an example of a class that I'm using ( There are more complex class 
> in my Ontologie using owl:intersectionOf and even owl:someValuesFrom)
> 
> Class rdf:about="http://www.co-ode.org/ontologies/ont.owl#Demand_point 
> <http://www.co-ode.org/ontologies/ont.owl#Demand_point>">
> 
> 
> 
>  rdf:about="http://www.co-ode.org/ontologies/ont.owl#Infrastructure_aggregation
>  <http://www.co-ode.org/ontologies/ont.owl#Infrastructure_aggregation>"/>
>  rdf:about="http://www.semanticweb.org/tomhu/ontologies/2021/1/untitled-ontology-7#Infrastructure
>  
> <http://www.semanticweb.org/tomhu/ontologies/2021/1/untitled-ontology-7#Infrastructure>"/>
> 
> 
> 
> A demand point is an infrastructure that 
> must be evacuated.
> Un point de demande est une 
> infrastructure quil faut évacuer.
> Demand point
> Point de demande
> 
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] sparql slow if more object value specified

2020-10-26 Thread Hugh Williams via Virtuoso-users
See the following response to this issue on the OpenLink Community Forum 
https://community.openlinksw.com/t/sparql-slow-if-more-object-value-specified/2064/2
 ... post all further questions there ...


> On 26 Oct 2020, at 04:49, William Kisman  wrote:
> 
> Hi , I am using virtuoso 7 open source edition,
> 
> This query below is fast, it return the result instantly,
> 
> select *
> WHERE {
> 
> graph  > {
> 
> ?catAtt qq:catId ?catId;
> qq:caDataType ?caDataType;
> qq:showInView   ?showInview;
> qq:valFormat?valFormatKey;
> qq:multiple ?multiple; 
> qq:position ?position; 
> qq:link ?link; 
> qq:catAttName   ?catAttName; 
> qq:setting  ?setting; 
> qq:flag ?flag;
> qq:unit ?caUnit.
> 
>
> 
>
>   }  
> }
> 
> 
> LIMIT 20
> This query is so slow, took 10 seconds for the result, the only difference is 
> the ?catId is replaced with literal value 1 . I thought this should be faster 
> because it's more specific.
> 
> select *
> WHERE {
> 
> graph  > {
> 
> ?catAtt qq:catId 1;
> qq:caDataType ?caDataType;
> qq:showInView   ?showInview;
> qq:valFormat?valFormatKey;
> qq:multiple ?multiple; 
> qq:position ?position; 
> qq:link ?link; 
> qq:catAttName   ?catAttName; 
> qq:setting  ?setting; 
> qq:flag ?flag;
> qq:unit ?caUnit.
> 
>
> 
>
>   }  
> }
> 
> 
> LIMIT 20
> Why is it so ? I am still new to sparql and triplestore, seems like I have to 
> do some indexing on the object ?
> 
> I have tried creating the GOPS index with, I don't understand about the 
> Partition part, is using O correct ? What does that partition mean ? Creating 
> this index has improved the execution for the second query to 4 seconds, but 
> still too slow for a DBMS.
> 
> CREATE COLUMN INDEX RDF_QUAD_GOPS
>   ON RDF_QUAD (G, O, P, S)
>   PARTITION (O VARCHAR (-1, 0hex));
> 
> Btw, does virtuoso stored triplet in the regular RDBMS table ? in the table 
> DB.DBA.RDF_QUAD ? So virtuoso does not have a native storage of graph ? Or 
> what I don't understand ? 
> 
> Thanks
> Best regards,
> 
> William
> 
> 
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] problem restoring from Online Backup.

2020-10-21 Thread Hugh Williams via Virtuoso-users
Hi Skaros,

You need to specify the Virtuoso configuration ( ie INI) file with the -c or 
+configfile option when restoring the backup such that the database file(s) 
(without or with striping etc) the backup should be restore to ie

$ virtuoso-t +restore-backup bck +configfile virtuoso.ini

Wed Oct 21 2020
11:45:41 OpenLink Virtuoso Universal Server
11:45:41 Version 07.20.3230-pthreads for Darwin as of Oct 10 2020
11:45:41 uses OpenSSL 1.0.2s  28 May 2019
11:45:41 uses parts of PCRE, Html Tidy
11:45:41 Begin to restore with file prefix bck
11:45:41 --> Backup file # 1 [0x316B-0x57-0xA9]
11:45:42 --> Backup file # 2 [0x316B-0x57-0xA9]
11:45:42 End of restoring from backup, 3342 pages
11:45:42 Server exiting

as detailed in the backup and restore documentation:

http://docs.openlinksw.com/virtuoso/backup_recovery/#rstrfrmbckuponline

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com
Community Support: https://community.openlinksw.com
Company Blog: https://medium.com/openlink-software-blog
Virtuoso Blog: https://medium.com/virtuoso-blog
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers
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 21 Oct 2020, at 11:19, skaros  wrote:
> 
> Hi all, I am trying to restore a database that i used the online backup. I 
> have a folder that contains my backup files ( some 200 db files)
> 
> I try to restore them on an empty instance by using
> 
> $ sudo /opt/virtuoso-7.1.0/bin/virtuoso-t +restore-backup virt-inc_dump_#
> 
> but I am getting an error
> 
> There is no configuration file virtuoso.ini.
> 
> The file virtuoso.ini does exists on the bin folder, and i can start it by 
> just typing
> 
> ./virtuoso-t
> 
> if i am inside the bin folder, but not using
> 
> sudo /opt/virtuoso-7.1.0/bin/virtuoso-t -f
> which gives me the same error.
> 
> I have read on the documentation that i need to be in the same folder where 
> the bp files are stored, so when i cd to the virtuoso folder I am getting the 
> following error
> 
> sudo ./virtuoso-t +foreground +restore-backup 
> /home/rdfFilesPath/virt-inc_dump_# -f
> 
> Could not restore database using prefix /home/rdfFilesPath/virt-inc_dump_#
> 
> any help? thanks
> 
> 
> 
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] database corruption after DB.DBA.DAV_QUEUE_RUN exit handler

2020-08-12 Thread Hugh Williams via Virtuoso-users
Hi Jorge,

I would suggest using the official OpenLink provided Virtuoso Docker images at:

 
https://community.openlinksw.com/t/virtuoso-enterprise-edition-docker-quick-start-guide/285

rather then the “tenforce/virtuoso” docker images which use older code base, 
and see if the same error occurs ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 12 Aug 2020, at 08:08, jorge.mendesdeje...@isric.org wrote:
> 
> Dear community 
> 
> I have am trying to run a virutoso instance based on the docker image 
> (tenforce/vituroso)  the docker image is being run on a openshift 
> 3.6/kubbernetes (OC). The virtuoso.ini has been update to work on a NFS mount 
>  provided by OC and we have no permission issues or any problems with the 
> volume. Virtuoso is running with a sudoer user. Bellow some parameters of the 
> virtuosos.ini
> 
> /data is the nfs mount and I have moved the look to be outside the NFS, and 
> reduced the checkpoints. Neverthless virtusoso starts with an error:
> 
> 
> 15:08:44 PL LOG: DB.DBA.DAV_QUEUE_RUN exit handler:
>  SR325: Transaction aborted due to a database checkpoint or database-wide 
> atomic operation. Please retry transaction
> 
> Then later after a restart of the pod:
> 
> 6:54:12 OpenLink Virtuoso Universal Server
> 16:54:12 Version 07.20.3229-pthreads for Linux as of Aug 10 2020
> 16:54:12 uses parts of OpenSSL, PCRE, Html Tidy
> 16:54:12 Database version 3126
> 16:54:12 SQL Optimizer enabled (unlimited layouts)
> 16:54:13 Compiler unit is timed at 0.000256 msec
> 16:54:14 Roll forward started
> 16:54:14 133 transactions, 45484 bytes replayed (100 %)
> 16:54:14 Roll forward complete
> 16:54:14 Error executing a server init statement : 37000: SQ156: Internal 
> Optimized compiler error : sqlo table has no index in sqldf.c:3777.
> Please report the statement compiled. --  DB.DBA.RDF_QUAD_FT_UPGRADE ()
> 
> 16:54:14 Roll forward complete
> 16:54:14 Error executing a server init statement : 37000: SQ156: Internal 
> Optimized compiler error : sqlo table has no index in sqldf.c:3777.
> Please report the statement compiled. --  DB.DBA.RDF_QUAD_FT_UPGRADE ()
> 
> 16:54:14 Error executing a server init statement : 37000: SQ156: Internal 
> Optimized compiler error : sqlo table has no index in sqldf.c:3777.
> Please report the statement compiled. --  WS.WS.SYS_DAV_INIT_RDF ()
> 
> 16:54:15 PL LOG: Installing Virtuoso Conductor version 1.00.8783 (DAV)
> 16:54:15 PL LOG: Installing with dependencies Virtuoso Conductor version 
> 1.00.8783/2020-08-10 15:13 (DAV)
> 16:54:18 PL LOG: SQ156: Internal Optimized compiler error : sqlo table has no 
> index in sqldf.c:3777.
> Please report the statement compiled.
> while executing the following statement:
> --no_c_escapes-
> RDFS_RULE_SET ('http
> 16:54:18 PL LOG: VAD_INSTALL: SQ156: Internal Optimized compiler error : sqlo 
> table has no index in sqldf.c:3777.
> Please report the statement compiled. (37000)
> 16:54:18 PL LOG: Errors were detected during installation of "Virtuoso 
> Conductor".
> 16:54:18 PL LOG: The installation of this VAD package has failed.
> 16:54:18 PL LOG: Please delete the transaction file
> 16:54:18 PL LOG: /data/virtuoso.trx
> 16:54:18 PL LOG: and then restart your database server.
> 16:54:18 PL LOG: Note: Your database will be in its pre VAD installation
> 16:54:18 PL LOG: state after you restart.
> 16:54:21 The startup left global lock, unlocking
> 16:54:23 HTTP/WebDAV server online at 8890
> 16:54:23 Server online at  (pid 1)
> 
> 
> And  finally 
> 
> 14:32:27 Database version 3100
> 14:32:27 Trying to access the database schema data before the schema has been 
> initialized. This is usually caused by an unrecoverable corrupted database 
> file. 
> 14:32:27 Server exiting
> 
> 
> I tried to delete the database, transaction logs. Moved the transacions and 
> pxa files to another place, it is is always the same padron, it starts, get

Re: [Virtuoso-users] How to install isql?

2020-04-30 Thread Hugh Williams via Virtuoso-users
Hi Luis,

The Virtuoso client connectivity kit components are not licensed and can be 
freely redistributed, as in the commercial product it is the Virtuoso server 
where licensing is enforce for use.

Or why do you not use the open source “isql-vt” program Ubuntu provides as 
suggested previously ie 
http://manpages.ubuntu.com/manpages/cosmic/man1/ISQL-VT.1.html , which you can 
simply run the command "apt install virtuoso-opensource-6.1-bin" on ubuntu to 
install ie

root@ubuntu:/tmp/mozilla_hwilliams0# isql-vt

Command 'isql-vt' not found, but can be installed with:

apt install virtuoso-opensource-6.1-bin

root@ubuntu:/tmp/mozilla_hwilliams0# apt install virtuoso-opensource-6.1-bin
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libatkmm-1.6-1v5 libcairomm-1.0-1v5 libgtkmm-3.0-1v5 libllvm6.0
  libnih-dbus1 libpangomm-1.4-1v5
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  virtuoso-opensource-6.1-bin
0 upgraded, 1 newly installed, 0 to remove and 86 not upgraded.
Need to get 2,831 kB of archives.
After this operation, 14.9 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 
virtuoso-opensource-6.1-bin amd64 6.1.6+repack-0ubuntu9 [2,831 kB]
Fetched 2,831 kB in 3s (1,003 kB/s)  
Selecting previously unselected package virtuoso-opensource-6.1-bin.
(Reading database ... 218615 files and directories currently installed.)
Preparing to unpack 
.../virtuoso-opensource-6.1-bin_6.1.6+repack-0ubuntu9_amd64.deb ...
Unpacking virtuoso-opensource-6.1-bin (6.1.6+repack-0ubuntu9) ...
Setting up virtuoso-opensource-6.1-bin (6.1.6+repack-0ubuntu9) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
root@ubuntu:/tmp/mozilla_hwilliams0# isql-vt -?
OpenLink Interactive SQL (Virtuoso), version 0.9849b.

   Usage :
isql [:]   file1 file2 ...

isql -H  [-S ] [-U ] [-P ]
 [-E] [-X ] [-K] [-C ] [-b ]
 [-u =]* [-i  ]
 isql -?
Connection options:

  -?  - This help message
  -U username - Specifies the login user ID
  -P password - Specifies the login password
  -H server_addr  - Specifies the Server address (IP)
  -S server port  - Specifies the TCP port to connect to
  -E  - Specifies that encryption will be used
  -C  - Specifies that password will be sent in cleartext
  -X pkcs12_file  - Specifies that encryption & X509 certificates will
be used
  -T server_cert  - Specifies that CA certificate file to be used
  -b size - Specifies that large command buffer to be used
(in KBytes)
  -K  - Shuts down the virtuoso on connecting to it

Parameter passing options:

  -u name1=val1... - Everything after -u is stored to associative array U,
until -i is encountered. If no equal sign then value
is NULL
  -i  - Ignore everything after the -i option, after which 
comes arbitrary input parameter(s) for isql procedure,
which can be referenced with $ARGV[$I] by the
ISQL-commands.
  =   - Sets the ISQL options

  Note that if none of the above matches then the non-options go as 
  [:]   file1 file2 ...

root@ubuntu:/tmp/mozilla_hwilliams0# which isql-vt
/usr/bin/isql-vt
root@ubuntu:/tmp/mozilla_hwilliams0#

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com
Community Support: https://community.openlinksw.com
Company Blog: https://medium.com/openlink-software-blog
Virtuoso Blog: https://medium.com/virtuoso-blog
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers
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 30 Apr 2020, at 07:16, Luis de Sousa  wrote:
> 
> Hi Hugh,
> 
> I am sorry but I did not refer this before: commercial tools are not an 
> option in this particular context.
> 
> Thank you in any case.
> 
> --
> Luís
> 
> 
> ____
> From: Hugh Williams 
> Sent: 30 April 2020 00:05:26
> To: Luis de Sousa
> Cc: virtuoso-users@lists.sourceforge.net
> Subject: Re: [Virtuoso-users] How to install isql?
> 
> Hi Luis,
> 
> I don’t understand what does not make sense to you, having given you two 
> methods of obtaining prebuilt Virtuoso client component only binaries in my 
> last email ?
> 
> Best Regards
> Hugh Williams
> Profes

Re: [Virtuoso-users] How to install isql?

2020-04-29 Thread Hugh Williams via Virtuoso-users
Hi Luis,

I don’t understand what does not make sense to you, having given you two 
methods of obtaining prebuilt Virtuoso client component only binaries in my 
last email ?

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 29 Apr 2020, at 11:26, Luis de Sousa  wrote:
> 
> Hi all,
> 
> thank you for the various replies. I understand what you are saying, but it 
> makes no sense. I must install the server software on the client node in 
> order to access the actual server node? This might be feasible in a 
> development environment, but the goal would be to have Virtuoso in a 
> micro-services platform. Not sure how this is going to work.
> 
> Please let me know if there are open source alternatives to isql.
> 
> Thank you.
> 
> --
> Luís Moreira de Sousa
> ISRIC - World Soil Information
> Droevendaalsesteeg 3, Building 101
> 6708 PB Wageningen
> The Netherlands
> t: +31 643 84 40 91
> e: luis.deso...@isric.org
> Ring: luis-de-sousa
> skype: luis.a.de.sousa
> 
> 
> ____
> From: Adam Sanchez 
> Sent: 29 April 2020 12:12:35
> To: Luis de Sousa
> Cc: Hugh Williams; virtuoso-users@lists.sourceforge.net
> Subject: Re: [Virtuoso-users] How to install isql?
> 
> not sure if this is what you need, but if you are using docker you can
> connect to the isql-v tool directly by doing
> 
> docker exec -it ID_CONTAINER isql-v  dba 'MYPASSWORD'
> 
> 1
> 
> Best,
> 
> Le mer. 29 avr. 2020 à 10:05, Luis de Sousa  a écrit :
>> 
>> Hi Hugh,
>> 
>> not sure how much this matters, but the server is running in a container 
>> adapted from the tenforce image [0].
>> 
>> My question is not really about the server, but the tools needed to access 
>> it. I just need to connect to this server from a client system. The 
>> documentation points to isql, which seems to do all that is necessary client 
>> side. I am not trying to install the server itself.
>> 
>> Making a parallel with another DMS, if I wish to connect to a Postgres 
>> server I can install the postgresql-client package on Ubuntu to obtain the 
>> psql tool. I am looking for something similar with isql.
>> 
>> Thank you.
>> 
>> [0] https://hub.docker.com/r/tenforce/virtuoso
>> 
>> --
>> Luís Moreira de Sousa
>> ISRIC - World Soil Information
>> Droevendaalsesteeg 3, Building 101
>> 6708 PB Wageningen
>> The Netherlands
>> t: +31 643 84 40 91
>> e: luis.deso...@isric.org
>> Ring: luis-de-sousa
>> skype: luis.a.de.sousa
>> 
>> 
>> 
>> From: Hugh Williams 
>> Sent: 28 April 2020 19:00:55
>> To: Luis de Sousa
>> Cc: virtuoso-users@lists.sourceforge.net
>> Subject: Re: [Virtuoso-users] How to install isql?
>> 
>> Hi Luis,
>> 
>> What Virtuoso installation do you have as it you compile from source 
>> (http://vos.openlinksw.com/owiki/wiki/VOS/VOSUbuntuNotes), build and install 
>> the “isql” program is placed in the “bin” directory along with the Virtuoso 
>> binary.  Or a probably older version of Virtuoso is available on Ubuntu 
>> systems ,see 
>> https://www.howtoinstall.me/ubuntu/18-04/virtuoso-opensource-6.1/  and that 
>> would include the “isql” program although I think they call it “isql-vt” and 
>> there is already an “isql” program in the system bin directory used for 
>> something else.
>> 
>> Best Regards
>> Hugh Williams
>> Professional Services
>> OpenLink Software
>> Home Page: http://www.openlinksw.com
>> Community Support: https://community.openlinksw.com
>> Company Blog: https://medium.com/openlink-software-blog
>> Virtuoso Blog: https://medium.com/virtuoso-blog
>> Data Access Drivers Blog: 
>> https://medium.com/openlink-

Re: [Virtuoso-users] How to install isql?

2020-04-28 Thread Hugh Williams via Virtuoso-users
Hi Luis,

What Virtuoso installation do you have as it you compile from source 
(http://vos.openlinksw.com/owiki/wiki/VOS/VOSUbuntuNotes 
<http://vos.openlinksw.com/owiki/wiki/VOS/VOSUbuntuNotes>), build and install 
the “isql” program is placed in the “bin” directory along with the Virtuoso 
binary.  Or a probably older version of Virtuoso is available on Ubuntu systems 
,see https://www.howtoinstall.me/ubuntu/18-04/virtuoso-opensource-6.1/ 
<https://www.howtoinstall.me/ubuntu/18-04/virtuoso-opensource-6.1/>  and that 
would include the “isql” program although I think they call it “isql-vt” and 
there is already an “isql” program in the system bin directory used for 
something else.

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 Apr 2020, at 09:54, Luis de Sousa  wrote:
> 
> Hi everyone,
> 
> I would like to use isql to connect to a remote Virtuoso server. The 
> documentation presents the usage of this tool in detail, but does not explain 
> how to install it. Must it be compiled? The client system is Ubuntu.
> 
> Thank you. 
> 
> --
> Luís Moreira de Sousa
> ISRIC - World Soil Information
> Droevendaalsesteeg 3, Building 101
> 6708 PB Wageningen
> The Netherlands
> t: +31 643 84 40 91
> e: luis.deso...@isric.org
> Ring: luis-de-sousa
> skype: luis.a.de.sousa
> 
> 
> 
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] reset DBA password

2020-04-17 Thread Hugh Williams via Virtuoso-users
Hi Alfredo,

If you are restoring a backup of the current database or is password was not 
changed since the last backup then it must restore with the same password. That 
is unless the restore actually failed and when you restarted Virtuoso actually 
an empty database with the default dba/dba  uid/pwd is created, thus I would 
suggest trying “dba” as a password first and if this is successful you need to 
determine why the restore was not successful.

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 16 Apr 2020, at 12:06, Alfredo Serafini  wrote:
> 
> Hi after restoring a previous version of a db backup (community edition, v7) 
> on the current development machine, we discovered the dba password for that 
> backup is different from the one we expected.
> 
> Is there any way to force a different password for dba from the commandline? 
> (I need to restore some of the data in that backup...)
> 
> Searching on the mailing list I found those similar messages:
> https://sourceforge.net/p/virtuoso/mailman/message/35615507/ 
> <https://sourceforge.net/p/virtuoso/mailman/message/35615507/> 
> https://sourceforge.net/p/virtuoso/mailman/message/34705536/ 
> <https://sourceforge.net/p/virtuoso/mailman/message/34705536/>  
> 
> any help would be appreciated, thanks in advance!
> 
> Alfredo
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] just an information

2020-04-03 Thread Hugh Williams via Virtuoso-users
Hi Otavio,

No we do not provide prebuilt open source binaries for Solaris, thus you would 
have to compile and build yourself as detailed at:

http://vos.openlinksw.com/owiki/wiki/VOS/VOSBuild 
<http://vos.openlinksw.com/owiki/wiki/VOS/VOSBuild>

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 2 Apr 2020, at 19:50, OTAVIO AUGUSTO PINTO RODRIGUES 
>  wrote:
> 
> Gentlemen,
> 
> Is there any install package to Solaris SPARC 64-bit ?? Thanks.
> 
> Best regards,
> 
> Otávio Rodrigues - Supervisor de TIC
> SEFAZ/MA - CEGPA/COTEC/Infraestrutura de TIC
> otavio.augu...@sefaz.ma.gov.br - (98)3219-9003
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] What is preventing external connections to TCP port 1111 to connect to Virtuoso running within a Docker container?

2019-10-03 Thread Hugh Williams
Hi Allan,

If you can access the HTTP port 8890 from external machine then there is no 
reason why you would not be able to access the SQL TCP port  (given you can 
access it from the host machine ie localhost:1112) other then there is a 
problem with the network firewall on the host machine (or wherever this is 
enforced) that is prevent access to TCP port 1112 from external machines. Thus 
you should check your fire walling ...

BTW, I presume this is you own docker image that was create, rather then using 
the OpenLink Virtuoso 7 open source docker image at:

https://hub.docker.com/r/openlink/virtuoso-opensource-7/ 
<https://hub.docker.com/r/openlink/virtuoso-opensource-7/>

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 3 Oct 2019, at 09:49, Allan Kamau  wrote:
> 
> What is preventing external connections to TCP port  to connect to 
> Virtuoso running within a Docker container?
> 
> 
> Short story.
> I am unable to connect to port 1112 (which is mapped to  in the docker 
> container construction command) from the external network interface.
> I am able to connect to port  from inside the docker container on both 
> localhost and external network interfaces.
> From the computer on which the docker container is running I am able to 
> connect to port 1112 (which is mapped to  in the docker container 
> construction command) if I connect via localhost.
> $ time nc -zv localhost 1112;
> Ncat: Version 7.50 ( https://nmap.org/ncat <https://nmap.org/ncat> )
> Ncat: Connected to ::1:1112.
> 
> 
> Long story.
> The docker container start script has instructions to map host TCP port 1112 
> to TCP docker container port .
> I have installed Virtuoso 7.2.6-dev on a CentOS 7 in a docker image.
> In the docker container generation command that spawns a new docker container 
> from the above image, I have exposed TCP port 8891 (of the host) to connect 
> to TCP 8890 (of the container), and TCP port 1112 (of the host) to connect 
> forward to TCP port  (of the container).
> 
> From the docker container hosting computer, I can successfully connect to 
> port 8891 but I cannot connect to port 1112. See below.
> 
> $ time nc -zv ${HOSTNAME} 8891;
> Ncat: Version 7.50 ( https://nmap.org/ncat <https://nmap.org/ncat> )
> Ncat: Connected to 10.74.218.8:8891 <http://10.74.218.8:8891/>.
> Ncat: 0 bytes sent, 0 bytes received in 0.02 seconds.
> 
> $ time nc -zv ${HOSTNAME} 1112;
> Ncat: Version 7.50 ( https://nmap.org/ncat <https://nmap.org/ncat> )
> Ncat: No route to host.
> 
> 
> 
> From inside the container, I can connect via the "external" network 
> interface, see below.
> [root@172.17.0.2 <mailto:root@172.17.0.2> (7575a832483a) 2019/10/03 11:44:37 
> +03 scripts]# date;time nc -zv 10.74.218.8 1112;date;
> Thu Oct  3 11:44:43 +03 2019
> Ncat: Version 7.50 ( https://nmap.org/ncat <https://nmap.org/ncat> )
> Ncat: Connected to 10.74.218.8:1112 <http://10.74.218.8:1112/>.
> Ncat: 0 bytes sent, 0 bytes received in 0.02 seconds.
> 
> real0m0.027s
> user0m0.019s
> sys 0m0.008s
> Thu Oct  3 11:44:43 +03 2019
> [root@172.17.0.2 <mailto:root@172.17.0.2> (7575a832483a) 2019/10/03 11:44:43 
> +03 scripts]# 
> [root@172.17.0.2 <mailto:root@172.17.0.2> (7575a832483a) 2019/10/03 11:45:19 
> +03 scripts]# 
> 
> 
> 
> The command below shows the configuration for the "ServerPort" variable in 
> the virtuoso.ini of the Virtuoso instance I have running.
> grep -R "ServerPort" virtuoso.ini;
> returns the output below.
> 
> ServerPort  = 
> ;SSLServerPort  = 2111
> ServerPort  = 8890
> 
> 
> 
> Allan.
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Is there a way to send SPARQL queries via curl (over HTTP) to Openlink Virtuoso and obtain the results in JSON format.

2019-07-02 Thread Hugh Williams
Hi Allan,

The are various ways to send curl commands to Virtuoso to perform SPARQL / 
SPARUL queries like:

curl --request POST 'http://localhost:8890/sparql/?' --data-urlencode 
'query=select * from  <http://example.org> where {?s ?p ?o} limit 5’

cat query.rq 
select * from  <http://example.org> where {?s ?p ?o} limit 5

curl --request POST http://localhost:8890/sparql --data-urlencode 
"format=csv" --data-urlencode qu...@query.rq

curl --request POST 'http://localhost:8890/sparql-auth/?' --digest 
--user dba:dba --data-urlencode 'query=INSERT INTO GRAPH <http://example.org> { 
<1> <2> <3> }'

See also:

http://vos.openlinksw.com/owiki/wiki/VOS/VirtRDFInsert 
<http://vos.openlinksw.com/owiki/wiki/VOS/VirtRDFInsert>

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Weblogs (Blogs):
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 2 Jul 2019, at 08:41, Allan Kamau  wrote:
> 
> It seems there is no complete working example on how to do this on the 
> Openlink Virtuoso documentation.
> 
> Below is the solution I have composed with the help of others. I hope this 
> helps other not to spend days coming a solution for this like I have.
> 
> date;time curl -X POST "http://localhost:8890/sparql 
> <http://localhost:8890/sparql>" -H "Content-Type: 
> application/x-www-form-urlencoded" -H 
> "Accept:application/sparql-results+json" --data-urlencode 'format=json' 
> --data-urlencode 'default-graph-uri=http://www.example.com/ABC 
> <http://www.example.com/ABC>' --data-urlencode 'query=SELECT * FROM 
> <http://www.example.com/ABC <http://www.example.com/ABC>> WHERE { ?s ?p ?o } 
> LIMIT 5' \
>  --write-out 
> '%{url_effective};%{http_code};%{time_total};%{time_namelookup};%{time_connect};%{size_download};%{speed_download}\n';date;
> 
> On Mon, Jul 1, 2019 at 6:37 PM Allan Kamau  <mailto:allan.ka...@gmail.com>> wrote:
> I am looking for extensive "sparql-graph-crud" documentation or other 
> mechanism which details how to submit queries to Openlink Virtuoso SPARQL 
> endpoint.
> In short, I would like to learn how to send SPARQL queries (with WHERE 
> clauses) via curl (over HTTP) to Openlink Virtuoso and obtain the results in 
> JSON.
> For example, I would like to submit a query such as "SELECT * FROM 
> http://www.example.com/ABC <http://www.example.com/ABC> where { ?s ?p ?o } 
> LIMIT 100" to Openlink Virtuoso at localhost.
> 
> The example (below) provided on the OpenLink Virtuoso page is not sufficient 
> for my needs.
> 
> curl --verbose --url 
> "http://localhost:8890/sparql-graph-crud?graph-uri=urn:graph:urn:graph:update:test:post
>  
> <http://localhost:8890/sparql-graph-crud?graph-uri=urn:graph:urn:graph:update:test:post>"
> 
> 
> Allan.
> 
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] How to load RDF/XML data from files into Virtuoso.

2019-06-15 Thread Hugh Williams
HI Alan,

There are a number of Virtuoso curl  RDF insert examples at:

http://vos.openlinksw.com/owiki/wiki/VOS/VirtRDFInsert 
<http://vos.openlinksw.com/owiki/wiki/VOS/VirtRDFInsert>

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Weblogs (Blogs):
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 12 Jun 2019, at 06:52, Allan Kamau  wrote:
> 
> I have several RDF/XML graph data file that I would like to load into 
> Virtuoso.
> Each data file contains data from one row of a CSV spreadsheet.
> All the data belongs to a single dataset hence I assume they should be loaded 
> into the same "graph"
> I would like to load these data using curl via a batch script, what would be 
> the curl command for loading on of the files. Assume the url of my Virtuoso 
> instance is "http://localhost:8890 <http://localhost:8890/>" and one of the 
> RDF/XML file is "/local/data/tmp/abc_1.rdf.xml and the graph name is "abc".
> 
> I have been looking at the documentation on Openlink Virtuoso server at 
> "http://docs.openlinksw.com/virtuoso/ <http://docs.openlinksw.com/virtuoso/>" 
> but could not find how to do the above, perhaps I may have skipped over the 
> loading of RDF/XML data over HTTP. Or perhaps this question has already been 
> answered, If so kindly point me to the documentation where I can learn more 
> on how to the above.
> 
> Regards,
> Allan.
> 
> 
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] https certificates digicert.crt

2019-05-14 Thread Hugh Williams
Hi Saiz,

This can be setup via the Virtuoso Conductor or with INI config file setting as 
detailed at:

http://vos.openlinksw.com/owiki/wiki/VOS/VirtSetupSSLVirtuoso 
<http://vos.openlinksw.com/owiki/wiki/VOS/VirtSetupSSLVirtuoso>

http://docs.openlinksw.com/virtuoso/webserverhttpslistenerset/ 
<http://docs.openlinksw.com/virtuoso/webserverhttpslistenerset/>

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Weblogs (Blogs):
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 14 May 2019, at 08:37, Saiz Godino  wrote:
> 
> I want to put virtuoso in https navigation and I already have the 
> certificates in the server (digicert.crt).  how can I do it? thanks and 
> regards
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] strange error when bulk-loading Turtle files

2018-12-19 Thread Hugh Williams
Hi Peter,

My original testing was on Darwin (macOS), I have switched to CentOS 7 and have 
been able to recreate the issue on first run:

[hwilliams@localhost database]$ sh test.sh 
Wed 19 Dec 15:43:33 GMT 2018: 3/ Start up Virtuoso with an empty database
OpenLink Virtuoso Interactive SQL (Virtuoso)
Version 07.20.3230 as of Oct 18 2018
Type HELP; for help and EXIT; to exit.
Connected to OpenLink Virtuoso
Driver: 07.20.3230 OpenLink Virtuoso ODBC Driver
Wed 19 Dec 15:43:39 GMT 2018: 4/ Load the dump files into Virtuoso
test.sh: line 35: warning: here-document at line 18 delimited by end-of-file 
(wanted `EOF')
ll_file 
  ll_statell_error
___

/home/hwilliams/virtuoso/vos72/virtuoso-opensource/wikidata/test00.ttl  
  2   23000 TURTLE RDF loader, line 507: SR197: Non unique primary key 
on DB.DBA.RDF_LANGUAGE.
[hwilliams@localhost database]$ 

and sometimes does not occur ...

I shall report to development to look into and also provide them with the 
“ttlpv.sql” script with your proposed fix ...

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Weblogs (Blogs):
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 19 Dec 2018, at 13:51, Peter F. Patel-Schneider  
> wrote:
> 
> That's not my experience on several machines.  I've experienced this bug on
> two servers, one running CentOS release 6.9 (Final) and one running Ubuntu
> 16.04.5 LTS.  The bug depends at least on loading in parallel *and*
> encountering new language tags.  Loading the files a second time will almost
> certainly result in no errors as the language tags will already have been
> encountered and added in the previous partially completed run.
> 
> 
> To check things out a bit further I tested on a new machine.  I did a fresh
> download and install of Virtuoso Open Source (Version 07.20.3230 as of Dec
> 19 2018) on my laptop (a four-core, eight-thread machine running Fedora 29
> with kernel 4.19.8-300.fc29.x86_64).
> 
> I downloaded, compiled, and installed Virtuoso as follows:
> 
> cd /home/virtuoso/test
> git clone git://github.com/openlink/virtuoso-opensource.git
> cd virtuoso-opensource
> ./autogen.sh
> ./configure
> make
> make install prefix=/home/virtuoso/test/vos
> cd ..
> 
> I put my generation code in the directory .../share/virtuoso/vad/ and
> creaated the download files there so that I did not have to change
> virtuoso.ini at all.   I then ran a slightly modified version of the test
> script (attached).
> 
> cp generate.py vos/share/virtuoso/vad
> ( cd vos/share/virtuoso/vad ; python2.7 ./generate.py )
> ./test.sh
> 
> The test script produced
> 
> #!/bin/bash -v
> # Installation directories for Virtuoso open source
> vrun=/home/virtuoso/test/vos
> vbin=${vrun}/bin
> vdb=${vrun}/var/lib/virtuoso/db
> 
> # Start up virtuoso as a daemon, waiting for initialization
> ( cd ${vdb} ; ${vbin}/virtuoso-t +wait )
> 
> ${vbin}/isql  dba dba PROMPT=OFF < ld_dir ('/home/virtuoso/test/vos/share/virtuoso/vad', 'test*.ttl',
> 'http://test.nuance.com');
> rdf_loader_run() &
> rdf_loader_run() &
> rdf_loader_run() &
> rdf_loader_run() &
> rdf_loader_run() &
> rdf_loader_run() &
> rdf_loader_run() &
> rdf_loader_run() &
> rdf_loader_run() &
> rdf_loader_run() &
> wait_for_children;
> checkpoint;
> SELECT * FROM DB.DBA.load_list;
> SPARQL SELECT count(*) FROM <http://test.nuance.com> WHERE {?s ?p ?o};
> exit;
> EOF
> OpenLink Virtuoso Interactive SQL (Virtuoso)
> Version 07.20.3230 as of Dec 19 2018
> Type HELP; for help and EXIT; to exit.
> Connected to OpenLink Virtuoso
> Driver: 07.20.3230 OpenLink Virtuoso ODBC Driver
> 
> Done. -- 1 msec.
> OpenLink Virtuoso Interactive SQL (Virtuoso)
> OpenLink Virtuoso Interactive SQL (Virtuoso)
> OpenLink Virtuoso Interactive SQL (Virtuoso)
> OpenLink Virtuoso Interactive SQL (Virtuoso)

Re: [Virtuoso-users] strange error when bulk-loading Turtle files

2018-12-18 Thread Hugh Williams
  2   2018.12.19 0:47.54 82779  2018.12.19 0:47.55 624303000  0   
NULLNULL
./wikidata/test16.ttl   
  http://test.nuance.com
2   2018.12.19 0:47.54 82779  2018.12.19 0:47.55 74576  0   
NULLNULL
./wikidata/test17.ttl   
  http://test.nuance.com
2   2018.12.19 0:47.54 82779  2018.12.19 0:47.55 862932000  0   
NULLNULL
./wikidata/test18.ttl   
  http://test.nuance.com
2   2018.12.19 0:47.54 82779  2018.12.19 0:47.55 995704000  0   
NULLNULL
./wikidata/test19.ttl   
  http://test.nuance.com
2   2018.12.19 0:47.54 82779  2018.12.19 0:47.56 144745000  0   
NULLNULL

20 Rows. -- 3 msec.
SQL> sparql select count(*) from <http://test.nuance.com> where {?s ?p ?o};
callret-0
INTEGER
___

135402

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

OpenLink Virtuoso  Server
Version 07.20.3230-pthreads for Darwin as of Nov 10 2018 
Started on: 2018-12-19 00:36 GMT+0

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Weblogs (Blogs):
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 18 Dec 2018, at 17:24, Peter F. Patel-Schneider  
> wrote:
> 
> I created some synthetic data that tickles the bug reliably on my machine with
> a standard virtuoso.ini (just adding the directory for the files to the
> allowed list).  I'm attaching the generator program for the files and a
> loading script.
> 
> peter
> 
> 
> On 12/18/18 9:46 AM, Peter F. Patel-Schneider wrote:
>> I did a bit of digging and it sure looks as if there is a race condition in
>> rdf_rl_lang_id in ttlpv.sql.   This code appears to check to see if the
>> language tag is already in DB.DBA.RDF_LANGUAGE and adds it if not.  But
>> another thread could do the same insert between the check and the insert, as
>> far as I can tell.
>> 
>> It looks to me as if the right solution is to do a soft insert and a
>> subsequent query instead of a hard insert.
>> 
>> However, I don't understand how locking works in SQL so there may be 
>> something
>> that prevents another thread from interfering.
>> 
>> peter
>> 
>> 
>> On 12/18/18 8:55 AM, Peter F. Patel-Schneider wrote:
>>> I'm loading the Turtle Wikidata RDF complete dump, split into pieces and
>>> loaded with 10 active readers.   About half the time the load fails with one
>>> or more of these errors.  The errors are always near the beginning of the
>>> load---in the first group of 10 files to be loaded and near the beginning of
>>> the files (generally in the first couple of hundred lines in a file of size
>>> well over 1 GB).  No errors occur for any files beyond the first ten.
>>> 
>>> I could provide the files, but they total to about 340GB.
>>> 
>>> It sure looks as if there is some sort of bug when loading RDF 
>>> language-tagged
>>> strings, where a race condition means that two threads are trying to load 
>>> the
>>> same language tag into DB.DBA.RDF_LANGUAGE.  This would explain why the
>>> problem occurs only at the beginning of the load, when the language tags are
>>> being added to DB.DBA.RDF_LANGUAGE, and not later.  It would also explain 
>>> why
>>> the errors are different between different runs.  (The only other 
>>> explanation
>>> would be hardware errors, b

Re: [Virtuoso-users] strange error when bulk-loading Turtle files

2018-12-11 Thread Hugh Williams
Hi Peter,

The triple value do indeed appear to be valid, but the problem could be 
somewhere else in the dataset file and not necessarily on the reported line or 
line before it.

Is it a public dataset you are loading and if so can you provide a copy for 
local testing ?

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Weblogs (Blogs):
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 11 Dec 2018, at 17:45, Peter F. Patel-Schneider  
> wrote:
> 
> I'm loading a bunch of Turtle files and I'm getting the error
> 
> 2300 TURTLE RDF loader, line 1012: SR197: Non unique primary key on
> DB.DBA.RDF_LANGUAGE
> 
> The line in question looks fine:
> 
>   "Wikimedia template"@ki,
> 
> The line before it may indicate the issue
> 
>"Wikimedia template"@kg,
> 
> Nonetheless this should be valid RDF so there appears to be a bug in Virtuoso
> here.
> 
> Is there any workaround?
> 
> 
> This is in Virtuoso 07.20.3230.
> 
> peter
> 
> 
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] GeoSPARQL

2018-11-15 Thread Hugh Williams
Hi Pasquale,

The new GeoSPARQL feature is in the git develop/7 branch for which prebuilt 
binaries are not available and would thus have to be compiled from:

https://github.com/openlink/virtuoso-opensource/tree/develop/7 
<https://github.com/openlink/virtuoso-opensource/tree/develop/7>

Best Regards
Hugh Williams
Professional Services
OpenLink Software
Home Page: http://www.openlinksw.com <http://www.openlinksw.com/>
Community Support: https://community.openlinksw.com 
<https://community.openlinksw.com/>
Weblogs (Blogs):
Company Blog: https://medium.com/openlink-software-blog 
<https://medium.com/openlink-software-blog>
Virtuoso Blog: https://medium.com/virtuoso-blog 
<https://medium.com/virtuoso-blog>
Data Access Drivers Blog: 
https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers 
<https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers>
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 15 Nov 2018, at 09:34, Pasquale Di Donato  
> wrote:
> 
> Hi all,
> 
> is there a built version with the new GeoSPARQL support enabled?
> Or am I obliged to compile?
> 
> thanks
> Pasquale
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Unable to load procedure code.

2018-09-30 Thread Hugh Williams
Hi Fernando,

You should be able to use the isql “set blobs on;” command to view the LONG 
VARCHAR column values:

SQL> help set;
SET TIMEOUT sec   to set transaction timeout to sec seconds
AUTOCOMMIT ON/OFF/MANUAL to set whether to autocommit or not.
  Default is OFF
READMODE SNAPSHOT or NORMAL to switch between non-locking and normal read
ACCESSMODE RO or RW to switch between read-only and read-write connection
MAXROWS num   to set the max. limit of rows printed with select.
  Use the value zero to print always all rows.
DEADLOCK_RETRIES num  to set the max. limit of deadlock retries.
BLOBS ON or OFF   to control whether LONG VARCHAR columns are printed
TIMES2STRINGS ON or OFF to control how timestamps are printed
BANNER ON or OFF  to control whether the banner is shown with select
TYPES ON or OFF   to control whether column types are shown in banner
VERBOSE ON or OFF to control whether information about execution times,
  etc, are printed.
PROMPT New Prompt> or OFF to set the new prompt or turn off prompting
HIDDEN_CRS CLEARED or PRESERVED to control whether trailing CRs of MS-DOS
   files are cleared from foreach blobs. Note that all explicit
   \15 escape-sequences are always kept in the content.
ERRORS STDOUT or STDERR to control where error messages are directed.
ECHO ON or OFFto control whether statements are echoed.
Use SHOW to show the current values of these parameters.
Help more?>
You can specify these options on the command line also, for example
/opt/virt-geosparql/isql VERBOSE=OFF BANNER=OFF PROMPT=OFF BLOBS=ON 
ERRORS=STDOUT
You can also run one or more ISQL-commands directly from the command line with
EXEC=statement option. E.g. "EXEC=select * from fyyl" The statement(s)
are executed and no further input is asked, unless foreach statement is used.
SQL> 
SQL> set blobs on;
SQL>

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 30 Sep 2018, at 19:43, Fernando Carpani  wrote:
> 
> Hello.
> When I load with 1500 bytes of length all its ok.
> But, if I add one more character, the code disappear an I got this:
> 
> 
> SQL> select p_text,p_more from sys_procedures where p_name = 
> 'DB.DBA.mh_DB_AUTH_CHECK_USER';
> P_TEXT
> P_MORE
> VARCHAR   
> LONG VARCHAR
> ___
> 
> NULL  
> BLOB 1502 chars
> 
> 1 Rows. -- 1 msec.
> 
> I think that's there are some parameters that need adjustment but which 
> parameters?
> 
> Anyone can give me some guideline?
> 
> Thanks.
> FDO.
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] remove graph limitations on /describe/ service in FCT ?

2018-09-27 Thread Hugh Williams
Hi Thomas,

Your URLs are not accessible external and just hang trying to load, thus is 
there some firewall restriction in place ?

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 27 Sep 2018, at 11:26, Thomas Michaux  wrote:
> 
> in bold are the missing triples
> 
> 1) result is
> 
> <http://www.idref.fr/169814289/id> <http://www.idref.fr/169814289/id> 
> <http://www.w3.org/2004/02/skos/core#prefLabel> 
> <http://www.w3.org/2004/02/skos/core#prefLabel> "Dubois-Brissonnet, Florence" 
> .
> <http://www.idref.fr/169814289/id> <http://www.idref.fr/169814289/id> 
> <http://purl.org/dc/terms/language> <http://purl.org/dc/terms/language> 
> <http://lexvo.org/id/iso639-3/fra> <http://lexvo.org/id/iso639-3/fra> .
> <http://www.idref.fr/169814289/id> <http://www.idref.fr/169814289/id> 
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
> <http://xmlns.com/foaf/0.1/Person> <http://xmlns.com/foaf/0.1/Person> .
> 
> 2) result is
> 
> <http://www.idref.fr/169814289> <http://www.idref.fr/169814289>   
> <http://xmlns.com/foaf/0.1/primaryTopic> 
> <http://xmlns.com/foaf/0.1/primaryTopic>   
> <http://www.idref.fr/169814289/id> <http://www.idref.fr/169814289/id> .
> <http://www.sudoc.fr/169816842/id> <http://www.sudoc.fr/169816842/id> 
> <http://purl.org/dc/terms/contributor> <http://purl.org/dc/terms/contributor> 
>   <http://www.idref.fr/169814289/id> <http://www.idref.fr/169814289/id> .
> <http://www.idref.fr/169814289/id> <http://www.idref.fr/169814289/id> 
> <http://www.w3.org/2004/02/skos/core#prefLabel> 
> <http://www.w3.org/2004/02/skos/core#prefLabel> "Dubois-Brissonnet, Florence" 
> .
> <http://www.sudoc.fr/178738921/id> <http://www.sudoc.fr/178738921/id> 
> <http://id.loc.gov/vocabulary/relators/ths> 
> <http://id.loc.gov/vocabulary/relators/ths> 
> <http://www.idref.fr/169814289/id> <http://www.idref.fr/169814289/id> .
> <http://www.sudoc.fr/201857987/id> <http://www.sudoc.fr/201857987/id> 
> <http://purl.org/dc/terms/contributor> <http://purl.org/dc/terms/contributor> 
>   <http://www.idref.fr/169814289/id> <http://www.idref.fr/169814289/id> .
> <http://www.idref.fr/169814289/id> <http://www.idref.fr/169814289/id> 
> <http://purl.org/dc/terms/language> <http://purl.org/dc/terms/language> 
> <http://lexvo.org/id/iso639-3/fra> <http://lexvo.org/id/iso639-3/fra> .
> <http://www.sudoc.fr/199182817/id> <http://www.sudoc.fr/199182817/id> 
> <http://id.loc.gov/vocabulary/relators/pbd> 
> <http://id.loc.gov/vocabulary/relators/pbd> 
> <http://www.idref.fr/169814289/id> <http://www.idref.fr/169814289/id> .
> <http://www.sudoc.fr/221554505/id> <http://www.sudoc.fr/221554505/id> 
> <http://id.loc.gov/vocabulary/relators/pbd> 
> <http://id.loc.gov/vocabulary/relators/pbd> 
> <http://www.idref.fr/169814289/id> <http://www.idref.fr/169814289/id> .
> <http://www.idref.fr/169814289/id> <http://www.idref.fr/169814289/id> 
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
> <http://xmlns.com/foaf/0.1/Person> <http://xmlns.com/foaf/0.1/Person> .
> 
> Le 27/09/2018 à 12:12, Thomas Michaux a écrit :
>> Hello, 
>> 
>> we need to find a solution to remove limitations the way  FCT code is 
>> "restricting" results of describe (Description TAB) results to one unique 
>> graph dataset, while the SPARQL describe operator allow to query ALL graphs 
>> by default : 
>> 
>> you can compare the 2 results : 
>> 
>> 1) FCT/describe 
>> 
>> https://data-dev.idref.fr/describe/?url=http://www.idref.fr/169814289/id 
>> <https://data-dev.idref.fr/describe/?url=http://www.idref.fr/169814289/id> 
>> 
>> 2) SPARQL query 
>> 
>> https://data-dev.idref.fr/sparql?query=DESCRIBE 
>> <https://data-dev.idref.fr/sparql?query=DESCRIBE> 
>> <http://www.idref.fr/169814289/id> 
>> <http://www.idref.fr/169814289/id>=text/plain 
>> 
>> 
>> Thanks four your help and suggestion to change this behaviour, 
>> 
>> 
>> Thomas 
>> 
> 
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Error SR078: The result set is too long, must limit result for at most 2097151 rows

2018-09-06 Thread Hugh Williams
Hi Peter,

You can get around this by using LIMIT / OFFSET in the query or by using one of 
the SQL interfaces ie ODBC / JDBC / ADO.Net etc as was indicated in the git 
issue (https://github.com/openlink/virtuoso-opensource/issues/700) and even 
using our Jena/Sesame Provider which use JDBC under the covers for connecting 
to Virtuoso ...

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 6 Sep 2018, at 09:30, Peter F. Patel-Schneider  
> wrote:
> 
> I had already bumped into the limit that you found.
> 
> This is a second limit, also mentioned in that thread.  This limit is 2^(24-3)
> for modern CPUs, as mentioned by iv-an-ru.  It is this limit that I'm bumping
> into.  Unfortunately, this limit appears to be something that can't be
> modified by simply changing a constant.
> 
> I do not know just what this limit constrains.  Can I get around it by using
> one of the other interfaces to Virtuoso?  Can I get around it by using LIMIT
> and OFFSET?
> 
> peter
> 
> 
> On 09/05/2018 08:19 PM, Daniel Hernandez wrote:
>> Peter,
>> 
>> I have faced the same problem. It can be partially solved by modifying
>> the code of Virtuoso to remove the hardcoded limit. It implies recompiling
>> Virtuoso. This issue is commented here:
>> 
>> https://github.com/openlink/virtuoso-opensource/issues/700
>> 
>> Daniel
>> 
>> 
>>  On Wed, 05 Sep 2018 21:30:01 -0300 Peter F. Patel-Schneider 
>>  wrote  
>>> I'm trying to extract information from a large triple store and I'm running 
>>> into Error SR078, which appears to be a hard limit on the number of rows in 
>>> a 
>>> result to 2^21 (for a 64 bit machine).  I'm using the http interface and 
>>> I've 
>>> already increased the maximum number of http results to well more than 
>>> 2^21. 
>>> 
>>> I was wondering if there was any way around this limit.  Does it affect all 
>>> results or can I use another interface to Virtuoso to get around the 
>>> problem? 
>>> Can I use LIMIT and OFFSET to get around the problem (although that would 
>>> be a 
>>> rather costly way to get around it)? 
>>> 
>>> peter 
>>> 
>>> --
>>>  
>>> 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 
>>> 
>> 
>> 
> 
> --
> 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


--
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] SPIN rules chaining in Virtuoso 8

2018-09-02 Thread Hugh Williams
Hi Adam,

As indicated previously SPIN / Custom Inferencing functionality is a Virtuoso 8 
commercially license product feature and not available in the Virtuoso open 
source product this mailing list is targeted at. Thus using the commercial 
product you should log an online support case with us, where the issue can be 
picked up by one of our consultants at:

http://support.openlinksw.com/support/online-support.vsp

Also, I don’t understand the rule you are seeking to create as a rectangle 
cannot have a volume, so you are  calculating the area as width * height  , and 
then multiplying area * height to get volume, which is incorrect, as you would 
need to depth (or length) to calculate the volume of a cube ie box effectively 
? Or are you just using this to demonstrate the chaining of rule results being 
sought ?

BTW, running your scripts I don’t get the error you report, as both the first 
one wich runs completion without error, although volume is not returned, thus 
what is the version of Virtuoso 8 being used, which can be obtained by running 
the command the the “bin” directory of your installation:

./virtuoso-iodbc-t -?

The second script gives error:

 Error SPINX: VD [Virtuoso Server]SPIN graph top-level subject 
http://example.org/shapes#rs1 is of unsupported rdf:type 
http://www.w3.org/1999/02/22-rdf-syntax-ns#Property

To get your first script to run  changed the rule to:

SPARQL 
PREFIX shapes: <http://example.org/shapes#> 
PREFIX spin:<http://spinrdf.org/spin#>
PREFIX sp: <http://spinrdf.org/sp#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>

WITH  
INSERT {
  shapes:Solid 
rdf:type  owl:Class;
rdfs:label "Solid class";
spin:rule [
   a sp:Construct;
   sp:text """ 
   CONSTRUCT { ?this 
<http://example.org/shapes#area> ?area }
   WHERE {
   {
   SELECT ?this (xsd:float(?height) * 
xsd:float(?width)) AS ?area
   WHERE { 
   ?this 
<http://example.org/shapes#width> ?width ; 
 
<http://example.org/shapes#height> ?height . 
 } 
   }
   }
  """
  ] ;
spin:rule [
   a sp:Construct;
   sp:text """ 
   CONSTRUCT { ?this 
<http://example.org/shapes#volume> ?volume }
   WHERE {
   {
   SELECT ?this (xsd:float(?height) * 
xsd:float(?height) *  xsd:float(?width)) AS ?volume
   WHERE { 
   ?this 
<http://example.org/shapes#width> ?width ; 
 
<http://example.org/shapes#height> ?height . 
 } 
   }
   }
  """
  ] .
} 

Done. -- 5 msec.

-- Line 109: EXEC ('SPARQL ' || 
SPARQL_SPIN_GRAPH_TO_DEFSPIN('urn:spin:rule:geometry:lib'))

Done. -- 200 msec.

-- Line 115:
SPARQL

DEFINE input:macro-lib 
PREFIX shapes: <http://example.org/shapes#>

SELECT *
FROM <http://geometry>
WHERE
{
?s a shapes:Solid ;
   shapes:area  ?area ;
   shapes:volume ?volume .
} 
s   
  area  
volume
LONG VARCHAR
  LONG VARCHAR  
LONG VARCHAR
___

http://example.org/shapes#solid_1   
   245  
1225

1 Rows. -- 16 msec.
SQL>

Which is essentially what your first script is seeking to do, but  ?area from 
the first rule does not seem to be available to the second rule as it has not 
been evaluated it seems, which is what you seem to be hoping it will as part of 
a chain ?

Although as said you should log an online support case for this issue 

Best Regards
Hugh Williams
Prof

Re: [Virtuoso-users] virtuoso-opensource install providing dba and dav passwords as command line parameters

2018-08-31 Thread Hugh Williams
Hi Matteo,

The +pwdold +pwddba +pwddav options can be passed to the Virtuoso server binary 
to change the “dba” and “dav” user password, see:

$ ./virtuoso-t -?
Virtuoso Open Source Edition (Column Store) (multi threaded)
Version 7.2.6-dev.3229-pthreads as of Aug 15 2018 (7f57cb6fe)
Compiled for Darwin (x86_64-apple-darwin17.6.0)
Copyright (C) 1998-2018 OpenLink Software

Usage:
  virtuoso-t [-fcnCbDARwMKrBd] [+foreground] [+configfile arg] [+no-checkpoint]
 [+checkpoint-only] [+backup-dump] [+crash-dump]
 [+crash-dump-data-ini arg] [+restore-crash-dump] [+wait]
 [+mode arg] [+dumpkeys arg] [+restore-backup arg]
 [+backup-dirs arg] [+debug] [+pwdold arg] [+pwddba arg]
 [+pwddav arg]
  +foregroundrun in the foreground
  +configfileuse alternate configuration file
  +no-checkpoint do not checkpoint on startup
  +checkpoint-only   exit as soon as checkpoint on startup is complete
  +backup-dump   dump database into the transaction log, then exit
  +crash-dumpdump inconsistent database into the transaction log, 
then exit
  +crash-dump-data-ini   specify the DB ini to use for reading the data to dump
  +restore-crash-dumprestore from a crash-dump
  +wait  wait for background initialization to complete
  +mode  specify mode options for server startup (onbalr)
  +dumpkeys  specify key id(s) to dump on crash dump (default : all)
  +restore-backuprestore from online backup
  +backup-dirs   default backup directories
  +debug Show additional debugging info
  +pwdoldOld DBA password
  +pwddbaNew DBA password
  +pwddavNew DAV password

You could also use an “autoexe.isql” file to change the pwd  as follows :

1. Go the the Virtuoso database directory where the configuration files for the 
database instance reside ie virtuoso.ini, virtuoso.log etc ; and create  a file 
called "autoexec.isql" with the following contents:

user_set_password ('dba', ‘your-pwd’)
user_set_password ('dav', ‘your-pwd')
;

2. Then start the database as normal and the pwd will be changed.

3.  Finally remember to remove the auotexec.isql script to prevent it being 
reset again when next started …

Note the “i” in the name of the “autoexec.isql” file, which many miss ...

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 31 Aug 2018, at 03:29, Matteo Olivi  wrote:
> 
> Hello everyone.
>  
> Normally, when you install virtuoso-opensource you're interactively asked a 
> password for DAV and DBA users. Is there a way to provide this password as a 
> command line parameter when running the install command, or to provide it 
> through a file which is read automatically at installation time? In a 
> nutshell, I'm looking for a way to provide the required password in a 
> non-interactive way. Ideally, I'd like to do something like:
> "sudo apt-get install virtuoso-opensource --dav-dba-password ".
> 
> The reason I want this is that I'm trying to build a docker image with 
> virtuoso-opensource installed and with Ubuntu 12.04 as the base image. 
> One way to do this is to create a blank Ubuntu 12.04 container, log into it, 
> install virtuoso on it manually, and then use "docker commit" to create an 
> image with virtuoso installed. I'd prefer to do everything using only a 
> Dockerfile (no docker commit) though, but to do that I need to put in the 
> Dockerfile a single command that installs Virtuoso and provides the password 
> for the DAV and DBA users, which is usually asked interactively during the 
> installation. Is there a way to do what I want, or an alternative that allows 
> me to build a docker image with virtuoso installed using only a Dockerfile? 
> 
> --
> 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

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot__

Re: [Virtuoso-users] Virtuoso 8 - total number of output rows is always 25 or less

2018-08-30 Thread Hugh Williams
Hi Adam,

If you are using Virtuoso 8 then this must be the commercially license version 
which has a built-in demo license that does restrict the number of rows to 25 
in a result set as detailed at:


https://medium.com/virtuoso-blog/built-in-virtuoso-demo-license-f29a1bf0ccf3 

Implying that either a valid commercial license is not in place or if you have 
an evaluation license it has expired resulting the the built-in license being 
invoked on startup.

Check your “virtuoso.log” file in the database directory which will detail the 
license pickup on startup ...

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 30 Aug 2018, at 21:14, Adam Sanchez  wrote:
> 
> Hi all,
> 
> I am testing Virtuoso 8.
> In a fresh installation, I launched this SPARQL query:
> SELECT count(*) WHERE {?s ?p ?o}
> and the result was 5644 triples in total.
> Then, I wanted to get only 1000 triples
> SELECT * WHERE {?s ?p ?o} LIMIT 1000
> but the problem is that I get only (and always) 25 triples instead of 1000.
> See this 30 seconds video
> 
> https://youtu.be/4xF62rC7NTk
> 
> Any idea how to fix this?
> 
> Best,
> 
> Adam
> 
> --
> 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


--
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] [Virtuoso-devel] Virtuoso Bug?

2018-08-10 Thread Hugh Williams
Hi Steve,

Thanks, that is all the information we would need for now as the problem can be 
recreated against the latest Virtuoso 7.2 code base, querying directly against 
the database engine ...

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 10 Aug 2018, at 15:33, Wartik, Steven P Steve  wrote:
> 
> Hugh,
>  
> Do you still need the version information? In the abstruse environment that 
> has been established for my work, discovering it is not straightforward. I 
> think the Virtuoso version is:
>  
> Virtuoso Open Source Edition (Column Store) (multi threaded)
> Version 7.2.5-rc1.3217-pthreads as of Jun 15 2018 (b7c9a9e97)
> Compiled for Linux (x86_64-pc-linux-gnu)
> Copyright (C) 1998-2018 OpenLink Software
>  
> and the RDF4J version is:
>  
> OpenLink Virtuoso(TM) Provider for RDF4J(TM) Version 2.1.4 [Build 1.3]
>  
> This is what the organization providing our virtual environment intends. 
> However, I have not been able to verify this configuration. I’ll keep on it 
> if necessary, though.
>  
> Steve Wartik
> Institute for Defense Analyses
> (703) 845-6646
> swar...@ida.org <mailto:swar...@ida.org>
>  

--
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] LDAP authentication or import.

2018-08-08 Thread Hugh Williams
Hi Fernando,

In the Virtuoso Conductor LDAP UIs the version defaults to version 2, but they 
have a drop down list box to enable this to be changed to 3

What interface is being used when the authentication fails and what is the 
actual error being reported when attempting to authenticate and what are the 
actual parameters being set LDAP server configured in the Virtuoso Conductor ?

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 8 Aug 2018, at 14:59, Fernando Carpani  wrote:
> 
> Hello again !
> First step solved:
> In line 94 of ldap_import.vspx, the ldap version is hardwired. Change 
> connection from 2 to 3 allows the import of data from ldap.
> 
> Now the problem is that authentication fails ...
> 
> Some other hint to solve this?
> 
> Thanks.
> FDO 
> 
> El mié., 8 ago. 2018 a las 8:45, Fernando Carpani 
> (mailto:fernando.carp...@gmail.com>>) escribió:
> Hello.
> I'm still stopped with this issue.
> With my ldap configuration, using protocol version 3, the test in the 
> ldap-servers tab works fine.
> But in the ldap import tab, I got 
> 
> LD007: Failed to bind synchronous LDAP connection: Protocol error (2)
> 
> Some ideas to solve this?
> 
> Thanks.
> FDO.
> 
> El vie., 9 feb. 2018 a las 14:45, Fernando Carpani 
> (mailto:fernando.carp...@gmail.com>>) escribió:
> Hello again.
> My first problem, solved: I don't had installed the openldap-package .
> 
> Now, when I click on "test" in the ldap servers, its ok...
> But when I try to import I got "protocol error"... I think that "import" tab 
> uses protocol 2 instead  3 but I don't know how to specify that...
> 
> Some idea for that?
> 
> Thanks.
> FDO
> 
> 2018-02-08 17:37 GMT-03:00 Cameron Knowlton  <mailto:camer...@igods.com>>:
> Is your openldap stored somewhere custom, outside of your PATH? Try pointing 
> to it with the =DIR optional parameter. (I'm not sure which openldap path it 
> wants, I usually try a few until it locks in... would love to know which 
> directory is expected.)
> 
> [ns3:~/src/virtuoso-opensource] administrator% ./configure --help
> 
>  --enable-openldap(=DIR)
> 
> 
> 
> Cameron Knowlton
> iGods Internet Marketing Inc.
> came...@igods.com <mailto:came...@igods.com>
> P: 250.382.0226 
> 
> 
> 
> 
>> On 08-Feb-18, at 11:33 AM, Fernando Carpani > <mailto:fernando.carp...@gmail.com>> wrote:
>> 
>> Hello.
>> 
>> In both cases, I got the message:
>> 
>> SR185: Undefined procedure DB.DBA.ldap_search.
>> 
>> But the "configure" in installation has
>> --enable-openldap
>> 
>> Some guide to resolve that?
>> Thanks.
>> FDO
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org <http://slashdot.org/>! 
>> http://sdm.link/slashdot___ 
>> <http://sdm.link/slashdot___>
>> Virtuoso-users mailing list
>> Virtuoso-users@lists.sourceforge.net 
>> <mailto:Virtuoso-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
>> <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
> 
> 
> --
> 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

--
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] Delete all default users

2018-07-31 Thread Hugh Williams
Hi Nauman,

This is the list of default users created Virtuoso:

SQL> select U_NAME from sys_users where U_IS_ROLE =0;
U_NAME
VARCHAR NOT NULL
___

PKI
PROXY
SIMILE
SPARQL
SPARQL_ADMIN
WEBID_API
WebMeta
XMLA
__rdf_repl
dav
dba
nobody

12 Rows. -- 1 msec.
SQL> 

The “dba” , “dav” users should not be removed as these are Admin user accounts  
... the “SPARQL” , “SPARQL_ADMIN” accounts are special accounts required for 
SPARQL/RDF  access  ... the other users accounts I doubt are required ... still 
not sure why you want to delete all users from a default installation ?

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 31 Jul 2018, at 18:01, Nauman Ramzan  wrote:
> 
> Thank you hugh william, i wanted to ask that will there be any problem if i 
> will remove all users ( except dba ) ? Or any user which is for internal use ?
> Thank you
> 
> On Tue, Jul 31, 2018 at 7:43 PM Hugh Williams  <mailto:hwilli...@openlinksw.com>> wrote:
> Hi Nauman,
> 
> Virtuoso has a user_drop() function as detailed at:
> 
> http://docs.openlinksw.com/virtuoso/fn_user_drop/ 
> <http://docs.openlinksw.com/virtuoso/fn_user_drop/>
> 
> Or you can delete them via the Conductor  “System Admin” -> “User Accounts” 
> tab ...
> 
> Note the special “dba” Administrative user account cannot be deleted ...
> 
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software, Inc.  //  http://www.openlinksw.com/ 
> <http://www.openlinksw.com/>
> Weblog   -- http://www.openlinksw.com/blogs/ 
> <http://www.openlinksw.com/blogs/>
> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
> <http://www.linkedin.com/company/openlink-software/>
> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
> Google+  -- http://plus.google.com/100570109519069333827/ 
> <http://plus.google.com/100570109519069333827/>
> Facebook -- http://www.facebook.com/OpenLinkSoftware 
> <http://www.facebook.com/OpenLinkSoftware>
> Universal Data Access, Integration, and Management Technology Providers
> 
> 
> 
> > On 11 Jul 2018, at 20:14, Nauman Ramzan  > <mailto:nauman.emalla...@gmail.com>> wrote:
> > 
> > Hi i have one small question is this possible to remove all default users 
> > from virtuoso so that i dont need to take care of others accounts I will 
> > create my own new user ? 
> > Thank you
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! 
> > http://sdm.link/slashdot___ 
> > <http://sdm.link/slashdot___>
> > Virtuoso-users mailing list
> > Virtuoso-users@lists.sourceforge.net 
> > <mailto:Virtuoso-users@lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
> > <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
> 

--
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] Delete all default users

2018-07-31 Thread Hugh Williams
Hi Nauman,

Virtuoso has a user_drop() function as detailed at:

http://docs.openlinksw.com/virtuoso/fn_user_drop/

Or you can delete them via the Conductor  “System Admin” -> “User Accounts” tab 
...

Note the special “dba” Administrative user account cannot be deleted ...

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 11 Jul 2018, at 20:14, Nauman Ramzan  wrote:
> 
> Hi i have one small question is this possible to remove all default users 
> from virtuoso so that i dont need to take care of others accounts I will 
> create my own new user ? 
> Thank you
> --
> 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


--
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] locking down sparql endpoint

2018-04-20 Thread Hugh Williams
Hi Erich,

You could disable the /sparql endpoint from the Conductor “Web Application 
Server -> Virtual Domains & Directories” tab and either:

1. Delete the /sparql virtual directory

2. Edit the /sparql virtual directory and set the “VSP User”  from “dba” to 
“nobody” , that way you can always set it back to “dba” should you want to 
reenable it 

and there are probably other methods ...

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 20 Apr 2018, at 19:41, Erich Bremer <er...@ebremer.com> wrote:
> 
> How do I disable /sparql and thus restrict access to only /sparql-auth and 
> /sparql-graph-crud?  - Erich
> --
> 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


--
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] Unicode in Virtuoso

2018-03-27 Thread Hugh Williams
Hi Erich,

When you say bulk update method I presume you mean with the Virtuoso RDF Bulk 
Loader ie 
https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtBulkRDFLoader  ?

If so are you able to provide a sample NT file for upload to recreate locally , 
as we have not had such complaints and Virtuoso is used for hosting datasets in 
many languages with unicode chars which are uploaded using the bulk loader ?

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 27 Mar 2018, at 21:41, Erich Bremer <er...@ebremer.com> wrote:
> 
> I've uploaded some Unicode characters via sparql-auth endpoint using:
> 
> prefix : <http://www.stonybrook.edu/ns/ <http://www.stonybrook.edu/ns/>>
> insert data {graph <http://www.ebremer.com <http://www.ebremer.com/>> 
> { :status "卩尺乇ᐯ丨乇山 ㄒ乇乂ㄒ"}}
> 
> which will display fine:
> urn:sbu:test <>   http://www.stonybrook.edu/ns/status 
> <http://www.stonybrook.edu/ns/status>   
> "Yay!"
> urn:sbu:test <>   http://www.stonybrook.edu/ns/status 
> <http://www.stonybrook.edu/ns/status>   
> "Ω"
> urn:sbu:test <>   http://www.stonybrook.edu/ns/status 
> <http://www.stonybrook.edu/ns/status>   
> "卩尺乇ᐯ丨乇山 ㄒ乇乂ㄒ"
> 
> It seems the unicode data uploaded via the bulk update method ala isql is not 
> uploading the characters correctly.  They get converted to question marks.  - 
> E
> 
> On Thu, Mar 22, 2018 at 8:07 PM, Erich Bremer <er...@ebremer.com 
> <mailto:er...@ebremer.com>> wrote:
> I've uploaded some N-Triples files using the bulk uploader method to my 
> Virtuoso instance (07.20.3217).  The NT files look fine, but when I query the 
> data via the SPARQL endpoint, the Unicode characters are all converted to 
> question marks.  How do I properly upload Unicode data into Virtuoso?  - 
> Erich Bremer
> 
> --
> 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

--
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] No bif:match other than bif:contains?

2018-02-13 Thread Hugh Williams
Hi Jason,

No such bif:match function exists in Virtuoso ...

You should be able to use a filter clause in conjunction with bif:contains to 
get a performant exact match with something like:

select * where {?s ?p ?o . ?o bif:contains '"Nevis"' FILTER 
(?o="Nevis"@en)}

See the following live example against DBpedia:

http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org=select+*+where+%7B%3Fs+%3Fp+%3Fo+.+%3Fo+bif%3Acontains++%27%22Nevis%22%27+FILTER+%28%3Fo%3D%22Nevis%22%40en%29%7D=text%2Fhtml_redir_for_subjs=121_redir_for_hrefs==3=on=+Run+Query+
 
<http://dbpedia.org/sparql?default-graph-uri=http://dbpedia.org=select+*+where+{?s+?p+?o+.+?o+bif:contains++%27%22Nevis%22%27+FILTER+(?o=%22Nevis%22@en)}=text/html_redir_for_subjs=121_redir_for_hrefs==3=on=+Run+Query+>

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 12 Feb 2018, at 22:05, Jason Koh <jb...@eng.ucsd.edu> wrote:
> 
> Hi, 
> 
> I would like to optimize objects of ``?s base:name ?o`` and previously 
> suggested to use bif:contains. However, as the query needs to be exact 
> matching, I wonder if there is a function like bif:match. (It looks like none 
> but would like to learn the reasoning.)
> 
> Regex must work but I found that it does not use the same index as contains.
> 
> Thanks!
> 
> 
> With regards,
> Jason Koh
> cseweb.ucsd.edu/~jbkoh <http://cseweb.ucsd.edu/~jbkoh>
> --
> 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

--
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] indexTreeMap set twice

2018-02-08 Thread Hugh Williams
Hi Henrik,

I see what you there are 2 entries for IndexTreeMaps in the default open source 
INI file . The default value for IndexTreeMaps is 256 as indicated in the docs 
at:

http://docs.openlinksw.com/virtuoso/dbadm/ 
<http://docs.openlinksw.com/virtuoso/dbadm/>

and in a commercial Virtuoso INI file the value is 64, which is probably where 
the confusion has come from, so will have development remove the 256 value as I 
suspect the 64 value used in commercial is what open source should use for a 
base installation ...

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 8 Feb 2018, at 09:51, Henrik Schmidt <h...@informatik.uni-kiel.de> wrote:
> 
> Hi,
> 
> is there a specific reason why indexTreeMaps is set two times in
> virtuoso.ini ? I guess not.
> 
> First it is set to 256 and afterwards to 64.
> 
> Which value is the preferred one ?
> 
> Best,
> 
> Henrik Schmidt
> 
> 
> 
> 
> --
> 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

--
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] Virtuoso Open Source Edition 7.2.5-dev compile failure: no member named 'mp_alloc_file' in 'struct mem_pool_s'

2018-02-06 Thread Hugh Williams
Hi Cameron,

In your config.nice file do you add the “--with-debug” configure option, as we 
find the error you report occurs when it is enabled, which development need to 
look into. In the meantime please remove the --with-debug option, which is not 
require for a default build, and rerun config.nice and then run "make clean" 
followed by “make" to recompile without the option enabled.

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 6 Feb 2018, at 00:34, Cameron Knowlton <camer...@igods.com> wrote:
> 
> I'm doing my best to compile Virtuoso Open Source Edition 7.2.5-dev on my OS 
> X 10.12 server.
> 
> I got through the configure fairly well (missing only hslookup, WBXML2, and 
> ImageMagick... that last one is important to me, but that's a story for 
> another day).
> 
> However, when I attempt the make (or make test), I end up with 2 Errors, 
> followed by 16 Warnings [which I deduce to be related to the preceding 
> errors].
> 
> In brief, the errors I get on a compile are:
> 
> -
> [ns3:~/src/virtuoso-opensource] administrator% sudo make check
> 
> 
> --snip--
> 
> 
> Making check in Wi
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  check-am
> /bin/sh ../../bin/libtool.macosx  --tag=CC   --mode=compile clang 
> -DHAVE_CONFIG_H -I. -I../../libsrc/Dk-g -Wall   -DPOINTER_64   
> -I/Users/administrator/src/virtuoso-opensource/libsrc/Xml.new 
> -I/usr/local/include/openssl/include -DOPENSSL_NO_KRB5  -I../../libsrc 
> -I../../libsrc/Dk -I../../libsrc/zlib -I. -I../../libsrc/langfunc 
> -I../../libsrc/plugin -I../../libsrc/Tidy -I../../libsrc/Xml.new 
> -I../../libsrc/odbcsdk/include -DVAD -DDBP -DBIF_XPER -DOPSYS=\"Darwin\" 
> -DHOST=\"x86_64-apple-darwin16.7.0\" -arch x86_64 -mmacosx-version-min=10.7 
> -MT libwi_la-sqlbif.lo -MD -MP -MF .deps/libwi_la-sqlbif.Tpo -c -o 
> libwi_la-sqlbif.lo `test -f 'sqlbif.c' || echo './'`sqlbif.c
> clang -DHAVE_CONFIG_H -I. -I../../libsrc/Dk -g -Wall -DPOINTER_64 
> -I/Users/administrator/src/virtuoso-opensource/libsrc/Xml.new 
> -I/usr/local/include/openssl/include -DOPENSSL_NO_KRB5 -I../../libsrc 
> -I../../libsrc/Dk -I../../libsrc/zlib -I. -I../../libsrc/langfunc 
> -I../../libsrc/plugin -I../../libsrc/Tidy -I../../libsrc/Xml.new 
> -I../../libsrc/odbcsdk/include -DVAD -DDBP -DBIF_XPER -DOPSYS=\"Darwin\" 
> -DHOST=\"x86_64-apple-darwin16.7.0\" -arch x86_64 -mmacosx-version-min=10.7 
> -MT libwi_la-sqlbif.lo -MD -MP -MF .deps/libwi_la-sqlbif.Tpo -c sqlbif.c  
> -fno-common -DPIC -o .libs/libwi_la-sqlbif.o
> 
> sqlbif.c:1144:34: error: no member named 'mp_alloc_file' in 'struct 
> mem_pool_s'
>box_dv_short_string (mp->mp_alloc_file),
> ~~  ^
> sqlbif.c:1145:22: error: no member named 'mp_alloc_line' in 'struct 
> mem_pool_s'
>box_num (mp->mp_alloc_line),
> ~~  ^
> sqlbif.c:1707:8: warning: unused variable 'n_out' [-Wunused-variable]
>  long n_out = BOX_ELEMENTS (args), inx;
>   ^
> sqlbif.c:1707:37: warning: unused variable 'inx' [-Wunused-variable]
>  long n_out = BOX_ELEMENTS (args), inx;
>^
> sqlbif.c:8113:18: warning: implicit declaration of function 'scn3yylex' is 
> invalid in C99 [-Wimplicit-function-declaration]
>  lextype = scn3yylex (, scanner);
>^
> sqlbif.c:8214:21: warning: implicit declaration of function 'scn3splityylex' 
> is invalid in C99 [-Wimplicit-function-declaration]
>  lextype = scn3splityylex (, scanner);
>^
> sqlbif.c:8271:3: warning: implicit declaration of function 
> 'scn3splityylex_destroy' is invalid in C99 [-Wimplicit-function-declaration]
>  scn3splityylex_destroy (scanner);
>  ^
> sqlbif.c:9907:11: warning: incompatible pointer types assigning to 
> 'id_hash_iterator_t *' (aka 'struct id_hash_iterator_s *') from 'caddr_t' 
> (aka 'char *') [-Wincompatible-pointer-types]
>  hit = bif_arg (qst, args, 2, "tlsf_dump");
>  ^ ~~~
> 
> 
> -- snip --
> 
> 
> 16 warnings and 2 errors generated.
> make[3]: *** [libwi_la-sqlbif.lo] Error 1
> make[2]: *** [check] Error 2
> make[1]: *** [check-recursive] Error 1
> make: *** [check-recursive] Error 1
> [ns3:~/src/virtuoso-opensou

Re: [Virtuoso-users] Query optimization, possible indexing?

2018-01-25 Thread Hugh Williams
Hi Quentin,

Thanks for the input, I see what you mean as the jena program is executing the 
query:

String qStr = "PREFIX base: <http://base.org#> PREFIX xsd: 
<http://www.w3.org/2001/XMLSchema#>  SELECT ?s {?s base:name 
\"test_sensor\"^^xsd:string}";

and does actually return results when run against isql:

SQL> SPARQL define input:default-graph-uri   PREFIX  xsd:  
<http://www.w3.org/2001/XMLSchema#> PREFIX  base: <http://base.org#>  SELECT  
?s WHERE   { ?s  base:name  "test_sensor"^^xsd:string };
s
LONG VARCHAR
___

http://base.org#x1
http://base.org#x2

2 Rows. -- 101 msec.
SQL>

But when I set Virtuoso trace_on() ^^xsd:string  element is being stripped off 
by time it gets to Virtuoso ie

define input:default-graph-uri  
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  base: <http://base.org#>

SELECT  ?s
WHERE
  { ?s  base:name  "test_sensor" }

which I assume must be done by the Jena Provider, thus we need to check this ...

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 25 Jan 2018, at 02:27, Quentin <quentin@guidinghand.solutions> wrote:
> 
> Hi Hugh,
> 
> In your example, you have this query:
>> SELECT  ?s WHERE   { ?s  base:name  "test_sensor" };
> 
> But the data is:
> s 
> o 
> datatype
> LONG VARCHAR  
> LONG VARCHAR  
> LONG VARCHAR
> ___
> http://base.org#x1
> test_sensor   
> http://www.w3.org/2001/XMLSchema#string
> 
> 
> Would you expect a query for string literals to return xsd typed strings?
> I've always found that filtering or querying over string literals would not 
> be successful unless everything was very carefully typed.
> 
> I note that Jason tried xsd types in his queries in the first instance, so 
> that's probably not actually the issue here.
> -- 
> Regards,
> Quentin Serrurier.
> GuidingHand.Solutions
> 

--
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] Query optimization, possible indexing?

2018-01-23 Thread Hugh Williams
Hi Jason,

What exactly is not working for you ? As the following works for me:

SQL> SPARQL PREFIX base:  INSERT DATA { GRAPH  { <1> base:name 
"sensor1" . } };

Done. -- 1 msec.
SQL> SPARQL SELECT * FROM  WHERE {?s ?p ?o};
s   
  p 
o
LONG VARCHAR
  LONG VARCHAR  
LONG VARCHAR
___

1   
  basename  
sensor1

1 Rows. -- 2 msec.
SQL> SPARQL PREFIX base:  SELECT ?s {?s base:name "sensor1"};
s
LONG VARCHAR
___

1

1 Rows. -- 1 msec.
SQL> SPARQL PREFIX base:  SELECT ?g ?s {GRAPH ?g {?s base:name 
"sensor1"}};
g   
  s
LONG VARCHAR
  LONG VARCHAR
___

koh     
  1

1 Rows. -- 1 msec.
SQL>


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 23 Jan 2018, at 09:58, Jason Koh <jb...@eng.ucsd.edu> wrote:
> 
> Hi Kingsley,
> 
> Thanks for the prompt response. I just tried it and it works well. I haven't 
> compared the performance yet but wish the string match is faster.
> 
> However, I am having trouble querying with the String Literal with SPARQL. 
> The following query does not work for Virtuoso.
> ```sparql
> select ?s {
>   ?s base:name "sensor1". # also tried "sensor1"^^xsd:string but the same 
> result.
> }
> ```
> This query returns empty result.
> 
> If I query with no pattern (?s ?p ?o), I can see the following triple:
> : base:name "sensor1",
> 
> Can't sort out the problem. Do you have any ideas on this?
> 
> Thank you!
> 
> 
> 
> 
> 
> With regards,
> Jason Koh
> cseweb.ucsd.edu/~jbkoh
> 
> On Mon, Jan 22, 2018 at 2:52 PM, Kingsley Idehen <kide...@openlinksw.com> 
> wrote:
> On 1/22/18 5:11 PM, Jason Koh wrote:
>> Hi there,
>> 
>> I am trying to use Virtuoso for metadata of city-scale sensor database. 
>> (metroinsight.io).
>> 
>> I wonder if there is a way to optimize certain SPARQL query pattern. I often 
>> query this:
>> ```sparql
>> select ?s where {
>>   ?s base:name ex:mySensor1 .
>> }
>> ```
>> 
>> I could optimize it by caching those with Redis or else, but I wonder if I 
>> can force indexing "name" properties in Virtuoso. 
>> 
>> Thank you!
>> 
>> 
>> With regards,
>> Jason Koh
>> cseweb.ucsd.edu/~jbkoh
> 
> Have you looked at text indexing in Virtuoso with regards to SPARQL? 
> [1] http://docs.openlinksw.com/virtuoso/rdfsparqlrulefulltext/ .
> -- 
> Regards,
> 
> Kingsley Idehen 
> Founder & CEO 
> OpenLink Software   (Home Page: 
> http://www.openlinksw.com
> )
> 
> Weblogs (Blogs):
> Legacy Blog: 
> http://www.openlinksw.com/blog/~kidehen/
> 
> Blogspot Blog: 
> http://kidehen.blogspot.com
> 
> Medium Blog: 
> https://medium.com/@kidehen
> 
> 
> Profile Pages:
> Pinterest: 
> https://www.pinterest.com/kidehen/
> 
> Quora: 
> https://www.quora.com/profile/Kingsley-Uyi-Idehen
> 
> Twitter: 
> https://twitter.com/kidehen
> 
> Google+: 
> https://plus.google.com/+KingsleyIdehen/about
> 
> LinkedIn: 
> http://www.linkedin.com/in/kidehen
> 
> 
> Web Identities (WebID):
> Personal: 
> http://kingsley.idehen.net/public_home/kidehen/profile.ttl#i
> 
> : 
> http://id.myopenlink.net/DAV/home/KingsleyUyiIdehen/Public/kingsley.ttl#this
> 
> 
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites

Re: [Virtuoso-users] backup-dump impossible after loading an "invalid" IRI

2017-12-22 Thread Hugh Williams
ams/vos-7-install/hosting'
17:17:05   FAILED  plugin 2: Unable to locate file }
17:17:05 { Loading plugin 3: Type `plain', file `creolewiki' in 
`/Users/hwilliams/vos-7-install/hosting'
17:17:05   FAILED  plugin 3: Unable to locate file }
17:17:05 OpenLink Virtuoso Universal Server
17:17:05 Version 07.20.3217-pthreads for Darwin as of Oct 31 2017
17:17:05 uses parts of OpenSSL, PCRE, Html Tidy
17:17:05 SQL Optimizer enabled (max 1000 layouts)
17:17:05 Roll forward started
17:17:06 Roll forward complete
17:17:06 Checkpoint started
17:17:06 Checkpoint finished, log reused
17:17:06 Checkpoint started
17:17:06 Checkpoint finished, log reused
17:17:06 Server exiting
De-iMac-232:database hwilliams$ 
~/src/git/vos-7-develop/binsrc/virtuoso/virtuoso-t
De-iMac-232:database hwilliams$ tail -f virtuoso.log
17:17:14 uses parts of OpenSSL, PCRE, Html Tidy
17:17:14 Database version 3126
17:17:14 SQL Optimizer enabled (max 1000 layouts)
17:17:15 Compiler unit is timed at 0.000266 msec
17:17:16 Roll forward started
17:17:16 3 transactions, 185 bytes replayed (100 %)
17:17:16 Roll forward complete
17:17:16 PL LOG: Can't get list of vad packages in 
/Users/hwilliams/vos-7-install/vad/
17:17:16 Checkpoint started
17:17:16 Checkpoint finished, log reused
17:17:18 HTTP/WebDAV server online at 8890
17:17:18 Server online at  (pid 10513)
^C
De-iMac-232:database hwilliams$ ~/Downloads/isql 
Connected to OpenLink Virtuoso
Driver: 07.20.3214 OpenLink Virtuoso ODBC Driver
OpenLink Interactive SQL (Virtuoso), version 0.9849b.
Type HELP; for help and EXIT; to exit.
SQL> sparql select * from <http://hub.abes.fr/journals/wiley2011/20170921> 
where {?s ?p ?o};
s   
  p 
o
LONG VARCHAR
  LONG VARCHAR  
LONG VARCHAR
___

http://hub.abes.fr/wiley/periodical/ejoc/2004/volume_2004/issue_21/101002/ejoc200400407/pintodiana
 c g a  http://www.w3.org/1999/02/22-rdf-syntax-ns#type 
  http://xmlns.com/foaf/0.1/Person

1 Rows. -- 1 msec.
SQL>

De-iMac-232:database hwilliams$ 
~/src/git/vos-7-develop/binsrc/virtuoso/virtuoso-t -?
Virtuoso Open Source Edition (Column Store) (multi threaded)
Version 7.2.5-dev.3217-pthreads as of Oct 31 2017
Compiled for Darwin (x86_64-apple-darwin15.6.0)
Copyright (C) 1998-2017 OpenLink Softwar

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 22 Dec 2017, at 15:56, Thomas Michaux <mich...@abes.fr> wrote:
> 
> Hello,
> 
> we may have found a case where bulk load doesn't report error but invalid 
> data has a side effect on the "backup-dump" process, step to reproduce :
> 
> 1) - in an empty database : use 
> ld_dir('e:/virtuosoBACKUP/test', 
> 'badiritest.nt','http://hub.abes.fr/journals/wiley2011/20170921 
> <http://hub.abes.fr/journals/wiley2011/20170921>');
> 
> with these data in file badiritest.nt
> 
> <http://hub.abes.fr/wiley/periodical/ejoc/2004/volume_2004/issue_21/101002/ejoc200400407/pintodiana\u00A0c\u00A0g\u00A0a>
>  
> <http://hub.abes.fr/wiley/periodical/ejoc/2004/volume_2004/issue_21/101002/ejoc200400407/pintodiana/u00A0c/u00A0g/u00A0a>
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
> <http://xmlns.com/foaf/0.1/Person> <http://xmlns.com/foaf/0.1/Person> .
> rdf_loader_run();
> 
> checkpoint;
> 
> shutdown;
> 
> 2) then you can't success to process the "backup-dump" procedure :
> 
> virtuoso-t +foreground +configfile "c:\Program Files\OpenLink 
> Software\VOS7\virtuoso-opensource\database\virtuoso.ini" +backup-dump 
> 
> even if data is really in store :
> 
> SQL> SPARQL select ?s ?p ?o from 
> <http://hub.abes.fr/journals/wiley2011/20170921> 
> <http://hub.abes.fr/journals/wiley2011/20170921> {?s ?p ?o};
> s 
> p 
> o
> LONG VARCHAR  
> LONG VARCHAR 

Re: [Virtuoso-users] Port 8890

2017-12-05 Thread Hugh Williams
Hi Jason,You can place static HTML pages in  the “vsp” file system directory which the “ServerRoot” in the “HTTP Server” of the  virtuoso.ini config file points to ie[HTTPServer]  ServerPort = 80  ServerRoot = ../vspOr you can create file system or DAV  Virtual DIrectories for hosting web server content as detailed in the docs at:	http://docs.openlinksw.com/virtuoso/webserver/Best RegardsRe: [Virtuoso-users] Port 8890Hugh WilliamsProfessional ServicesOpenLink Software, Inc.  //  http://www.openlinksw.com/Weblog   -- http://www.openlinksw.com/blogs/LinkedIn -- http://www.linkedin.com/company/openlink-software/Twitter  -- http://twitter.com/OpenLinkGoogle+  -- http://plus.google.com/100570109519069333827/Facebook -- http://www.facebook.com/OpenLinkSoftwareUniversal Data Access, Integration, and Management Technology ProvidersOn 5 Dec 2017, at 15:27, Jason Haag <jhaa...@gmail.com> wrote:I turned off Apache2 and it is running now. However, if I want to upload some static pages where do I do this? Via conductor? Or is there www path on the virtuoso server where HTML pages can be delivered. Previously, Apache was handling this.On Tue, Dec 5, 2017 at 8:30 AM, Jason Haag <jhaa...@gmail.com> wrote:Thanks for the tip! Looks like Apache is running and using port 80 after all.tcp6   0  0 :::80   :::*    LISTEN  1122/apache2   On Tue, Dec 5, 2017 at 6:54 AM, Hugh Williams <hwilli...@openlinksw.com> wrote:Hi Jason,As you are starting with sudo that would eliminate the possibility of it being permission issue preventing it from running on port 80 . Have you checked that something is not actually running on port 80 already with a  command like:    netstat -tulpn | grep :80as it would seem to me the port is in use.The URIQA DefaultHost would not be stopping it from starting on port 80 but in theory should be set to localhost:80 or just localhost or the hostname of the external domain you might want to publish Linked Data URI on on as detailed at:    http://docs.openlinksw.com/virtuoso/uriqainifile/Best RegardsHugh WilliamsProfessional ServicesOpenLink Software, Inc.  //  http://www.openlinksw.com/Weblog   -- http://www.openlinksw.com/blogs/LinkedIn -- http://www.linkedin.com/company/openlink-software/Twitter  -- http://twitter.com/OpenLinkGoogle+  -- http://plus.google.com/100570109519069333827/Facebook -- http://www.facebook.com/OpenLinkSoftwareUniversal Data Access, Integration, and Management Technology Providers
--
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] Virtuoso crash “search.c:326 box_serial_length not supported for data type”

2017-10-30 Thread Hugh Williams
Hi Thomas,

This is a known issue on the server side we are working on a fix for already, 
which should be completed and available soon ...

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 30 Oct 2017, at 20:37, Thomas Francart <thomas.franc...@sparna.fr> wrote:
> 
> 
> 
> 2017-10-25 15:26 GMT+02:00 Sergey Malinin <sergmali...@gmail.com 
> <mailto:sergmali...@gmail.com>>:
> On 10/25/2017 05:46 PM, Thomas Francart wrote:
>> Hello
>> 
>> (copy of 
>> https://stackoverflow.com/questions/46912359/virtuoso-crash-search-c326-box-serial-length-not-supported-for-data-type
>>  
>> <https://stackoverflow.com/questions/46912359/virtuoso-crash-search-c326-box-serial-length-not-supported-for-data-type>)
>> 
>> I am connecting to a Virtuoso 7.20.3216 compiled and installed inside a 
>> VirtualBox CentOS 7.3 64bit, using the RDF4J Virtuoso adapter.
>> 
>> I try to load a Turtle file in Virtuoso using this code :
>> 
>> Repository r = new virtuoso.rdf4j.driver.VirtuosoRepository(url, login, 
>> password);
>> RepositoryConnection connection = r.openConnection();
>> 
>> ByteArrayOutputStream baos = new ByteArrayOutputStream();
>> // Turtle data written inside baos
>> 
>> String graphUri = ... ;
>> connection.add(new ByteArrayInputStream(baos.toByteArray()), RDF.NAMESPACE, 
>> RDFFormat.TURTLE, SimpleValueFactory.getInstance().createIRI(graphUri));
>> Virtuoso crashes (stops) with the following logs :
>> 
>> 12:10:01 box_serial_len called with dtp 225
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x8c6d3a]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x8c6d98]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x4fba85]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x629664]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x629997]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x622485]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x65233d]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x6524dd]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x592328]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x59a807]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x59760a]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x5c0e30]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x5ca63b]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x59370c]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x597d13]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x5c0e30]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x5cbeee]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x5d3d36]
>> 12:10:01 
>> /usr/local/virtuoso-opensource/bin/virtuoso-t(sf_sql_execute_w+0x7b) 
>> [0x5d3edb]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x8cb297]
>> 12:10:01 /usr/local/virtuoso-opensource/bin/virtuoso-t() [0x8d1683]
>> 12:10:01 /lib64/libpthread.so.0(+0x7e25) [0x7fe04db7ee25]
>> 12:10:01 /lib64/libc.so.6(clone+0x6d) [0x7fe04d3a634d]
>> 12:10:01 GPF: search.c:326 box_serial_length not supported for data type
>> The same Turtle string, when uploaded to the conductor back-office, works 
>> properly. The file is pretty large so I can't paste it here.
>> 
>> We have narrowed down the problem to a character encoding issue. The turtle 
>> file contains literals with accented characters such as "Disque à gravure 
>> directe"@fr.
>> 
>> We haven't set any character encoding parameters, neither on the Virtuoso 
>> config side, nor in the JDBC connection side. We tried by adding 
>> charset=UTF-8 in the JDBC connection string, with no luck.
>> 
> 
> 
> - The charset=UTF-8 is auto added, if it isn't existed in the URL connection 
> string (in the RDF4J provider)
> - To be sure, that you have UTF8 data in the your stream and better to use
> connection.add(new InputStreamReader(new 
> ByteArrayInputStream(baos.toByteArray()), "UTF8"), RDF.NAMESPACE, 
> RDFFormat.TURTLE, SimpleValueFactory.getInstance().createIRI(graphUri));
> 
> 
&g

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 <metamatter...@gmail.com> 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] virtrdf:label / custom label control

2017-10-04 Thread Hugh Williams
Hi Jason,

I would suggest compiling from source to get the FCT vad for the Virtuoso 
binary you are also compiling, although generally VADs built from other 
archives should work ...

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 4 Oct 2017, at 14:18, Jason Haag <jhaa...@gmail.com> wrote:
> 
> Thanks Hugh. To upgrade fct do I need to include it in the install config 
> path as usual (see below)? Or is there an updated vad I should download and 
> upload it to conductor?
> 
> ./configure --prefix=/usr/local/ --with-readline 
> --program-transform-name="s/isql/isql-v/" --with-layout=Debian --with-debug 
> --enable-rdfmappers-vad --enable-conductor-vad --enable-rdb2rdf-vad 
> --enable-fct-vad --enable-isparql-vad --enable-cartridges-vad  
> --enable-maintainer-mode
> 
> 
> On Tue, Oct 3, 2017 at 6:28 PM, Hugh Williams <hwilli...@openlinksw.com 
> <mailto:hwilli...@openlinksw.com>> wrote:
> Hi Jason,
> 
> I note you are running an older version of Virtuoso and the Faceted browser. 
> The latest version of FCT is 1.13.91 and Virtuoso server 07.20.3217 , thus 
> can you please try upgrading to the latest develop/7 git branch at 
> https://github.com/openlink/virtuoso-opensource 
> <https://github.com/openlink/virtuoso-opensource> 
> 
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software, Inc.  //  http://www.openlinksw.com/ 
> <http://www.openlinksw.com/>
> Weblog   -- http://www.openlinksw.com/blogs/ 
> <http://www.openlinksw.com/blogs/>
> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
> <http://www.linkedin.com/company/openlink-software/>
> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
> Google+  -- http://plus.google.com/100570109519069333827/ 
> <http://plus.google.com/100570109519069333827/>
> Facebook -- http://www.facebook.com/OpenLinkSoftware 
> <http://www.facebook.com/OpenLinkSoftware>
> Universal Data Access, Integration, and Management Technology Providers
> 
> 
> 
>> On 30 Sep 2017, at 17:16, Jason Haag <jhaa...@gmail.com 
>> <mailto:jhaa...@gmail.com>> wrote:
>> 
>> Is there a way to do the opposite of what's in this documentation:
>> 
>> http://vos.openlinksw.com/owiki/wiki/VOS/VirtTipsAndTricksCustomControlLabelsURI
>>  
>> <http://vos.openlinksw.com/owiki/wiki/VOS/VirtTipsAndTricksCustomControlLabelsURI>
>> 
>> Currently, my install of the faceted browser is showing the
>> skos:prefLabel property values for actual anchor text. I like the
>> older version of the FCT browser that showed the IRI for the anchor
>> (linked) text.
>> 
>> It seems the opposite of the article linked above would be to delete
>> the label's subproperty association with the virtrdf:label like this:
>> 
>> SPARQL DELETE
>>   {
>> GRAPH 
>>   {
>> <http://www.w3.org/2004/02/skos/core#prefLabel 
>> <http://www.w3.org/2004/02/skos/core#prefLabel>>
>> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf 
>> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf>>
>> <http://www.openlinksw.com/schemas/virtrdf#label 
>> <http://www.openlinksw.com/schemas/virtrdf#label>> .
>>   }
>>   }
>> ;
>> 
>> However, this SPARQL query didn't seem to work.
>> 
>> Is there a way to reverse this so that IRIs can be displayed as the links?
>> 
>> I'm currently evaluating VOS 07.20.3215 and FCT 1.13.85.
>> 
>> Thanks in advance,
>> 
>> Jason
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org <http://slashdot.org/>! 
>> http://sdm.link/slashdot___ 
>> <http://sdm.link/slashdot___>
>> Virtuoso-users mailing list
>> Virtuoso-users@lists.sourceforge.net 
>> <mailto:Virtuoso-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
>> <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] virtrdf:label / custom label control

2017-10-03 Thread Hugh Williams
Hi Jason,

I note you are running an older version of Virtuoso and the Faceted browser. 
The latest version of FCT is 1.13.91 and Virtuoso server 07.20.3217 , thus can 
you please try upgrading to the latest develop/7 git branch at 
https://github.com/openlink/virtuoso-opensource 
<https://github.com/openlink/virtuoso-opensource> 

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 30 Sep 2017, at 17:16, Jason Haag <jhaa...@gmail.com> wrote:
> 
> Is there a way to do the opposite of what's in this documentation:
> 
> http://vos.openlinksw.com/owiki/wiki/VOS/VirtTipsAndTricksCustomControlLabelsURI
>  
> <http://vos.openlinksw.com/owiki/wiki/VOS/VirtTipsAndTricksCustomControlLabelsURI>
> 
> Currently, my install of the faceted browser is showing the
> skos:prefLabel property values for actual anchor text. I like the
> older version of the FCT browser that showed the IRI for the anchor
> (linked) text.
> 
> It seems the opposite of the article linked above would be to delete
> the label's subproperty association with the virtrdf:label like this:
> 
> SPARQL DELETE
>   {
> GRAPH 
>   {
> <http://www.w3.org/2004/02/skos/core#prefLabel 
> <http://www.w3.org/2004/02/skos/core#prefLabel>>
> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf 
> <http://www.w3.org/2000/01/rdf-schema#subPropertyOf>>
> <http://www.openlinksw.com/schemas/virtrdf#label 
> <http://www.openlinksw.com/schemas/virtrdf#label>> .
>   }
>   }
> ;
> 
> However, this SPARQL query didn't seem to work.
> 
> Is there a way to reverse this so that IRIs can be displayed as the links?
> 
> I'm currently evaluating VOS 07.20.3215 and FCT 1.13.85.
> 
> Thanks in advance,
> 
> Jason
> --
> 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] Install VOS behind a proxy with path.

2017-09-22 Thread Hugh Williams
Hi Fernando,

Have you tried using the mod_proxy_html module as detailed in the last post at:


https://serverfault.com/questions/561892/how-to-handle-relative-urls-correctly-with-a-reverse-proxy

To make a reverse proxy:

1. Install mod_proxy_html 

yum install mod_proxy_html

• Load mod_proxy_html module 

LoadModule proxy_html_module modules/mod_proxy_html.so

• And use following setting

ProxyRequests off  
ProxyPass /folder/  http://test.madeupurl.com  
ProxyHTMLURLMap http://test.madeupurl.com  /folder  

  
ProxyPassReverse /  
ProxyHTMLEnable On  
ProxyHTMLURLMap  /  /folder/  
RequestHeaderunset  Accept-Encoding  
  


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 22 Sep 2017, at 18:09, Fernando Carpani <fernando.carp...@gmail.com> wrote:
> 
> Hello again.
> We can solve the trouble in part using mod_substitute in proxy...
> This may induce some errors if we have expressions more general than needed.
> 
> Now, our problem is ODS. The here we have the same issue: the absolute paths 
> in html and scripts.
> 
> These paths (like in the previous example de /conductor/) migth be change to 
> relative?
> Or, at least, introducing a config variable with our external name to 
> generate the correct URL?
> There are known  issues can be introduced by  these changes?
> 
> Thanks.
> FDO.
> 
> 2017-09-21 16:10 GMT-03:00 Fernando Carpani <fernando.carp...@gmail.com>:
> Hello.
> 
> Yes, we try that.
> 
> I don't understand the difference between this configuration and ours 
> configuration.
> 
> In this configuration, each service has his proxy pass and proxy pass reverse.
> 
> But this might be unnecesary because we use a generic proxy path.
> 
> ProxyPass /mh/virt http://myInternalServer: 
> 
> ProxyPassReverse /mh/virt http://myInternalServer:
> 
> 
> 
> Our problem is that the main page  in the left panel is not adding /mh/virt 
> in any link. You can see that in http://www.fing.edu.uy/mh/virt/
> 
> The link to conductor (or ods) is http://www.fing.edu.uy/conductor (or ods) 
> without path.
> 
> I think that this is because some javascript that take must be generating the 
> links without consider the path in the url.
> 
> 
> In particular, with a grep over the code I find that:
> 
> ./binsrc/vsp/index_left.vsp
> 60-
> 61-  
> 62-  
> 63:  href="/conductor/" target="_top">Conductor UI
> 64-  
> 65-  
> 66-
> 
> If this code goes direct to the installation, always must ignore the path..
> 
> OK... In some way I can rewrite the code possibly with some apache rule...
> 
> Someone has this trouble?
> 
> Thanks.
> FDO.
> 
> 
> 
> 
> 
> 2017-09-21 14:27 GMT-03:00 Hugh Williams <hwilli...@openlinksw.com>:
> Hi Fernando,
> 
> Have you reviewed the following document on Setting up an Apache HTTP server 
> to proxy over a Virtuoso HTTP server ?
> 
> 
> http://vos.openlinksw.com/owiki/wiki/VOS/VirtTipsAndTricksGuideSetApacheVirtuosoPortNumber
> 
> 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 20 Sep 2017, at 13:42, Fernando Carpani <fernando.carp...@gmail.com> 
> > wrote:
> >
> > Hello.
> > Because I had a problem with my suscription to the list, and I don't know 
> > which is the status of my consult, I reformulate IT.
> > I'm trying to install virtuoso using apache as reverse proxy.
> >
> > My configuration in apache looks like:
> > ProxyPass /mh/virt http://myInternalServer:
> >
> > ProxyPassReverse /mh/virt http://myInternalServer:
> >
> > 
> >
> > ProxyHTMLEnable On
> >
> > ProxyHTMLExtended On
> >
> > ProxyHTMLURLMap / /mh/virt/
> >
> > ProxyHTMLURLMap http://myInternalServer:  /mh/virt/
> >
> > 
> >
> > 

Re: [Virtuoso-users] read only db?

2017-09-22 Thread Hugh Williams
 Jörn,

> On 21 Sep 2017, at 21:00, Jörn Hees <joern.h...@dfki.de> wrote:
> 
> 
>> On 21 Sep 2017, at 19:23, Hugh Williams <hwilli...@openlinksw.com> wrote:
>> 
>> read-only in what sense, as if you query the Virtuoso default /sparql 
>> endpoint it is in read only mode, thus if that is all that is exposed it 
>> cannot be modified ?
> 
> No, even stricter... read only down to filesystem level as in "no bit 
> changes" in the virtuoso.db file (and also no meta-data of that file).
> 
> If not possible with the main DB file, is it maybe possible with 
> "secondaries" or anything like that? (to minimize the size of the DB file 
> that is modified on each run)?

[Hugh] This is not possible as there are internal process within Virtuoso 
itself that need write access to the database.

Regards
Hugh

> 
> Best,
> Jörn
> 
> 
> --
> 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] emacs mode

2017-09-19 Thread Hugh Williams
Hi André,

Not that we are aware of. does not know if such exists. However you can run the 
Virtuoso isql command line tool [1] in a shell buffer and interact that way 
possibly ...

[1] http://docs.openlinksw.com/virtuoso/invokingisql/

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 15 Sep 2017, at 21:37, André Luiz Tietböhl Ramos <andreltra...@gmail.com> 
> wrote:
> 
> Hello,
> 
> Would anyone know if there is an emacs mode for interfacing with a virtuoso 
> server?
> 
> TIA,
> -- 
> André Luiz Tietöhl Ramos, Dr.
> --
> 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] Stats on queries

2017-09-09 Thread Hugh Williams
Hi Paquale,

The HTTP logs cannot be directed to STDOUT, and not sure why this would be 
needed for a docker image, as the logs should still be accessible via file 
system from where you should be able to process them ...

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 6 Sep 2017, at 13:06, Pasquale Di Donato <pasquale.didon...@gmail.com> 
> wrote:
> 
> Hi Hugh,
> 
> since I'm running VOS via docker, is there a way to direct the output of the 
> http logs to the STDOUT?
> 
> Best regards,
> Paquale
> 
> On Sun, Sep 3, 2017 at 8:19 PM, Hugh Williams <hwilli...@openlinksw.com 
> <mailto:hwilli...@openlinksw.com>> wrote:
> Hi Pasquate,
> 
> You can enable Virtuoso HTTP logs as detailed at:
> 
>   http://vos.openlinksw.com/owiki/wiki/VOS/VirtTipsAndTricksRecording 
> <http://vos.openlinksw.com/owiki/wiki/VOS/VirtTipsAndTricksRecording>
> 
> and use a tool like Webalizer to generate stats from the log as was done for 
> the DBpedia SPARQL endpoint we host as detailed at:
> 
>   
> https://medium.com/openlink-software-blog/dbpedia-usage-report-a78b3802a1d3 
> <https://medium.com/openlink-software-blog/dbpedia-usage-report-a78b3802a1d3>
> 
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software, Inc.  //  http://www.openlinksw.com/ 
> <http://www.openlinksw.com/>
> Weblog   -- http://www.openlinksw.com/blogs/ 
> <http://www.openlinksw.com/blogs/>
> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
> <http://www.linkedin.com/company/openlink-software/>
> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
> Google+  -- http://plus.google.com/100570109519069333827/ 
> <http://plus.google.com/100570109519069333827/>
> Facebook -- http://www.facebook.com/OpenLinkSoftware 
> <http://www.facebook.com/OpenLinkSoftware>
> Universal Data Access, Integration, and Management Technology Providers
> 
> 
> 
>> On 28 Aug 2017, at 09:47, Pasquale Di Donato <pasquale.didon...@gmail.com 
>> <mailto:pasquale.didon...@gmail.com>> wrote:
>> 
>> Hi all,
>> 
>> is there an easy way to have some stats about the number of queries run 
>> against a sparql endpoint?
>> 
>> Many thanks for any hint
>> 
>> Pasquale
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org <http://slashdot.org/>! 
>> http://sdm.link/slashdot___ 
>> <http://sdm.link/slashdot___>
>> Virtuoso-users mailing list
>> Virtuoso-users@lists.sourceforge.net 
>> <mailto:Virtuoso-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
>> <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
> 
> 
> --
> 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] ST_Intersects with complex shapes

2017-08-23 Thread Hugh Williams
Hi Raul,I note your Virtuoso build is a 07.20.3214 build from early 2016 , whereas the latest builds are 3219, available from:	https://github.com/openlink/virtuoso-opensourcethus I would suggest compiling and building from this latest archive and rerun the query to see if the problem persists ...
Best RegardsHugh WilliamsProfessional ServicesOpenLink Software, Inc.      //              http://www.openlinksw.com/Weblog   -- http://www.openlinksw.com/blogs/LinkedIn -- http://www.linkedin.com/company/openlink-software/Twitter  -- http://twitter.com/OpenLinkGoogle+  -- http://plus.google.com/100570109519069333827/Facebook -- http://www.facebook.com/OpenLinkSoftwareUniversal Data Access, Integration, and Management Technology Providers

On 22 Aug 2017, at 12:12, Raul Palma  wrote:Hi,I found a similar issue in my virtuoso to the one described in this thread: https://www.mail-archive.com/virtuoso-users@lists.sourceforge.net/msg07127.htmlI have a large dataset with complex shapes (only polygons and multipolygons). Virtuoso 42000 Error GEO..: for after check of geo intersects, some shape types (e.g., polygon rings and curves) are not yet supported However, It does not seem to be unsupported shape.I have only Polygon and Mulipolygon in the datasets.  My endpoint is here: https://www.foodie-cloud.org/sparql For instance this query (with a rectangular polygon), returns error: PREFIX geo:  SELECT *FROM WHERE {?geometry geo:asWKT ?x .  FILTER(bif:st_intersects (?x, bif:st_geomFromText("POLYGON((16.292724609375 50.6472835493678,21.434326171875 50.6472835493678,21.434326171875 49.768404561217075,16.292724609375 49.768404561217075,16.292724609375 50.6472835493678))"))) .}limit 10 If I shrink slightly the query polygon from the left side: 16.292724609375 to 16.380615234375, it works.  PREFIX geo:  SELECT *FROM WHERE {?geometry geo:asWKT ?x .  FILTER(bif:st_intersects (?x, bif:st_geomFromText("POLYGON((16.380615234375 50.6472835493678,21.434326171875 50.6472835493678,21.434326171875 49.768404561217075,16.380615234375 49.768404561217075,16.380615234375 50.6472835493678))"))) .}limit 10 If I query the area corresponding to the difference it works as well.  Do you have an idea what is the problem?Thanks in advance,Raul Raul Antonio Palma de Leon, PhDSemantic Technologies CoordinatorNetwork Services DivisionPoznań Supercomputing and Networking Center ul. Jana Pawła II 1061-139 Poznanphone: (+48 61) 858-51-40fax: (+48 61) 852-59-54mobile: +48514620992skype: rapw3k   
--
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] triples not reached by the index?

2017-06-26 Thread Hugh Williams
Hi Beppe,

The steps to recreate this issue via SQLWorkBench and the JDBC driver is what 
would be required if that is deemed to be the source of the problem ...

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 23 Jun 2017, at 08:59, Beppe Mazzola <beppemazz...@gmail.com> wrote:
> 
> Hi Hugh
> 
> At the beginning I did not realize that the problem was caused before, during 
> the first loading of the table. In fact, in my understanding the index of the 
> table was corrupted somehow during the first bulk loading performed by 
> Sqlworkbench/j + Virtuoso JDBC driver. Later the strange effect of "rows 
> invisible to the index" appeared in the table, even if you empty it and load 
> it again with plain INSERT statements.
> 
> I did not investigate further the case, since the feature blocked by the 
> issue had to work asap, so I implemented the bulk load with a plain Java 
> program, using the Virtuoso JDBC driver.
> 
> My sensation was anyway that the problem was JDBC driver side, since 
> Sqlworkbench is "DB agnostic". If it was Sqlrorkbench fault it would have 
> appeared with other DBMS
> 
> I am available if you need more info/scripts to reproduce the problem anyway. 
> Let me know.
> 
> Cheers
> 
> Beppe
> 
> 2017-06-22 23:39 GMT+01:00 Hugh Williams <hwilli...@openlinksw.com 
> <mailto:hwilli...@openlinksw.com>>:
> Hi Beppe,
> 
> I am confused now as the original test case provided for recreating did not 
> use SQLWorkbench or JDBC, so how can the issue then be recreated ?
> 
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software, Inc.  //  http://www.openlinksw.com/ 
> <http://www.openlinksw.com/>
> Weblog   -- http://www.openlinksw.com/blogs/ 
> <http://www.openlinksw.com/blogs/>
> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
> <http://www.linkedin.com/company/openlink-software/>
> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
> Google+  -- http://plus.google.com/100570109519069333827/ 
> <http://plus.google.com/100570109519069333827/>
> Facebook -- http://www.facebook.com/OpenLinkSoftware 
> <http://www.facebook.com/OpenLinkSoftware>
> Universal Data Access, Integration, and Management Technology Providers
> 
> 
> 
>> On 22 May 2017, at 14:52, Beppe Mazzola <beppemazz...@gmail.com 
>> <mailto:beppemazz...@gmail.com>> wrote:
>> 
>> Hi Hughs
>> 
>> It seems the problem is not related to the RDF views tied to the tables, 
>> because it happens even before executing the mapping.
>> The problem arises only when I bulk load data into the tables with the tool 
>> Sqlworkbench/J using the Virtuoso JDBC driver virtjdbc4_2.jar.
>> So there is something in the Sqlworkbench/j or (it seems to me more likely) 
>> in the JDBC driver that causes the issue.
>> 
>> Cheers
>> 
>> Beppe
>> 
>> 
>> 
>> 2017-05-16 10:27 GMT+01:00 Beppe Mazzola <beppemazz...@gmail.com 
>> <mailto:beppemazz...@gmail.com>>:
>> Hi Hugh
>> 
>> I have noticed something strange related to the PK index of the table 
>> provided to you.
>> 
>> After having run all the scripts I executed again by chance the first INSERT 
>> statement and VOS allowed me to do it! And I could see both the rows with 
>> ID=0 in the table...
>> At this point if you delete the rows with ID=0 one of them is deleted, and 
>> the remaining one is visible only with select not using the PK index. This 
>> might have a relation with the original RDF view issue
>> 
>> I have used the Conductor Interactive SQL.
>> 
>> Cheers
>> 
>> Beppe
>> 
>> 
>> 2017-05-16 9:25 GMT+01:00 Beppe Mazzola <beppemazz...@gmail.com 
>> <mailto:beppemazz...@gmail.com>>:
>> Hi Hugh
>> 
>> Here are the steps to reproduce the problem.
>> 
>> 1) Create the table 
>> 
>> CREATE TABLE DB.PEST.ANNEXES 
>> (
>>   ANNEXES_ID NUMERIC NOT NULL 
>> , ANNEXES_NAMES VARCHAR(50) NOT NULL 
>> , ANNEXES_PART VARCHAR(1) 
>> , ANNEXES_SPECIAL CHAR(1) NOT NULL 
>> , CONSTRAINT PK_ANNEXES PRIMARY KEY (ANNEXES_ID )   
>> );
>> 
>> 2) in

Re: [Virtuoso-users] graph group access

2017-06-26 Thread Hugh Williams
Hi Roland,

By sparql interface, I assume you mean the Virtuoso default /sparql endpoint ? 
I tried this myself on my test instance and can query the same data from my 
/sparql endpoint as I can from isql.

What happens if you query via the /sparql-auth  protected default endpoint and 
authenticate as the “dba” user can you then query the graphgroup and get 
results ?

What is the complete sequence of command that have been run against you 
Virtuoso instance to setup the graph group test  ?

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



> On 23 Jun 2017, at 15:01, Roland Cornelissen <metamatter...@gmail.com 
> <mailto:metamatter...@gmail.com>> wrote:
> 
> Hi Hugh,
> 
> Thanks for the reply, as always!
> 
> When I run the query as dba through isg I get results as expected. The query 
> mentioned below was run through the sparql endpoint. So I guess this is an 
> access/rights issue. I expected the graph and the graphgroup to be accessible 
> after opening those up for public access, as in:
> 
>  DB.DBA.RDF_GRAPH_USER_PERMS_SET ('graphgroup', 'nobody', 1);
>  DB.DBA.RDF_GRAPH_USER_PERMS_SET ('graph', 'nobody', 1);
> So, in isql I get results, through the sparql interface none. (?) I don' t 
> understand why.
> Thanks,
> 
> Roland
> 
> 
> On 23-06-17 01:52, Hugh Williams wrote:
>> Hi Roland,
>> 
>> This works for me:
>> 
>> SQL> SPARQL INSERT INTO GRAPH <http://example.org <http://example.org/>> { 
>> <1> <2> <3> };
>> 
>> Done. -- 4 msec.
>> SQL> DB.DBA.RDF_GRAPH_GROUP_CREATE ('graphgroup', 0);
>> 
>> Done. -- 1 msec.
>> SQL> DB.DBA.RDF_GRAPH_GROUP_INS ('graphgroup','http://example.org' 
>> <http://example.org%27/>);
>> 
>> Done. -- 2 msec.
>> SQL> SPARQL SELECT * FROM  where {?s ?p ?o};
>> s
>>  p   
>>   o
>> LONG VARCHAR 
>>  LONG VARCHAR
>>   LONG VARCHAR
>> ___
>> 
>> 1
>>  2   
>>   3
>> 
>> 1 Rows. -- 253 msec.
>> SQL>
>> 
>> Please provide steps to reproduce your issue preferably via isql so all 
>> steps and results can clearly be seen ...
>> 
>> What user are you connecting with, as typically graph groups are used to 
>> control access to specific user or groups of users as in the example at:
>> 
>>  http://vos.openlinksw.com/owiki/wiki/VOS/VirtRDFGraphsSecurity 
>> <http://vos.openlinksw.com/owiki/wiki/VOS/VirtRDFGraphsSecurity>
>> 
>> and permissions need to be accessed to the specific user for accessing the 
>> graph group which is not indicate in your mail to have been done, thus I 
>> assume you are connecting as the default “dba” or sparql user ?
>> 
>> Best Regards
>> Hugh Williams
>> Professional Services
>> OpenLink Software, Inc.  //  http://www.openlinksw.com/ 
>> <http://www.openlinksw.com/>
>> Weblog   -- http://www.openlinksw.com/blogs/ 
>> <http://www.openlinksw.com/blogs/>
>> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
>> <http://www.linkedin.com/company/openlink-software/>
>> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
>> Google+  -- http://plus.google.com/100570109519069333827/ 
>> <http://plus.google.com/100570109519069333827/>
>> Facebook -- http://www.facebook.com/OpenLinkSoftware 
>> <http://www.facebook.com/OpenLinkSoftware>
>> Universal Data Access, Integration, and Management Technology Providers
>&

Re: [Virtuoso-users] graph group access

2017-06-26 Thread Hugh Williams
Hi Roland,

By sparql interface, I assume you mean the Virtuoso default /sparql endpoint ? 
I tried this myself on my test instance and can query the same data from my 
/sparql endpoint as I can from isql.

What happens if you query via the /sparql-auth  protected default endpoint and 
authenticate as the “dba” user can you then query the graphgroup and get 
results ?

What is the complete sequence of command that have been run against you 
Virtuoso instance to setup the graph group test ?

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



> On 23 Jun 2017, at 15:01, Roland Cornelissen <metamatter...@gmail.com 
> <mailto:metamatter...@gmail.com>> wrote:
> 
> Hi Hugh,
> 
> Thanks for the reply, as always!
> 
> When I run the query as dba through isg I get results as expected. The query 
> mentioned below was run through the sparql endpoint. So I guess this is an 
> access/rights issue. I expected the graph and the graphgroup to be accessible 
> after opening those up for public access, as in:
> 
>  DB.DBA.RDF_GRAPH_USER_PERMS_SET ('graphgroup', 'nobody', 1);
>  DB.DBA.RDF_GRAPH_USER_PERMS_SET ('graph', 'nobody', 1);
> So, in isql I get results, through the sparql interface none. (?) I don' t 
> understand why.
> Thanks,
> 
> Roland
> 
> 
> On 23-06-17 01:52, Hugh Williams wrote:
>> Hi Roland,
>> 
>> This works for me:
>> 
>> SQL> SPARQL INSERT INTO GRAPH <http://example.org <http://example.org/>> { 
>> <1> <2> <3> };
>> 
>> Done. -- 4 msec.
>> SQL> DB.DBA.RDF_GRAPH_GROUP_CREATE ('graphgroup', 0);
>> 
>> Done. -- 1 msec.
>> SQL> DB.DBA.RDF_GRAPH_GROUP_INS ('graphgroup','http://example.org' 
>> <http://example.org%27/>);
>> 
>> Done. -- 2 msec.
>> SQL> SPARQL SELECT * FROM  where {?s ?p ?o};
>> s
>>  p   
>>   o
>> LONG VARCHAR 
>>  LONG VARCHAR
>>   LONG VARCHAR
>> ___
>> 
>> 1
>>  2   
>>   3
>> 
>> 1 Rows. -- 253 msec.
>> SQL>
>> 
>> Please provide steps to reproduce your issue preferably via isql so all 
>> steps and results can clearly be seen ...
>> 
>> What user are you connecting with, as typically graph groups are used to 
>> control access to specific user or groups of users as in the example at:
>> 
>>  http://vos.openlinksw.com/owiki/wiki/VOS/VirtRDFGraphsSecurity 
>> <http://vos.openlinksw.com/owiki/wiki/VOS/VirtRDFGraphsSecurity>
>> 
>> and permissions need to be accessed to the specific user for accessing the 
>> graph group which is not indicate in your mail to have been done, thus I 
>> assume you are connecting as the default “dba” or sparql user ?
>> 
>> Best Regards
>> Hugh Williams
>> Professional Services
>> OpenLink Software, Inc.  //  http://www.openlinksw.com/ 
>> <http://www.openlinksw.com/>
>> Weblog   -- http://www.openlinksw.com/blogs/ 
>> <http://www.openlinksw.com/blogs/>
>> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
>> <http://www.linkedin.com/company/openlink-software/>
>> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
>> Google+  -- http://plus.google.com/100570109519069333827/ 
>> <http://plus.google.com/100570109519069333827/>
>> Facebook -- http://www.facebook.com/OpenLinkSoftware 
>> <http://www.facebook.com/OpenLinkSoftware>
>> Universal Data Access, Integration, and Management Technology Providers
>&

Re: [Virtuoso-users] graph group access

2017-06-22 Thread Hugh Williams
Hi Roland,

This works for me:

SQL> SPARQL INSERT INTO GRAPH <http://example.org> { <1> <2> <3> };

Done. -- 4 msec.
SQL> DB.DBA.RDF_GRAPH_GROUP_CREATE ('graphgroup', 0);

Done. -- 1 msec.
SQL> DB.DBA.RDF_GRAPH_GROUP_INS ('graphgroup','http://example.org');

Done. -- 2 msec.
SQL> SPARQL SELECT * FROM  where {?s ?p ?o};
s   
  p 
o
LONG VARCHAR
  LONG VARCHAR  
LONG VARCHAR
___

1   
  2 
3

1 Rows. -- 253 msec.
SQL>

Please provide steps to reproduce your issue preferably via isql so all steps 
and results can clearly be seen ...

What user are you connecting with, as typically graph groups are used to 
control access to specific user or groups of users as in the example at:

http://vos.openlinksw.com/owiki/wiki/VOS/VirtRDFGraphsSecurity

and permissions need to be accessed to the specific user for accessing the 
graph group which is not indicate in your mail to have been done, thus I assume 
you are connecting as the default “dba” or sparql user ?

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 21 Jun 2017, at 16:02, Roland Cornelissen <metamatter...@gmail.com> wrote:
> 
> Hi,
> 
> I created a graph group [1] and added a graph [2]. Now when I query [3] the 
> graph group I get no results. The individual graph however does produce 
> results.
> 
> I am missing something here but I don't understand what it is; What is going 
> wrong here?
> 
> Thanks,
> 
> Roland
> 
> 
> [1] DB.DBA.RDF_GRAPH_GROUP_CREATE ('graphgroup', 0);
> [2] DB.DBA.RDF_GRAPH_GROUP_INS ('graphgroup','graph');
> [3] select distinct ?Concept 
> from 
> where {[] a ?Concept} LIMIT 100
> 
> 
> 
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org <http://slashdot.org/>! 
> http://sdm.link/slashdot___ 
> <http://sdm.link/slashdot___>
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net 
> <mailto:Virtuoso-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
> <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] triples not reached by the index?

2017-06-22 Thread Hugh Williams
Hi Beppe,

I am confused now as the original test case provided for recreating did not use 
SQLWorkbench or JDBC, so how can the issue then be recreated ?

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 22 May 2017, at 14:52, Beppe Mazzola <beppemazz...@gmail.com> wrote:
> 
> Hi Hughs
> 
> It seems the problem is not related to the RDF views tied to the tables, 
> because it happens even before executing the mapping.
> The problem arises only when I bulk load data into the tables with the tool 
> Sqlworkbench/J using the Virtuoso JDBC driver virtjdbc4_2.jar.
> So there is something in the Sqlworkbench/j or (it seems to me more likely) 
> in the JDBC driver that causes the issue.
> 
> Cheers
> 
> Beppe
> 
> 
> 
> 2017-05-16 10:27 GMT+01:00 Beppe Mazzola <beppemazz...@gmail.com 
> <mailto:beppemazz...@gmail.com>>:
> Hi Hugh
> 
> I have noticed something strange related to the PK index of the table 
> provided to you.
> 
> After having run all the scripts I executed again by chance the first INSERT 
> statement and VOS allowed me to do it! And I could see both the rows with 
> ID=0 in the table...
> At this point if you delete the rows with ID=0 one of them is deleted, and 
> the remaining one is visible only with select not using the PK index. This 
> might have a relation with the original RDF view issue
> 
> I have used the Conductor Interactive SQL.
> 
> Cheers
> 
> Beppe
> 
> 
> 2017-05-16 9:25 GMT+01:00 Beppe Mazzola <beppemazz...@gmail.com 
> <mailto:beppemazz...@gmail.com>>:
> Hi Hugh
> 
> Here are the steps to reproduce the problem.
> 
> 1) Create the table 
> 
> CREATE TABLE DB.PEST.ANNEXES 
> (
>   ANNEXES_ID NUMERIC NOT NULL 
> , ANNEXES_NAMES VARCHAR(50) NOT NULL 
> , ANNEXES_PART VARCHAR(1) 
> , ANNEXES_SPECIAL CHAR(1) NOT NULL 
> , CONSTRAINT PK_ANNEXES PRIMARY KEY (ANNEXES_ID )   
> );
> 
> 2) initialize it with the attached script initANNEXES.sql
> 
> 3) create the virtual graph with the attached script ttlpExecTrial.sql
> 
> 4) query the virtual graph 
> select *
> from <http://test/rdfGen1 <http://test/rdfGen1>>
> where {
>  #<http://ec.europa.eu/semantic_webgate/dataset/pesticides/resource/annex-0 
> <http://ec.europa.eu/semantic_webgate/dataset/pesticides/resource/annex-0>> 
> ?p ?o.
>  ?s ?p ?o filter regex(str(?s),'annex-0') .
> }
> 
> I have used Virtuoso Open Source Edition (multi threaded)
> Version 7.2.4.3217-threads as of Apr 25 2016
> Compiled for Win64 (x86_64-generic-win-64)
> 
> Cheers
> 
> Beppe
> 
> 
> 2017-05-14 22:53 GMT+01:00 Hugh Williams <hwilli...@openlinksw.com 
> <mailto:hwilli...@openlinksw.com>>:
> Hi 
> 
> Can you please provide the actual steps to reproduce the issue being 
> encountered as it is not clear from the information provided ?
> 
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software, Inc.  //  http://www.openlinksw.com/ 
> <http://www.openlinksw.com/>
> Weblog   -- http://www.openlinksw.com/blogs/ 
> <http://www.openlinksw.com/blogs/>
> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
> <http://www.linkedin.com/company/openlink-software/>
> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
> Google+  -- http://plus.google.com/100570109519069333827/ 
> <http://plus.google.com/100570109519069333827/>
> Facebook -- http://www.facebook.com/OpenLinkSoftware 
> <http://www.facebook.com/OpenLinkSoftware>
> Universal Data Access, Integration, and Management Technology Providers
> 
> 
> 
>> On 13 May 2017, at 18:01, Beppe Mazzola <beppemazz...@gmail.com 
>> <mailto:beppemazz...@gmail.com>> wrote:
>> 
>> Hi to everybody
>> 
>> I have generated with Virtuoso Open Source a virtual graph with the content 
>> of many RDB tables.obtained with an R2RML mapping.
>> 
>> If I execute the following query I do not get any result.
>> 
>> select * 
>> from<http://example.com/pesticides/resource 
>> <http://example.com/pesticides/resource>>
>> where {
>>  <http://example.com/pesticides/resource/annex-0 
>> <http://example.com/pesticides/resource/annex-0>

Re: [Virtuoso-users] Adding virtuoso to rdf4j failed

2017-06-20 Thread Hugh Williams
Hi Adam,

What is the version of the Virtuoso RDF4J Provider and JDBC driver being used:

java -jar virt_rdf4j.jar
java -jar virt_jdbc4_2.jar

as the components where updated last week and work for Henrik, thus want to 
check you are using these ?

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 14 Jun 2017, at 21:03, Adam Sanchez <a.sanche...@gmail.com> wrote:
> 
> Hi,
> 
> I wanted to add a virtuoso repository with the rdf4j workbench too but
> it did not work.
> 
> I'm running virtuoso 7.2.4 open source on Mac Sierra with rdf4j 2.2.1,
> tomcat 8.0.39 (the same versions that Henrik used) and java version
> 1.8.0_73.
> 
> I also followed the steps described in
> 
> https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSesame2HttpRepository
> 
> Virtuoso is listed as an available repository and after I provided the
> connection details (I accepted all values given by default), I got the
> following message:
> 
> ==
> 
> there are potentially incompatible characters in the repository id
> 
> ==
> 
> 
> 
> and next, I got the next error message
> 
> 
> 
> ==
> 
> HTTP Status 500 - java.lang.NullPointerException
> 
> type Exception report
> 
> message java.lang.NullPointerException
> 
> description The server encountered an internal error that prevented it
> from fulfilling this request.
> 
> exception
> 
> javax.servlet.ServletException: java.lang.NullPointerException
> org.eclipse.rdf4j.workbench.commands.CreateServlet.doPost(CreateServlet.java:68)
> org.eclipse.rdf4j.workbench.base.TransformationServlet.service(TransformationServlet.java:96)
> org.eclipse.rdf4j.workbench.base.AbstractServlet.service(AbstractServlet.java:125)
> org.eclipse.rdf4j.workbench.proxy.ProxyRepositoryServlet.service(ProxyRepositoryServlet.java:109)
> org.eclipse.rdf4j.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:213)
> org.eclipse.rdf4j.workbench.proxy.WorkbenchServlet.handleRequest(WorkbenchServlet.java:141)
> org.eclipse.rdf4j.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:109)
> org.eclipse.rdf4j.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:120)
> org.eclipse.rdf4j.workbench.base.AbstractServlet.service(AbstractServlet.java:125)
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> org.eclipse.rdf4j.workbench.proxy.CacheFilter.doFilter(CacheFilter.java:62)
> org.eclipse.rdf4j.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:53)
> 
> root cause
> 
> java.lang.NullPointerException
> org.eclipse.rdf4j.workbench.commands.CreateServlet.getConfigTemplate(CreateServlet.java:153)
> org.eclipse.rdf4j.workbench.commands.CreateServlet.createRepositoryConfig(CreateServlet.java:120)
> org.eclipse.rdf4j.workbench.commands.CreateServlet.doPost(CreateServlet.java:65)
> org.eclipse.rdf4j.workbench.base.TransformationServlet.service(TransformationServlet.java:96)
> org.eclipse.rdf4j.workbench.base.AbstractServlet.service(AbstractServlet.java:125)
> org.eclipse.rdf4j.workbench.proxy.ProxyRepositoryServlet.service(ProxyRepositoryServlet.java:109)
> org.eclipse.rdf4j.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:213)
> org.eclipse.rdf4j.workbench.proxy.WorkbenchServlet.handleRequest(WorkbenchServlet.java:141)
> org.eclipse.rdf4j.workbench.proxy.WorkbenchServlet.service(WorkbenchServlet.java:109)
> org.eclipse.rdf4j.workbench.proxy.WorkbenchGateway.service(WorkbenchGateway.java:120)
> org.eclipse.rdf4j.workbench.base.AbstractServlet.service(AbstractServlet.java:125)
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> org.eclipse.rdf4j.workbench.proxy.CacheFilter.doFilter(CacheFilter.java:62)
> org.eclipse.rdf4j.workbench.proxy.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:53)
> 
> note The full stack trace of the root cause is available in the Apache
> Tomcat/8.0.39 logs.
> 
> ==
> 
> However, when I used the RDF4J con

Re: [Virtuoso-users] Adding virtuoso to rdf4j failed

2017-06-13 Thread Hugh Williams
Hi Henrik,

That is true, the sources are included as well such that gradle can recompile 
if need be, but a compiled jar is provided also, so this is not necessary 
unless the sources are changed. Anyway the source files have also been updated 
and the zip file replaced ...
 
Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.  //  http://www.openlinksw.com/ 
<http://www.openlinksw.com/>
Weblog   -- http://www.openlinksw.com/blogs/ <http://www.openlinksw.com/blogs/>
LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
<http://www.linkedin.com/company/openlink-software/>
Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
Google+  -- http://plus.google.com/100570109519069333827/ 
<http://plus.google.com/100570109519069333827/>
Facebook -- http://www.facebook.com/OpenLinkSoftware 
<http://www.facebook.com/OpenLinkSoftware>
Universal Data Access, Integration, and Management Technology Providers



> On 13 Jun 2017, at 16:28, Henrik Schmidt <h...@informatik.uni-kiel.de 
> <mailto:h...@informatik.uni-kiel.de>> wrote:
> 
> Hi Hugh
> 
> are you sure  “rdf4j_virtuoso.zip” is not building it ?
> 
> I can delete  virt_rdf4j.jar and when executing
> 
> ./gradlew clean Build -x test
> 
> afterwards I get a new file with the current date stamp. 
> 
> The source is also included in the zip archive.
> 
> So either it is downloading it or building it or its magic :-)
> 
> Thanks for your support
> 
> Henrik
> 
> Hugh Williams schrieb am 13.06.2017 um 17:14:
>> Hi Henrik,
>> 
>> The “rdf4j_virtuoso.zip” does not compile the virt_rdf4j.jar provider which 
>> is included as a prebuilt jar ...
>> 
>> It appears the the Version 2.1.4 [Build 1.2] jar is problematic as when I 
>> used that one I got the error you report. There is a later build:
>> 
>> De-iMac:rdf4j hwilliams$ java -jar ./virt_rdf4j.jar 
>> OpenLink Virtuoso(TM) Provider for RDF4J(TM) Version 2.1.4 [Build 1.3]
>> De-iMac:rdf4j hwilliams$
>> 
>> which is in the git develop/7 branch, and testing with that build I can then 
>> create a New Repo and insert & query data ...
>> 
>> Thus I have updated the “rdf4j_virtuoso.zip” and the virt_rdf4j.jar provider 
>> available for online download and referenced in the documentation, which 
>> should now work whether the jar or zip is downloaded for use ...
>> 
>> Best Regards
>> Hugh Williams
>> Professional Services
>> OpenLink Software, Inc.  //  http://www.openlinksw.com/ 
>> <http://www.openlinksw.com/>
>> Weblog   -- http://www.openlinksw.com/blogs/ 
>> <http://www.openlinksw.com/blogs/>
>> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
>> <http://www.linkedin.com/company/openlink-software/>
>> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
>> Google+  -- http://plus.google.com/100570109519069333827/ 
>> <http://plus.google.com/100570109519069333827/>
>> Facebook -- http://www.facebook.com/OpenLinkSoftware 
>> <http://www.facebook.com/OpenLinkSoftware>
>> Universal Data Access, Integration, and Management Technology Providers
>> 
>> 
>> 
>>> On 13 Jun 2017, at 13:48, Henrik Schmidt <h...@informatik.uni-kiel.de 
>>> <mailto:h...@informatik.uni-kiel.de>> wrote:
>>> 
>>> Hi,
>>> 
>>> I succeeded by replacing the virt_rdf4j.jar Version 2.1.4 [Build 1.2] which 
>>> I downloaded as explained here :
>>> 
>>> https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSesame2HttpRepository
>>>  
>>> <https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSesame2HttpRepository>
>>> 
>>> I instead downloaded and extracted rdf4j_virtuoso.zip as explained here 
>>> 
>>> https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSesame2Provider
>>>  
>>> <https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSesame2Provider>
>>> 
>>> I compiled a new virt_rdf4j.jar after  adding the latest rdf4j 2.2.2 in 
>>> build.gradle
>>> 
>>> Though the result is an older build, reporting Version 2.0.1 [Build 1.1], 
>>> it is now matching and working with rdf4j 2.2.2 for me.
>>> 
>>> Perhaps it is a good idea to update rdf4j_virtuoso.zip with the latest 
>>> build so one can compile a version which is the latest on all ends.
>>> 
>>> Summary : virt_rdf4j.jar must be manually build to match a recent rdf4j.
>>> 
>>> Best,
>&

Re: [Virtuoso-users] Adding virtuoso to rdf4j failed

2017-06-13 Thread Hugh Williams
Hi Henrik,

The “rdf4j_virtuoso.zip” does not compile the virt_rdf4j.jar provider which is 
included as a prebuilt jar ...

It appears the the Version 2.1.4 [Build 1.2] jar is problematic as when I used 
that one I got the error you report. There is a later build:

De-iMac:rdf4j hwilliams$ java -jar ./virt_rdf4j.jar 
OpenLink Virtuoso(TM) Provider for RDF4J(TM) Version 2.1.4 [Build 1.3]
De-iMac:rdf4j hwilliams$

which is in the git develop/7 branch, and testing with that build I can then 
create a New Repo and insert & query data ...

Thus I have updated the “rdf4j_virtuoso.zip” and the virt_rdf4j.jar provider 
available for online download and referenced in the documentation, which should 
now work whether the jar or zip is downloaded for use ...

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 13 Jun 2017, at 13:48, Henrik Schmidt <h...@informatik.uni-kiel.de> wrote:
> 
> Hi,
> 
> I succeeded by replacing the virt_rdf4j.jar Version 2.1.4 [Build 1.2] which I 
> downloaded as explained here :
> 
> https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSesame2HttpRepository
>  
> <https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSesame2HttpRepository>
> 
> I instead downloaded and extracted rdf4j_virtuoso.zip as explained here 
> 
> https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSesame2Provider
>  
> <https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSesame2Provider>
> 
> I compiled a new virt_rdf4j.jar after  adding the latest rdf4j 2.2.2 in 
> build.gradle
> 
> Though the result is an older build, reporting Version 2.0.1 [Build 1.1], it 
> is now matching and working with rdf4j 2.2.2 for me.
> 
> Perhaps it is a good idea to update rdf4j_virtuoso.zip with the latest build 
> so one can compile a version which is the latest on all ends.
> 
> Summary : virt_rdf4j.jar must be manually build to match a recent rdf4j.
> 
> Best,
> 
> Henrik
> 
> Hugh Williams schrieb am 13.06.2017 um 01:10:
>> Hi Henrik,
>> 
>> We had originally tested with rdf4j 2.0.1 which works. I have just updated 
>> my local installation to use the rdf4j 2.2.1 war files and it continues to 
>> work and I can create and query new repositories.
>> 
>> Note I am using Tomcat 9 but would expect it to work with other versions  ...
>> 
>> Best Regards
>> Hugh Williams
>> Professional Services
>> OpenLink Software, Inc.  //  http://www.openlinksw.com/ 
>> <http://www.openlinksw.com/>
>> Weblog   -- http://www.openlinksw.com/blogs/ 
>> <http://www.openlinksw.com/blogs/>
>> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
>> <http://www.linkedin.com/company/openlink-software/>
>> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
>> Google+  -- http://plus.google.com/100570109519069333827/ 
>> <http://plus.google.com/100570109519069333827/>
>> Facebook -- http://www.facebook.com/OpenLinkSoftware 
>> <http://www.facebook.com/OpenLinkSoftware>
>> Universal Data Access, Integration, and Management Technology Providers
>> 
>> 
>> 
>>> On 6 Jun 2017, at 11:16, Henrik Schmidt <h...@informatik.uni-kiel.de 
>>> <mailto:h...@informatik.uni-kiel.de>> wrote:
>>> 
>>> Hi Hugh,
>>> 
>>> I followed the instructions.
>>> 
>>> Copied virt_rdf4j.jar and virtjdbc4_2.jar to the server and workbench 
>>> WEB-INF/lib folders and the two xsl files to the workbench tansitions 
>>> folder.
>>> 
>>> I could select virtuoso in the workbench as a new repository and did enter 
>>> just the name/description/login/password/graph data values and kept the 
>>> rest on default. When I press 'create' the error is happening.
>>> 
>>> I could make it work for virtuoso with the old sesame 4.1.2 
>>> workbench/server and using virt_sesame4.jar with virtjdbc4.jar and the 
>>> matching xsl files.
>>> 
>>> The trace log does not show anything so I guess the problem is before rdf4j 
>>> contacting the virtuoso server.
>>> 
>>> Did you test it successfully ?
>>> 
>>> Best,
>>> 
>>> Henrik
>>> 
>>> Hugh

Re: [Virtuoso-users] Adding virtuoso to rdf4j failed

2017-06-05 Thread Hugh Williams
Hi Henrik,

I presume you are following the instructions at:


https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSesame2HttpRepository
 
<https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSesame2HttpRepository>

When during the addtion of the repo is the error occurring ? I assume Virtuoso 
is at least listed as an available repository and you have provide connection 
details and if so please provide the details of the connection params passed ? 
And it is at the point of added the Virtuoso repo that the error is occurring ?

If the RDF4J HTTP server is attempting to connect to Virtuoso then you can 
enable tracing to the “virtuos.log” file using the trace_on() function as 
detailed at:

http://docs.openlinksw.com/virtuoso/fn_trace_on/ 
<http://docs.openlinksw.com/virtuoso/fn_trace_on/>

Which should provide details of what is occurring in Virtuoso and hence 
possible cause of the problem ...

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 30 May 2017, at 08:34, Henrik Schmidt <h...@informatik.uni-kiel.de> wrote:
> 
> I wanted to add a virtuoso repository with the rdf4j workbench and did the 
> necessary setup according to the wiki. 
> I'm running virtuoso 7.2.4 open source on ubuntu 16.04 LTS with rdf4j 2.2.1 
> and tomcat 8.0.39.
> Setup steps:
> 1. Copy virtjdbc4_2.jar and virt_rdf4j.jar into the rdf4j server and 
> workbench WEB-INF/lib folders.
> 2. Copy create.xsl and create-virtuoso.xsl into the transformations folder of 
> the workbench.
> 
> When I try to add a virtuoso repo with the workbench I get an error (see 
> below).
> I asked the rdf4j community but they replied :
> 
> "It looks like it is having trouble with the Buffer fetch size value. Have 
> you trying bring this up with the Virtuoso community?"
> 
> So 'Im here now asking for help.
> 
> 24-May-2017 09:01:01.287 SCHWERWIEGEND [http-nio-8082-exec-4] 
> org.apache.catalina.core.
> 
> StandardWrapperValve.invoke Servlet.service() for servlet [workbench] in 
> context with path [/rdf4j-workbench] threw exception [org.eclipse.rdf4j.rio.R
> DFParseException: Expected ']', found 'v' [line 23]] with root cause
>  org.eclipse.rdf4j.rio.RDFParseException: Expected ']', found 'v' [line 23]
> at 
> org.eclipse.rdf4j.rio.helpers.RDFParserHelper.reportFatalError(RDFParserHelper.java:403)
> at 
> org.eclipse.rdf4j.rio.helpers.AbstractRDFParser.reportFatalError(AbstractRDFParser.java:677)
> at 
> org.eclipse.rdf4j.rio.turtle.TurtleParser.reportFatalError(TurtleParser.java:1306)
> at 
> org.eclipse.rdf4j.rio.turtle.TurtleParser.verifyCharacterOrFail(TurtleParser.java:1141)
> at 
> org.eclipse.rdf4j.rio.turtle.TurtleParser.parseImplicitBlank(TurtleParser.java:561)
> at 
> org.eclipse.rdf4j.rio.turtle.TurtleParser.parseObject(TurtleParser.java:473)
> at 
> org.eclipse.rdf4j.rio.turtle.TurtleParser.parseObjectList(TurtleParser.java:413)
> at 
> org.eclipse.rdf4j.rio.turtle.TurtleParser.parsePredicateObjectList(TurtleParser.java:408)
> at 
> org.eclipse.rdf4j.rio.turtle.TurtleParser.parseTriples(TurtleParser.java:355)
> at 
> org.eclipse.rdf4j.rio.turtle.TurtleParser.parseStatement(TurtleParser.java:240)
> at 
> org.eclipse.rdf4j.rio.turtle.TurtleParser.parse(TurtleParser.java:202)
> at 
> org.eclipse.rdf4j.workbench.commands.CreateServlet.updateRepositoryConfig(CreateServlet.java:132)
> --
> 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] Conductor behind ssl?

2017-05-04 Thread Hugh Williams
Hi Roland,

What is the URL actually giving the "The requested active content cannot be 
displayed due to execution restriction” error ? I presume https://hostname:4433 
 rather then https://hostname:4433/conductor which I would expect to give a 404 
error as there would be no /conductor  virtual directory for it to map to ?

To get rid of the  "The requested active content cannot be displayed due to 
execution restriction” error on https://hostname:4433 you would need to:

1. From the Conductor UI on the http default (8890) port go to the “Web 
Application Server -> Virtual Domain & Directories” tab and click on the folder 
icon of the HTTPS listener  virtual domain/host you created to view its list of 
virtual directories

2. Edit the “/“ ie root virtual directory which would be reading from 
the “ServerRoot” param setting in the INI file and set the “Default Page” to be 
“index.html” such that it load the index.html in that location. Then set the 
“VSP user” of the same vdir to be “dba”  (rather then “none").

Then the Virtuoso home page should load on the https listener port

To access the Conductor on the HTTPS listener port you would then need to 
duplicate the Virtual Directory [1] entry of the /conductor virtual directory 
for the Default HTTP listener ie 8890 which you can see its setting by editing 
the /conductor vdir for that existing http listener and use the entries to make 
the duplicate required for the HTTPS listener, at which point the conductor can 
then be access by it.

Once you have verified you can access the Conductor via the HTTPS listener, you 
can then delete the /conductor virtual directory on the default HTTP listener 
if you don’t want user to access it via the HTTP listener anymore or even 
create a rewrite rule [2] for it to  redirect it to the HTTPS listener.

[1] http://docs.openlinksw.com/virtuoso/admui.internetdomains/
[2] http://docs.openlinksw.com/virtuoso/urlrewriting/#urlrewriteruleconductor

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 2 May 2017, at 19:43, Roland Cornelissen <metamatter...@gmail.com> wrote:
> 
> Hi 
> How can I provide HTTPS access to Conductor, and remove HTTP access to 
> Conductor?
> 
> I have followed procedure as specified in [1] and configured an HTTPS 
> listener that makes contact on port 4433. But the page displayed says: 
> The requested active content cannot be displayed due to execution restriction
> 
> My questions are : where can I control execution restrictions for Conductor, 
> and how should I do this to have only access through SSL?
> 
> Thanks,
> 
> Roland
> 
> [1] 
> https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtSetupSSLVirtuoso#Generating%20SSL%20Key%20Using%20the%20Conductor%20UI
> 
> 
> --
> 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] faceted browser text search error

2017-04-14 Thread Hugh Williams
Hi Mark,

Did you try a build from the Virtuoso git develop/7 branch 
(https://github.com/openlink/virtuoso-opensource) ie Version 7.2.5-dev.3217 as 
you indicated you would  when you asked this question in March, as this problem 
did not occur when I built from this branch ?

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 31 Mar 2017, at 21:12, Mark Miller <marka...@mail.med.upenn.edu> wrote:
> 
> A while ago, I built Virtuoso open source 07.20.3217 on Ubuntu 16.04.1 LTS.  
> I installed the faceted browser VAD according to 
> https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtFacetBrowserInstallConfig
>  and ran the suggested commands in isql.  As far as I can tell, everything 
> worked fine.
> 
> 
> Recently I have done builds of 7.2.2 and 7.2.4.2, also on Ubuntu 16.04.1 LTS. 
>  I have followed the same instructions for the faceted browser, but I get the 
> error message below.  I tried to find the file and path mentioned in the 
> message on my 07.20.3217 server, but I couldn't seem to find them.
> 
> ---   ---   ---
> 
> 
> Could not process your request because of an unexpected error.
> Diagnostics
> 
> SQLSTATE: 42000
> 
> 
> SQLMSG  : DAV does not contain resource with path equal to 
> "/DAV/VAD/fct/fct_set_text.xsl"
> 
> 
> More info…
> 
> Permalink
> 
> STATE:
> 
> 
> --
> 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] Scheduler interval not respected ?

2017-04-11 Thread Hugh Williams
Hi Thomas,

This is a known issue in the Conductor Scheduler UI which displays the “Last 
time”  column lapsed time in “Next”  column, for which a issue report exists 
for development to fix ...

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 11 Apr 2017, at 10:46, Thomas Michaux <mich...@abes.fr> wrote:
> 
> Hello,
> 
> We need to delay full text indexing, using
> 
> DB.DBA.VT_BATCH_UPDATE ( 'DB.DBA.RDF_OBJ', 'ON', 8640 );
> 
> just after virtuoso startup the scheduler view in conductor mentionned the 
> job will run six days later, which was what we expect (set yesterday)
> 
> but it seems to have a pb in display or not respecting the 6d delay as today 
> the view says "Next" run in 17h !!! not six days :(
> 
> Event Name <javascript:void(0)>   Status <javascript:void(0)> Start 
> <javascript:void(0)>  Last time <javascript:void(0)>  Next 
> <javascript:void(0)>   Interval <javascript:void(0)>
> VT_INC_INDEX_DB_DBA_RDF_OBJ() OK  Yesterday at 17:52  Yesterday at 
> 17:58  17hrs,43min 6d,0hrs,0min
> --
> 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] faceted browser text search error

2017-03-31 Thread Hugh Williams
Hi Mark,

When exactly is the error occurring ?

I built against the latest develop/7 git tree and the FCT browser works for me:


SQL> RDF_OBJ_FT_RULE_ADD (null, null, 'All');

Done. -- 5 msec.
SQL> VT_INC_INDEX_DB_DBA_RDF_OBJ ();

Done. -- 52 msec.
SQL> urilbl_ac_init_db();

Done. -- 22 msec.
SQL> s_rank();

Done. -- 296 msec.
SQL> 

$ ../bin/virtuoso-t -?

Virtuoso Open Source Edition (Column Store) (multi threaded)
Version 7.2.5-dev.3217-pthreads as of Mar 10 2017

Thus would suggest building against that branch to see if the error occurs ...

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 31 Mar 2017, at 21:14, Mark Miller <mamille...@gmail.com> wrote:
> 
> Apologies if this message gets duplicated... I initially sent it from a 
> non-subscribed address.
> 
> A while ago, I built Virtuoso open source 07.20.3217 on Ubuntu 16.04.1 LTS.  
> I installed the faceted browser VAD according to 
> https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtFacetBrowserInstallConfig
>  
> <https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtFacetBrowserInstallConfig>
>  and ran the suggested commands in isql.  As far as I can tell, everything 
> worked fine.
> 
> 
> Recently I have done builds of 7.2.2 and 7.2.4.2, also on Ubuntu 16.04.1 LTS. 
>  I have followed the same instructions for the faceted browser, but I get the 
> error message below.  I tried to find the file and path mentioned in the 
> message on my 07.20.3217 server, but I couldn't seem to find them.
> 
> ---   ---   ---
> 
> 
> Could not process your request because of an unexpected error.
> Diagnostics
> 
> SQLSTATE: 42000
> 
> 
> SQLMSG  : DAV does not contain resource with path equal to 
> "/DAV/VAD/fct/fct_set_text.xsl"
> 
> 
> More info…
> 
> Permalink
> 
> STATE:
> 
> --
> 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] Write load high relative to disk write throughput / intensive JDBC sparql INSERT DATA INTO GRAPH

2017-03-22 Thread Hugh Williams
Hi Thomas,

Looking at your INI file I note in the “[Parameters]” section you have  
"MaxClientConnections = 10” set , which should be set to something like 100 
I would recommend as this param sets the number of ServerThreads available to 
the SQL database for processing requests, which includes SQL connection and 
threads used by the server for internal processes/tasks, which are allocated on 
demand. The "MaxClientConnections = 10” setting in the “[HTTP Server]” 
section can be left as is as this is used for the  HTTP Web Server thread pool 
and are pre-allocated on server startup for use in the thread pool.

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



> On 20 Mar 2017, at 11:02, Thomas Michaux <mich...@abes.fr 
> <mailto:mich...@abes.fr>> wrote:
> 
> ...sorry, sent the INDEX information tab instead of "SPACE" info tab :
> 
> Table Index name  RowsPages   Row pages   Blob pages  Size
> DB.DBA.RDF_OBJDB.DBA.RDF_OBJ  30443064255445  255445  0   
> 1833.25 MB 
> DB.DBA.RDF_IRIDB.DBA.RDF_IRI  59063426206412  206412  0   
> 1247.19 MB 
> DB.DBA.RDF_IRIDB_DBA_RDF_IRI_UNQC_RI_ID   59063426183541  
> 183541  0   1282.95 MB 
> DB.DBA.RDF_OBJ_RO_FLAGS_WORDS DB.DBA.RDF_OBJ_RO_FLAGS_WORDS   8341023 179875  
> 179875  0   1332.22 MB 
> DB.DBA.RDF_OBJRO_VAL  30443064117863  117863  0   773.81 
> MB
> DB.DBA.RO_START   DB.DBA.RO_START 3044306485319   85319   0   
> 475.31 MB
> Le 20/03/2017 à 11:34, Thomas Michaux a écrit :
>> 
>> 
>> Le 19/03/2017 à 16:15, Hugh Williams a écrit :
>>> Hi Thomas,
>> Hi,
>>> Is the loading of the dataset now complete or it is still in progress as 
>>> you opening statement is not clear ?
>>> You should not need 40GB RAM for inserting and hosting 240 million triples, 
>>> which should require less then 10GB depending on how well they can be 
>>> compressed for storage in the database.
>> loading is complete, we finished at 243 188 427  triples  , hosting now 
>> requires 25GB ram, 15Gb disk, details :
>> 
>> void:triples 243188427 ; 
>>  void:classes 13 ; 
>>  void:entities 58523487 ; 
>>  void:distinctSubjects 58523514 ; 
>>  void:properties 32 ; 
>>  void:distinctObjects 73171603 . 
>> 
>> Total pages  1925120
>> Free pages   607377
>> Buffers  272
>> Buffers used 244554
>> Dirty buffers3
>> Wired down buffers   0
>> TableIndex name  Touches Reads   Read %
>> DB.DBA.RDF_QUAD  RDF_QUAD1562356553  36371   0
>> DB.DBA.RDF_QUAD  RDF_QUAD_POGS   609423455   16989   0
>> DB.DBA.RDF_QUAD  RDF_QUAD_SP 378769255   35822   0
>> DB.DBA.RDF_QUAD  RDF_QUAD_GS 340377017   16340
>>> I assume you have set the swappiness as suggested previously ?
>> yes, done, $ sysctl vm.swappiness
>> vm.swappiness = 10
>> 
>>> When you recompiled your Virtuoso was this done from the git stable/7 or 
>>> develop/7 branch , as I latter has a number of memory consumption fixes 
>>> that would not be in stable/7, thus I would suggest building from develop/7.
>> will investigate.
>> 
>> The two main problems we encountered while loading were :
>> 
>> - logs messages indicating "Flushing at 5.7 MB/s while application is making 
>> dirty pages at 1.7 MB/s." which we interpreted as not enough write speed 
>> while receiving lots of JDBC INSERTs (disk issue ? buffer issue ? ...)
>> 
>> - high memory consumption (40GB RAM), virtuoso process never releasing 
>> memory while loading, free RAM always going down...
>> 
>>> Have you provided a copy of your INI file previously,  if not can you 
>>> provide a copy ?
>> see attached (FYI QueryLog= was not active while loading)
>>> Do ensure the following params are set to 1 in order to clean up unused 
>>> threads/resources and reduce memory 

Re: [Virtuoso-users] Write load high relative to disk write throughput / intensive JDBC sparql INSERT DATA INTO GRAPH

2017-03-19 Thread Hugh Williams
Hi Thomas,

Is the loading of the dataset now complete or it is still in progress as you 
opening statement is not clear ?

You should not need 40GB RAM for inserting and hosting 240 million triples, 
which should require less then 10GB depending on how well they can be 
compressed for storage in the database.

I assume you have set the swappiness as suggested previously ?

When you recompiled your Virtuoso was this done from the git stable/7 or 
develop/7 branch , as I latter has a number of memory consumption fixes that 
would not be in stable/7, thus I would suggest building from develop/7.

Have you provided a copy of your INI file previously,  if not can you provide a 
copy ?

Do ensure the following params are set to 1 in order to clean up unused 
threads/resources and reduce memory consumption of the Virtuoso server, which 
can otherwise be construed as memory leaks.:

ThreadCleanupInterval= 1
ResourcesCleanupInterval = 1

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 15 Mar 2017, at 17:08, Thomas Michaux <mich...@abes.fr> wrote:
> 
> Hello,
> 
> FYI, virtuoso still loading but we needed to increase memory ressources, 
> now the process use almost 40GB of ram :
> 
> [devel@tulipe-test2 ~]$ ./memcheck-virtuoso.sh
> 2017-03-15T17:54 VmSize: 41273424kB 5883
> 
> stats for the graph <http://hub.abes.fr/referentiel/ORCID/2016> (forget 
> to mention, it's the only graph in db) :
> 
> 239 451 028 triples
> 
> 
> this:Dataset a void:Dataset ;
> rdfs:seeAlso <http://hub.abes.fr/referentiel/ORCID/2016> ;
> rdfs:label "" ;
> void:sparqlEndpoint <http://idrefplus.v102.abes.fr:8890/sparql> ;
> void:triples 239451028 ;
> void:classes 13 ;
> void:entities 57692917 ;
> void:distinctSubjects 57650847 ;
> void:properties 32 ;
> void:distinctObjects 72219514 .
> 
> this:sameAsLinks a void:Linkset ;
> void:inDataset this:Dataset ;
> void:triples 997389 ;
> void:linkPredicate owl:sameAs .
> 
> 
> Le 14/03/2017 à 10:05, Thomas Michaux a écrit :



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] Running to VOS with one virtuoso.db

2017-03-16 Thread Hugh Williams
Hi Ghislain,

The HTTP ports ( and SQL ports) cannot be the same for the two instances 
running on the same machine, they would have to be unique as I indicated 
previously, As if the ports are the same then the first to start will run and 
the other would fail to state with an “address already in use” type error in 
the Virtuoso file ...

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 13 Mar 2017, at 17:05, Ghislain ATEMEZING <ghislain.atemez...@gmail.com> 
> wrote:
> 
> Hi Hugh,
> [ Just wondering if someone ever test the option you proposed]
> 
> What would be the use case here? Let's suppose I have then 2 dbs starting 
> with the HHTP same ports. 
> Would that mean I can query them once? 
> Please could you provide us with more advantages of this approach?
> 
> TIA
> Best,
> Ghislain
> 
> El jue., 26 ene. 2017 a las 18:37, Hugh Williams (<hwilli...@openlinksw.com 
> <mailto:hwilli...@openlinksw.com>>) escribió:
> Hi Pasquale,
> 
> What is the purpose of running two Virtuoso instances, is this for setup 
> access for SPARQL or SQL storage ?
> 
> The easiest way to start multiple Virtuoso database instances on the same 
> machine is to create two separate databases with a “virtuoso.ini” file on 
> each set to use unique SQL & HTTP ports and then start each in the separate 
> directories with a lock file for each …
> 
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software, Inc.  //  http://www.openlinksw.com/ 
> <http://www.openlinksw.com/>
> Weblog   -- http://www.openlinksw.com/blogs/ 
> <http://www.openlinksw.com/blogs/>
> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
> <http://www.linkedin.com/company/openlink-software/>
> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
> Google+  -- http://plus.google.com/100570109519069333827/ 
> <http://plus.google.com/100570109519069333827/>
> Facebook -- http://www.facebook.com/OpenLinkSoftware 
> <http://www.facebook.com/OpenLinkSoftware>
> Universal Data Access, Integration, and Management Technology Providers
> 
> 
> 
> > On 26 Jan 2017, at 14:28, Pasquale Di Donato <pasquale.didon...@gmail.com 
> > <mailto:pasquale.didon...@gmail.com>> wrote:
> >
> > Hi all
> >
> > I wanted to run 2 Virtuoso Open Source instances on one virtuoso.db, but it 
> > seems not possible since when the first instances is run then a lock file 
> > is created for the DB.
> >
> > Any hint here or is this not possible with the Open Source Edition?
> >
> > Pasquale
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! 
> > http://sdm.link/slashdot___ 
> > <http://sdm.link/slashdot___>
> > Virtuoso-users mailing list
> > Virtuoso-users@lists.sourceforge.net 
> > <mailto:Virtuoso-users@lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
> > <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot 
> <http://sdm.link/slashdot>___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net 
> <mailto:Virtuoso-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
> <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
> -- 
> ---
> "Love all, trust a few, do wrong to none" (W. Shakespeare)
> Web: http://atemezing.org 
> <http://atemezing.org/>--
> 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/lis

Re: [Virtuoso-users] Write load high relative to disk write throughput / intensive JDBC sparql INSERT DATA INTO GRAPH

2017-03-10 Thread Hugh Williams
Hi Thomas,

Is the ORCID dataset the only RDF datasets in the Virtuoso RDF Quad Store 
currently, or are there others ?

What is the size of the ORCID dataset ie triple count ?

I would definitely suggest setting swappiness to 10 to reduce swapping to disk 
which should speed inserts rates.

Looking at you status() command output I see "Clients: 4177045 connects, max 3 
concurrent”  indicating more than 4 million SQL connections have been made to 
Virtuoso since it was started on 9th Mar . What is making that many 
connections, it is this insertion process or are there other clients reading 
from the instance also ? Apart from that the status() output looks fine with 
please of unused Buffers for database working set size to be increased and 
still fit in memory , no deadlock and only one pending transaction which is one 
of your inserts.

You talk about the Oracle JDBC Driver but I still don’t see its relevance as 
ultimately your insertions to Virtuoso must be done one of its client 
interfaces / services ie either the /sparql endpoint or the Virtuoso JDBC 
driver I would presume, thus which is it ?

The "DEFINE sql:log-enable 2” pragma being passed in the SPARQL insert queries 
does set row by row auto-commit and turn off transaction logging, which is the 
fastest transaction mode for write operations, see:

http://docs.openlinksw.com/virtuoso/fn_log_enable/

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 10 Mar 2017, at 10:54, Thomas Michaux <mich...@abes.fr> wrote:
> 
> Hi,
> 
> thanks Hugh, we reached 110 932 303 triples loaded from our ORCID dataset 
> since yesterday, and still loading...
> 
> 
> 
> Virtuoso process use VmSize: 32227664kB 32708 of memory of :
> 
> KiB Mem : 32780296 total,   243972 free, 29985320 used,  2551004 buff/cache
> KiB Swap:  2097148 total,  1734244 free,   362904 used.  2241196 avail Mem
> 
> previous 4h logs :
> 
> ...
> 
> 06:03:28 Checkpoint started
> 06:04:11 Checkpoint finished, new log is 
> /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso20170310055817.trx
> 06:28:41 Checkpoint started
> 06:28:44 Checkpoint finished, new log is 
> /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso20170310062412.trx
> 06:52:58 Checkpoint started
> 06:53:16 Checkpoint finished, new log is 
> /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso20170310064844.trx
> 07:17:14 Checkpoint started
> 07:17:18 Checkpoint finished, new log is 
> /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso20170310071317.trx
> 07:39:58 Write load high relative to disk write throughput.  Flushing at  
>  5.5 MB/s while application is making dirty pages at   1.5 MB/s. Doing a 
> second flushing pass before checkpoint
> 07:41:10 Checkpoint started
> 07:41:17 Checkpoint finished, new log is 
> /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso20170310073719.trx
> 08:04:53 Checkpoint started
> 08:04:56 Checkpoint finished, new log is 
> /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso20170310080117.trx
> 08:27:35 Write load high relative to disk write throughput.  Flushing at  
>  5.7 MB/s while application is making dirty pages at   1.7 MB/s. Doing a 
> second flushing pass before checkpoint
> 08:28:45 Checkpoint started
> 08:29:02 Checkpoint finished, new log is 
> /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso20170310082457.trx
> 08:51:43 Write load high relative to disk write throughput.  Flushing at  
>  5.4 MB/s while application is making dirty pages at   1.7 MB/s. Doing a 
> second flushing pass before checkpoint
> 08:52:57 Checkpoint started
> 08:53:01 Checkpoint finished, new log is 
> /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso20170310084902.trx
> 09:15:40 Write load high relative to disk write throughput.  Flushing at  
>  5.6 MB/s while application is making dirty pages at   1.9 MB/s. Doing a 
> second flushing pass before checkpoint
> 09:16:59 Checkpoint started
> 09:17:13 Checkpoint finished, new log is 
> /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso20170310091301.trx
> 09:39:57 Write load high relative to disk write throughput.  Flushing at  
>  5.4 MB/s while application is making dirty pages at   1.7 MB/s. Doing a 
> second flushing pass before checkpoint
> 09:41:13 Checkpoint started
> 09:41:16 Checkpoint finished, new log is 
> /usr/

Re: [Virtuoso-users] Write load high relative to disk write throughput / intensive JDBC sparql INSERT DATA INTO GRAPH

2017-03-09 Thread Hugh Williams
Hi Thomas,

What is this JDBC Connector from Oracle that is being used for the inserts in 
RDF/XML form ?

What is the ORCID dataset being used as the only one I see is in N-Triple 
format from 2014 at:

https://datahub.io/dataset/orcid_2014_dataset 
<https://datahub.io/dataset/orcid_2014_dataset>

Performing inserts with transaction would consume more memory maintaining the 
transaction than with log_enable(2) which auto commits without transaction 
logging in memory.

The  O_DIRECT param set in your INI file is an old param for which no real 
benefit has been seen on current OS’es and on a Linux system setting swappiness 
as detailed at:


https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtRDFPerformanceTuning#Linux-only%20--%20”swappiness;

Would give better results.

There is also no real need to set ColumnStore = 1 as for as the RDF_QUAD tables 
is column store by default in Virtuoso 7 , so that setting would only have 
effect on default SQL table creation

If you still have problems, can you provide a copy of your virtuoso.log file 
and the output of the “status();” command for review ...

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 Mar 2017, at 17:28, Thomas Michaux <mich...@abes.fr> wrote:
> 
> Hello,
> 
> We are loading ORCID 2016 in a V7 instance (Version 07.20.3217-pthreads for 
> Linux as of Feb 10 2017), we DO NOT want to use the bulk loader, instead we 
> are providing SPARQL inserts of RDF/XML files via JDBC connector from Oracle.
> 
> Virtuoso is hosted on 8 cores, 32Gb platform.
> 
> We successfully inserted 75 633 079 triples until virtuoso.log signals 
> performances problems on "disk write throughput", is there something else to 
> optimize in the virtuoso.ini while we are in this "loading" phase (no SPARQL 
> "read" query from clients at the moment ) ?
> 
> We've already done :
> 
> - full text indexation has been delayed ( DB.DBA.VT_BATCH_UPDATE ( 
> 'DB.DBA.RDF_OBJ', 'ON', 8640 ); ) 
> - MaxCheckpointRemap = 505856 ( it's larger than 25% of total pages)
> - UnremapQuota   = 0
> - DefaultIsolation   = 2
> - O_DIRECT = 1 (we are on XFS filesystem)
> - ColumnStore  = 1 (we started from a new, fresh .db, deleted all 
> previous existing .db, .trx)
> 
> Can we do something at transaction level ? We commit each JDBC insert as 
> short as possible (1 insert-> 1 commit), query is :
> 
> "'sparql DEFINE sql:log-enable 2 INSERT DATA INTO GRAPH '||graphe ||' { '|| 
> var_clob_line|| ' }'"
> 
> I can see that free memory slowly decrease, and finally the server hang.
> 
> Thanks for your help ! (Attached is virtuoso.ini)
> 
> Thomas
> --
> Announcing the Oxford Dictionaries API! The API offers world-renowned
> dictionary content that is easy and intuitive to access. Sign up for an
> account today to start using our lexical data to power your apps and
> projects. Get started today and enter our developer competition.
> http://sdm.link/oxford___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



smime.p7s
Description: S/MIME cryptographic signature
--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Geospatial query

2017-03-09 Thread Hugh Williams
Hi 

You links load blank pages  ... I was expecting you to data and query to enable 
local recreation ...

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 8 Mar 2017, at 09:10, Pasquale Di Donato <pasquale.didon...@gmail.com> 
> wrote:
> 
> Hi Hugh,
> 
> we are publishing administrative units and use case is "Give me the admin 
> unit @POINT". That's clear that @POINT there is only one administrative units 
> of a specific type.
> E.g. with the following query I'm asking the admin unit "Canton" @POINT:
> 
> https://tinyurl.com/z24uapm <https://tinyurl.com/z24uapm>
> 
> Then I get one resource: correct.
> 
> Same query at another point, but returning 2 resources as a consequence of 
> the fact that st_contains uses BBOX: not correct for me
> 
> https://tinyurl.com/hh6o834 <https://tinyurl.com/hh6o834>
> 
> Ciao
> Pasquale
> 
> 
> 
> 
> 
> 
> 
> On Fri, Mar 3, 2017 at 1:23 AM, Hugh Williams <hwilli...@openlinksw.com 
> <mailto:hwilli...@openlinksw.com>> wrote:
> Hi 
> 
> Yes, the st_contains functions does work within a bounded box as detailed at:
> 
>   
> https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtGeoSPARQLEnhancementDocs#Virtuoso
>  Geo Spatial geometry functions 
> <https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtGeoSPARQLEnhancementDocs#Virtuoso%20Geo%20Spatial%20geometry%20functions>
> 
> Why is this a problem for you, do you have a test case to demonstrate ?
> 
> Best Regards
> Hugh Williams
> Professional Services
> OpenLink Software, Inc.  //  http://www.openlinksw.com/ 
> <http://www.openlinksw.com/>
> Weblog   -- http://www.openlinksw.com/blogs/ 
> <http://www.openlinksw.com/blogs/>
> LinkedIn -- http://www.linkedin.com/company/openlink-software/ 
> <http://www.linkedin.com/company/openlink-software/>
> Twitter  -- http://twitter.com/OpenLink <http://twitter.com/OpenLink>
> Google+  -- http://plus.google.com/100570109519069333827/ 
> <http://plus.google.com/100570109519069333827/>
> Facebook -- http://www.facebook.com/OpenLinkSoftware 
> <http://www.facebook.com/OpenLinkSoftware>
> Universal Data Access, Integration, and Management Technology Providers
> 
> 
> 
>> On 27 Feb 2017, at 15:36, Pasquale Di Donato <pasquale.didon...@gmail.com 
>> <mailto:pasquale.didon...@gmail.com>> wrote:
>> 
>> Dear list,
>> 
>> I'm trying to select which spatial object is at a given point with the 
>> function bif:st_contains.
>> The result is more than 1 geometry: this let me assume that bif:st_contains 
>> works with bounding boxed instead of real geometries? 
>> 
>> Cheers
>> Pasquale
>> 
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org <http://slashdot.org/>! 
>> http://sdm.link/slashdot___ 
>> <http://sdm.link/slashdot___>
>> Virtuoso-users mailing list
>> Virtuoso-users@lists.sourceforge.net 
>> <mailto:Virtuoso-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
>> <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
> 
> 



smime.p7s
Description: S/MIME cryptographic signature
--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Unable to delete a graph content / Unable to iterate on graph triples - Same problem?!

2017-03-07 Thread Hugh Williams
Hi Beppe,

If these are RDF Linked Data View “Virtual” Graphs then these are stored in a 
different Quad Map storage location, see:


http://docs.openlinksw.com/virtuoso/rdfviewquadmapatternsvalueandiriclasses/

But you should be able to delete such graphs wit the “drop graph ” 
sparql query as indicated in the “Delete RDF Graphs” section of the following 
white paper on "Mapping Relational Data to RDF with Virtuoso's RDF Views” :


https://virtuoso.openlinksw.com/whitepapers/relational%20rdf%20views%20mapping.html

Or the indicated alternative SQL method of manually deleting Virtual graphs 
(from when drop graph was not supported) can be used ...

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 6 Mar 2017, at 17:40, Beppe Mazzola <beppemazz...@gmail.com> wrote:
> 
> Hi to all
> 
> Recently I have sent two e-mails to this forum about two different problems:
> 
>   • Unable to iterate over a SPARQL query referring to a graph. In a 
> stored procedure the iterations over a SPARQL statement result set are not 
> executed. See https://sourceforge.net/p/virtuoso/mailman/message/35686416/
>   • Unable to delete a graph content  Some graphs are impossible to 
> delete, despite the deletion commands do not issue any error. See 
> https://sourceforge.net/p/virtuoso/mailman/message/35655255/
> 
> Now I have found that they are related. Both happen only with RDF graphs 
> which content is generated with the R2RML mapping feature using the 
> procedures DB.DBA.TTLP() and DB.DBA.R2RML_MAKE_QM_FROM_G() .
> 
> 
> I would like to know if anybody has ever succeeded to delete a graph 
> generated in this way or to iterate over a SPARQL statement referencing to a 
> such a graph inside a stored procedure (the same SPARQL statement run 
> interactively works).
> 
> Who is interested in reproducing the problem below there is what I think 
> should allow it.
> 
> I use Virtuoso Open Source Edition (multi threaded)
> Version 7.2.4.3217-threads as of Apr 25 2016
> Compiled for Win64 (x86_64-generic-win-64)
> 
> 
> Thanks!
> 
> Cheers
> 
> Beppe
> 
> 
> 
> Deletion Problem
> I have executed the basic.sql example given by OpenLink Software about how to 
> use R2RML and I see that the generated RDF graph cannot be deleted. At the 
> bottom of this e-mail there is the session in which I run the example and the 
> graph deletion fails.
> 
> Iteration over a SPARQL query
> After executing the basic.sql example the following commands allow to perform 
> an iteration on the graph.
> 
> 
> create procedure R2RML.TEST.try() returns integer
> { 
>   for (sparql define input:storage ""
> select ?o
> #from <http://localhost:8890/sparql>
> from <http://example.com/>
> where { ?s ?p ?o } LIMIT 5 ) do
> {
>   string_to_file ('trashMe.txt', "o"||'\n', -1);
> };
> };
> R2RML.TEST.try();
> 
> 
> 
> In my installation no iteration is performed with these commands. Changing 
> with a non-generated graph instead (for example the commented out one) the 
> iterations are performed.
> 
> 
> I have reinstalled Virtuoso Open Source for Windows together with the 
> rdb2rdf_dav vad package (from here) before performing the test, in order to 
> have an environment unaffected by previous operations. 
> 
> 
> 
> 
> 
> SQL> load .\basic.sql;
> Done. -- 4 msec.
> Done. -- 16 msec.
> Done. -- 0 msec.
> Done. -- 0 msec.
> Done. -- 0 msec.
> STATEMESSAGE
> VARCHAR  VARCHAR
> ___
> 
> 0IRI class  has been 
> defined (inherited from rdfdf:sql-integer-uri-nullable)
> 0Literal class  has 
> been defined (inherited from rdfdf:sql-integer-literal-nullable)
> 0Quad storage 
> <http://www.openlinksw.com/schemas/virtrdf#DefaultQuadStorage> is flagged as 
> being edited
> 0Quad map <http://temp/product> has been created and added to the 
> <http://www.openlinksw.com/schemas/virtrdf#DefaultQuadStorage>
> 0Quad map  has been created 
> and added to the 
> <http://www.openlinksw.com/schemas/virtrdf#DefaultQuadStorage>
> 0Quad map  has been created 
> and added to the 
> <http://www.openlinksw.com/schemas/virtrdf#DefaultQua

Re: [Virtuoso-users] Geospatial query

2017-03-02 Thread Hugh Williams
Hi 

Yes, the st_contains functions does work within a bounded box as detailed at:


https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtGeoSPARQLEnhancementDocs#Virtuoso
 Geo Spatial geometry functions 
<https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtGeoSPARQLEnhancementDocs#Virtuoso%20Geo%20Spatial%20geometry%20functions>

Why is this a problem for you, do you have a test case to demonstrate ?

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 27 Feb 2017, at 15:36, Pasquale Di Donato <pasquale.didon...@gmail.com> 
> wrote:
> 
> Dear list,
> 
> I'm trying to select which spatial object is at a given point with the 
> function bif:st_contains.
> The result is more than 1 geometry: this let me assume that bif:st_contains 
> works with bounding boxed instead of real geometries? 
> 
> Cheers
> 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


Re: [Virtuoso-users] Unable to setup UTF-8 encoding in the relational DB

2017-02-25 Thread Hugh Williams
Hi Beppe,

That should be all that is required on the server for Unicode / UTF-8 support. 

Do you have a test case for recreating the problem being observed, which should 
show how the data is being inserted and the queried ?

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



> On 22 Feb 2017, at 14:20, Beppe Mazzola <beppemazz...@gmail.com 
> <mailto:beppemazz...@gmail.com>> wrote:
> 
> Hi to all 
> 
> In order to have Virtuoso relational DB able to correctly store the text with 
> the UTF-8 encoding I have performed the following operations.
> 
> all the columns with text declared as NVARCHAR(n)
> in virtuoso.ini file 
> SQL_UTF8_EXECS = 1
> Charset   = UTF-8; this is the default value
> This is not enough, since I see that the non-Latin characters are incorrectly 
> stored in the DB yet.
> 
> Do I miss any further set-up?
> 
> I am using the following Virtuoso Open Source Version
> 
> Virtuoso Open Source Edition (Column Store) (multi threaded)
> Version 7.2.4.2.3217-pthreads as of Feb  3 2017
> Compiled for Linux (x86_64-unknown-linux-gnu)
> 
> 
> Thanks!
> 
> Cheers
> 
> Beppe
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org <http://slashdot.org/>! 
> http://sdm.link/slashdot___ 
> <http://sdm.link/slashdot___>
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net 
> <mailto: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] Conversion to RDF issue.

2017-02-24 Thread Hugh Williams
Hi Imane,

Ah, you are on the open source mailing list also ... which answers my question 
in the other mail thread ... do you have a local Virtuoso instance and if so 
what version ( run “virtuoso-t -?”) ?

Querying the RDF data in the named graph for that generated page directly from 
the Virtuoso RDF Quad Store on our UriBurner service I do not see a problem 
with it:

http://linkeddata.uriburner.com/sparql?default-graph-uri=https%3A%2F%2Fwww.amazon.fr%2FOpen-Data-Now-Investing-Innovation%2Fdp%2F0071829776=select+*+where+%7B%3Fs+%3Fp+%3Fo%7D==text%2Fhtml_redir_for_subjs=121_redir_for_hrefs==3000
 
<http://linkeddata.uriburner.com/sparql?default-graph-uri=https%3A%2F%2Fwww.amazon.fr%2FOpen-Data-Now-Investing-Innovation%2Fdp%2F0071829776=select+*+where+%7B%3Fs+%3Fp+%3Fo%7D==text%2Fhtml_redir_for_subjs=121_redir_for_hrefs==3000>

Thus what is the problem in protégé , which is not a product I am familiar with 
?

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 23 Feb 2017, at 12:47, Imane EL ARABI <imane.el.arab...@gmail.com> wrote:
> 
> Hello! 
> Today I tried to export an rdf file that was created by transforming an html 
> file to rdf using sponger, and what i noticed is that object properties and 
> data properties from the ontology used to do the transformation are 
> considered as annotations! (I uploaded the file in protégé to see it) Has 
> anyone tried converting files to rdf and had this issue? 
> Thank you!
> 
> -- 
> Imane El Arabi
> --
> 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] Scope of log_enable and effect on deletes

2017-02-21 Thread Hugh Williams
Hi Daniel,

What Virtuoso open source or commercial  release and build date or git tree are 
you using / building from ?

I don’t understand how your first query reports 4393 subjects and then in your 
last statement you say there should be 2 million ?

What is the total triple count of the <http://id.nlm.nih.gov/mesh/updates> 
graph ?

Do you have log_enable() set when running the delete query and if so what is it 
set to ?

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 21 Feb 2017, at 19:02, Davis, Daniel (NIH/NLM) [C] <daniel.da...@nih.gov> 
> wrote:
> 
> Thanks, Quentin.
>  
> Then it is not the log setting.  When I try to trouble-shoot in a new 
> connection (isql rather than perl DBI over ODBC), I observe very odd results 
> indeed:
>  
> SQL> sparql select count(*) from <http://id.nlm.nih.gov/mesh/updates> where { 
> ?s a ?o };
> …
> 4393
> SQL> sparql clear graph <http://id.nlm.nih.gov/mesh/updates>;
> …
> SQL> sparql select count(*) from <http://id.nlm.nih.gov/mesh/updates> where { 
> ?s a ?o };
> …
> 4
>  
> If no delete has ever been done, the number of subjects remaining should 
> almost 2 million – 1994719.
>  
>  
> From: Quentin [mailto:quentin@guidinghand.solutions] 
> Sent: Tuesday, February 21, 2017 1:41 PM
> To: virtuoso-users@lists.sourceforge.net
> Subject: Re: [Virtuoso-users] Scope of log_enable and effect on deletes
>  
> From the manual:
> 
> >While log on and off setting alone is reset at the end of the transaction so 
> >that one does not end up with logging disabled by accident, the row-by-row 
> >autocommit mode causes the setting to be permanent inside the calling 
> >connection or web request. That is, for a SQL client the setting stays in 
> >effect until changed or disconnected and for a web request it stays in 
> >effect until the request is completed.
> 
> http://docs.openlinksw.com/virtuoso/fn_log_enable/
> 
>  
> 
> If you want to determine whether the log is still disabled at a point in time 
> then this is one round-about way of doing it:
> 
> >Attempt to disable transaction log that is disabled already result in an 
> >error. If the second parameter is passed and it is not equal to zero then 
> >the error is suppressed (and it's still possible to turn on or off 
> >autocommit).
> 
> Set an exception handler to catch that error and set a flag to indicate that 
> the log was previously disabled.  If there's no error/flag set then proceed 
> to re-enable the log.
> 
>  
> 
> There might be better ways of doing it but that should work.
> 
> -- 
> Regards,
> Quentin Serrurier.
> GuidingHand.Solutions
> On 2017-02-22 02:01, Davis, Daniel (NIH/NLM) [C] wrote:
> 
> I am not sure I understand the scope of the log_enable() procedure.If I 
> call log_enable(2,1); in a stored procedure, I am sure that it will affect 
> the entire connection, but, will it affect other connections as well.   Would 
> it, for instance, persist until reboot and affect other connections?   How 
> can I verify this – is there any command that will output the current 
> transaction isolation level?
>  
> Also, I have an inexplicable situation where my stored procedure loads a 
> dataset in NTriples format into a graph, and then does some processing on 
> that dataset.   It is important for the processing that the graph be empty at 
> the beginning, e.g. before the load.   Try as I might, I seem to end-up in 
> situations where the graph is not-empty, and I believe that this may be some 
> interaction between log_enable() and the delete statement.   I would think 
> naively that log_enable(2,1); would have no effect on the serialization of 
> row-level operations *in the same connection*, but perhaps I misunderstand.
>  
> Dan Davis, Systems/Applications Architect (Contractor),
> Office of Computer and Communications Systems,
> National Library of Medicine, NIH
>  
>  
> --
> 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/vi

Re: [Virtuoso-users] {Disarmed} Re: {Disarmed} Re: SQ156: Internal Optimized compiler error : sqlo table has no index in

2017-02-13 Thread Hugh Williams
Hi Jerven,

In Virtuoso 7+ the  RDF_QUAD table is created with COLUMN (column wise) indexes 
by default, whereas you seem to have been creating additional BITMAP (row wise) 
indexes , which is not recommended ie mixing column and row wise indexes as 
this can result in the unpredictable behaviour you are experiencing, see:


https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtRDFPerformanceTuning#RDF
 Index Scheme 
<https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtRDFPerformanceTuning#RDF%20Index%20Scheme>

Is there a reason why these additional indexes were being tried as the 5 
default (2 full & 3 partial) column wise indexes should suffice for most use 
cases, with only one exception found to date which is detailed in the Index 
Scheme Selection section of the Wiki doc:


https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtRDFPerformanceTuning#Index
 Scheme Selection 
<https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtRDFPerformanceTuning#Index%20Scheme%20Selection>

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



> On 13 Feb 2017, at 08:49, Jerven Tjalling Bolleman <jerven.bolleman@sib.swiss 
> <mailto:jerven.bolleman@sib.swiss>> wrote:
> 
> Hi Hugh,
> 
> I managed to reproduce.
> 
> PREFIX up:<http://purl.uniprot.org/core/ <http://purl.uniprot.org/core/>> ASK 
> {GRAPH {?subject a 
> up:Protein . ?subject up:annotation ?target .}}]
> 
> -> SQ156: Internal Optimized compiler error : sqlo table has no index in 
> sqldf.c:3777. Please report the statement compiled.
> 
> 
> SQL> SET SPARQL_TRANSLATE ON;
> SQL> sparql PREFIX up:<http://purl.uniprot.org/core/ 
> <http://purl.uniprot.org/core/>> ASK {GRAPH 
> <http://sparq.uniprot.org/uniprot <http://sparq.uniprot.org/uniprot>> 
> {?subject a up:Protein . ?subject 
> up:annotation ?target .}};
> SPARQL_TO_SQL_TEXT
> LONG VARCHAR
> ___
> 
> SELECT TOP 1 1 AS __ask_retval
> FROM DB.DBA.RDF_QUAD AS "s_1_2_t0"
>   INNER JOIN DB.DBA.RDF_QUAD AS "s_1_2_t1"
>   ON ( /* two fields belong to same equiv */
> /* retval[ */ "s_1_2_t1"."S" /* subject */ /* ]retval */ = /* 
> retval[ */ "s_1_2_t0"."S" /* subject */ /* ]retval */)
> WHERE /* field equal to URI ref */
>   "s_1_2_t0"."G" = __i2idn ( /* UNAME as sqlval */ __bft ( 
> 'http://sparq.uniprot.org/uniprot' <http://sparq.uniprot.org/uniprot'> , 1))
>   AND  /* field equal to URI ref */
>   "s_1_2_t0"."P" = __i2idn ( /* UNAME as sqlval */ __bft ( 
> 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type' 
> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type'> , 1))
>   AND  /* field equal to URI ref */
>   "s_1_2_t0"."O" = __i2idn ( /* UNAME as sqlval */ __bft ( 
> 'http://purl.uniprot.org/core/Protein' 
> <http://purl.uniprot.org/core/Protein'> , 1))
>   AND  /* field equal to URI ref */
>   "s_1_2_t1"."G" = __i2idn ( /* UNAME as sqlval */ __bft ( 
> 'http://sparq.uniprot.org/uniprot' <http://sparq.uniprot.org/uniprot'> , 1))
>   AND  /* field equal to URI ref */
>   "s_1_2_t1"."P" = __i2idn ( /* UNAME as sqlval */ __bft ( 
> 'http://purl.uniprot.org/core/annotation' 
> <http://purl.uniprot.org/core/annotation'> , 1))
> 
> However, to be honest. This is not a standard setup of the quad table.
> 
> It happens if adding this index
> CREATE BITMAP INDEX RDF_QUAD_P ON DB.DBA.RDF_QUAD (P)
> or
> CREATE DISTINCT NO PRIMARY KEY REF BITMAP INDEX RDF_QUAD_GP ON RDF_QUAD 
> (G, P) PARTITION (P INT (0hex00))
> 
> and then running the query.
> But funnily if you then restart the db, it works again!
> 
> Regards,
> Jerven
> 
> 
> 
> On 2017-02-09 17:28, Hugh Williams wrote:
>> Hi Jerven,
>> 
>> Thanks for the update, glad to hear you found the cause of the problem
>> …
>> 
>> Best Regards
>> Hugh Williams
>> Pro

Re: [Virtuoso-users] {Disarmed} Re: SQ156: Internal Optimized compiler error : sqlo table has no index in

2017-02-09 Thread Hugh Williams
Hi Jerven,

Thanks for the update, glad to hear you found the cause of the problem …

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 Feb 2017, at 13:35, Jerven Tjalling Bolleman <Jerven.Bolleman@sib.swiss> 
> wrote:
> 
> Hi Hugh,
> 
> The source of the error was a truncated database file on my developer desktop 
> due to disk quota and a problem between my office chair and my desk ;)
> 
> Regards,
> Jerven
> 
> On 2017-02-06 20:58, Hugh Williams wrote:
>> Hi Jerven,
>> Does the same error occur when the query is run against the /sparql
>> endpoint or isql  ie not via the JDBC Driver ?
>> Also, are you able to get the  query “profile” or
>> “sparql_to_sql_text” for the query as detailed at:
>> https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTipsAndTricksAanalyzingSPARQLQuery
>> What version of Virtuoso is being used, is it a latest 07.20.3217
>> 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+  -- MAILSCANNER HAS DETECTED DEFINITE FRAUD IN THE WEBSITE AT
>> "PLUS.GOOGLE.COM <http://plus.google.com/>". DO _NOT_ TRUST THIS WEBSITE:
>> http://plus.google.com/100570109519069333827/ 
>> <http://plus.google.com/100570109519069333827/> [2]
>> Facebook -- http://www.facebook.com/OpenLinkSoftware 
>> <http://www.facebook.com/OpenLinkSoftware>
>> Universal Data Access, Integration, and Management Technology
>> Providers
>>> On 6 Feb 2017, at 16:08, Jerven Tjalling Bolleman
>>> <jerven.bolleman@sib.swiss <mailto:jerven.bolleman@sib.swiss>> wrote:
>>> Dear Virtuoso users,
>>> I am getting an new error from virtuoso, during development of a new
>>> feature
>>> SPARQL execute failed:[SELECT (COUNT(?target) AS ?targets) { GRAPH
>>> <http://sparql.uniprot.org/uniprot 
>>> <http://sparql.uniprot.org/uniprot>>{?subject a
>>> <http://purl.uniprot.org/core/MRNA <http://purl.uniprot.org/core/MRNA>> . 
>>> ?target a
>>> <http://biohackathon.org/resource/faldo#ExactPosition 
>>> <http://biohackathon.org/resource/faldo#ExactPosition>> . ?subject
>>> <http://purl.uniprot.org/core/author <http://purl.uniprot.org/core/author>> 
>>> ?target .}}]
>>> Exception:virtuoso.jdbc4.VirtuosoException: SQ156: Internal
>>> Optimized
>>> compiler error : sqlo table has no index in sqldf.c:3777.
>>> Please report the statement compiled.
>>> Regards,
>>> Jerven
>>> --
>>> Jerven Tjalling Bolleman
>>> SIB | Swiss Institute of Bioinformatics
>>> CMU - 1, rue Michel Servet - 1211 Geneva 4
>>> t: +41 22 379 58 85 - f: +41 22 379 58 58
>>> Jerven.Bolleman@sib.swiss <mailto:Jerven.Bolleman@sib.swiss> - 
>>> http://www.sib.swiss <http://www.sib.swiss/>
>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, SlashDot.org <http://slashdot.org/> [1]! 
>>> http://sdm.link/slashdot <http://sdm.link/slashdot>
>>> ___
>>> Virtuoso-users mailing list
>>> Virtuoso-users@lists.sourceforge.net 
>>> <mailto:Virtuoso-users@lists.sourceforge.net>
>>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
>>> <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
>> Links:
>> --
>> [1] http://slashdot.org <http://slashdot.org/>
>> [2] http://plus.google.com/100570109519069333827/ 
>> <http://plus.google.com/100570109519069333827/>
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org <http://slashdot.org/>! 
>> http://sdm.link/slashdot <http://sdm.link/slashdot>
>> ___

Re: [Virtuoso-users] SQ156: Internal Optimized compiler error : sqlo table has no index in

2017-02-06 Thread Hugh Williams
Hi Jerven,

Does the same error occur when the query is run against the /sparql endpoint or 
isql  ie not via the JDBC Driver ?

Also, are you able to get the  query “profile” or “sparql_to_sql_text” for the 
query as detailed at:


https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTipsAndTricksAanalyzingSPARQLQuery
 
<https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTipsAndTricksAanalyzingSPARQLQuery>

What version of Virtuoso is being used, is it a latest 07.20.3217 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 6 Feb 2017, at 16:08, Jerven Tjalling Bolleman <jerven.bolleman@sib.swiss> 
> wrote:
> 
> Dear Virtuoso users,
> 
> I am getting an new error from virtuoso, during development of a new 
> feature
> 
> 
> SPARQL execute failed:[SELECT (COUNT(?target) AS ?targets) { GRAPH 
> <http://sparql.uniprot.org/uniprot>{?subject a 
> <http://purl.uniprot.org/core/MRNA> . ?target a 
> <http://biohackathon.org/resource/faldo#ExactPosition> . ?subject 
> <http://purl.uniprot.org/core/author> ?target .}}]
> 
> Exception:virtuoso.jdbc4.VirtuosoException: SQ156: Internal Optimized 
> compiler error : sqlo table has no index in sqldf.c:3777.
> Please report the statement compiled.
> 
> 
> Regards,
> Jerven
> 
> -- 
> Jerven Tjalling Bolleman
> SIB | Swiss Institute of Bioinformatics
> CMU - 1, rue Michel Servet - 1211 Geneva 4
> t: +41 22 379 58 85 - f: +41 22 379 58 58
> Jerven.Bolleman@sib.swiss - http://www.sib.swiss
> 
> 
> --
> 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] Running to VOS with one virtuoso.db

2017-01-26 Thread Hugh Williams
Hi Pasquale,

What is the purpose of running two Virtuoso instances, is this for setup access 
for SPARQL or SQL storage ?

The easiest way to start multiple Virtuoso database instances on the same 
machine is to create two separate databases with a “virtuoso.ini” file on each 
set to use unique SQL & HTTP ports and then start each in the separate 
directories with a lock file for each …

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 Jan 2017, at 14:28, Pasquale Di Donato <pasquale.didon...@gmail.com> 
> wrote:
> 
> Hi all
> 
> I wanted to run 2 Virtuoso Open Source instances on one virtuoso.db, but it 
> seems not possible since when the first instances is run then a lock file is 
> created for the DB.
> 
> Any hint here or is this not possible with the Open Source Edition?
> 
> 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


Re: [Virtuoso-users] loaded data doesn't bind to graph specified

2017-01-26 Thread Hugh Williams
Hi Roland,

Is this not the same method you have loaded DBpedia NL datasets in the past ? 
In which case what is different with this new dataset load ?

What other graphs are in the Quad Store:

SPARQL SELECT ?g COUNT(*) { GRAPH ?g {?s ?p ?o.} } GROUP BY ?g ORDER BY 
DESC 2;

and can you query and of the other graphs with the name specified in the 
“Default Data Set Name” field (from)

Also, does the following return results when run from the isql command line 
tool:

sparql select * from <http://nl.dbpedia.org>  { ?s foaf:depiction ?pic 
} limit 100;

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 24 Jan 2017, at 17:22, Roland Cornelissen <metamatter...@gmail.com> wrote:
> 
> Hi,
> 
> I have this weird situation where I load a dataset into nl.dbpedia like this:
> 
> ld_dir ('/opt/static/data/nlwiki/20170120/', '*.nt', 'http://nl.dbpedia.org');
> rdf_loader_run();
> 
> Now when I query the data I don't get it any results through the sparql 
> interface when I phrase the query like this
> 
> But when the graph is explicitly specified in the query I get results as 
> expected, like this
> 
> Results are not showing up in the URI resolving interface.
> 
> Whats is going on here? How do I get those triples in the right graph?
> 
> 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] completely forgot dba password

2017-01-20 Thread Hugh Williams
Hi Igor,

I shall send you details privately on how this can be done …

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 20 Jan 2017, at 00:34, Igo R <rod...@gmail.com> wrote:
> 
> Hi,
> 
> Please, could someone advise me on how to reset my dba password (to use with 
> conductor and isql-vt when needed), which I completely forgot/lost?
> 
> I have full access to the (ubuntu) server, but do not want to destroy/rebuild 
> existing Virtuoso databases, pluging, config... I am running 
> virtuoso-opensource-7 (7.2).
> 
> Best regards,
> IR.
> --
> 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] Virtuoso upgrade in Ubuntu

2017-01-14 Thread Hugh Williams
Hi Iker,

I suspect your Virtuoso 6 installation is the default pre-built bundled with 
Ubuntu 14.04, which get installed in specific locations they specify, whereas 
you have compiled Virtuoso 7.2 from source which would install in its own 
default locations which I different to the Virtuoso 6 locations specified by 
Ubuntu. See the following documentation on how to compile using the Ubuntu 
specific locations:


https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VOSUbuntuNotes 
<https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VOSUbuntuNotes>

Note you would probably have to update your Ubuntu installation to the latest 
to get a pre-built bundled Virtuoso 7 installation by them …

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



> On 12 Jan 2017, at 13:59, Iker Esnaola <iker.esna...@tekniker.es 
> <mailto:iker.esna...@tekniker.es>> wrote:
> 
> Hello,
>  
> I am have finally installed the file: virtuoso-opensource-7.2.4.2.tar.gz . 
> <https://sourceforge.net/projects/virtuoso/files/virtuoso/7.2.4.2/>
>   <https://sourceforge.net/projects/virtuoso/files/virtuoso/7.2.4.2/>
> In fact, once I start the server with the following command [virtuoso-t -fd], 
> Virtuoso 7.2.4.2. version runs (I can see that by accessing to the SPARQL 
> endpoint version number).
>  
> However, once I shut down the server and I start it again, it seems like the 
> old Virtuoso server (6.1.3) runs and I have to stop it and run the 7.2.4.2 
> version with the aforementioned command.
>  
> I guess I am missing some step in the tutorial but I am not able to find it.
>  
> Did anyone have the same problem??
>  
>  
>  
> De: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de 
> <mailto:buehm...@informatik.uni-leipzig.de>] 
> Enviado el: jueves, 12 de enero de 2017 10:21
> Para: virtuoso-users@lists.sourceforge.net 
> <mailto:virtuoso-users@lists.sourceforge.net>
> Asunto: Re: [Virtuoso-users] Virtuoso upgrade in Ubuntu
>  
> Yes, download the latest release and install it
> 
> 
> Hi everyone,
>  
> I have a Virtuoso version 06.01.3127 installed on Ubuntu 14.04.05 LTS version 
> (Ubuntu-server).
>  
> I would like to upgrade my Virtuoso to at least version 7.2.4.2+, which 
> includes the GeoSpatial features that I need.
>  
> I have looked the info provided in the following link Virtuoso: Upgrading 
> from Release 6.x to Release 7.x 
> <https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/UpgradingToVOS610#Upgrading%20from%20Release%206.x%20to%20Release%207.x>
>  but I have not been able to follow these steps (once I reach the 3rd step I 
> am not able to continue).
>  
> Shut down your Virtuoso 6.x instance as normal. [done]
> Check the size of the .trx file, typically found alongside the .db and .ini 
> files.
> If zero bytes, proceed to step 3. [done]
>  
> Start a fresh terminal session, and install the newer v7.x binary components, 
> either atop or after removing the older v6.x binary components.
> How do I install the newer binary components?? Do I have to download them 
> from the following link: ( 
> https://sourceforge.net/projects/virtuoso/files/virtuoso/ 
> <https://sourceforge.net/projects/virtuoso/files/virtuoso/> ) ??
>  
> Thanks in advance
>  
> Iker Esnaola Gonzalez
> Informazio-Sistema Adimenduen Unitatea
> Sistemas de Información Inteligentes
> Intelligent Information Systems Unit
> iker.esna...@tekniker.es <mailto:iker.esna...@tekniker.es>
> +34 943 20 67 44  Ext: 9608
> 
> PARKE TEKNOLOGIKOA
> C/ Iñaki Goenaga, 5
> 20600 Eibar, Gipuzkoa (Spain)
> Tel.: +34 943 20 67 44
>  
>  <https://www.youtube.com/user/Teknikertv> 
> <https://twitter.com/ik4_tekniker> 
> <https://www.flickr.com/people/teknikerik4/> 
> <http://es.slideshare.net/teknikerik4> 
> <http://issuu.com/ik4-tekniker>
> 
>  
>  
>  
>  
> 
> 
> 
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel 

Re: [Virtuoso-users] Parallel backup_online invocation

2017-01-09 Thread Hugh Williams
Hi Jerven,

Happy New Year !!!

The online backup is a sequential process and thus runs on a single thread and 
hence core and cannot be run across multiple threads ie in parallel as 
suggested …

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 Jan 2017, at 10:21, Jerven Tjalling Bolleman <jerven.bolleman@sib.swiss> 
> wrote:
> 
> Dear Virtuoso Team,
> 
> First of all happy new year!
> 
> I have a question regarding the backup_online function.
> I am testing this capability for the first time and am noticing that 
> this seems to
> be single CPU limited on our system.
> 
> So I was wondering if I can run multiple backups at the same time or if 
> this is not supported.
> 
> e.g. in bash to run using 4 cpus
> 
> isql ... exec="backup_online ('virt-inc_dump_#', 15000,'backup');" &
> isql ... exec="backup_online ('virt-inc_dump_#', 15000,'backup');" &
> isql ... exec="backup_online ('virt-inc_dump_#', 15000,'backup');" &
> isql ... exec="backup_online ('virt-inc_dump_#', 15000,'backup');" &
> 
> 
> Thank you for your precious time and great product.
> 
> Regards,
> Jerven
> 
> -- 
> Jerven Tjalling Bolleman
> SIB | Swiss Institute of Bioinformatics
> CMU - 1, rue Michel Servet - 1211 Geneva 4
> t: +41 22 379 58 85 - f: +41 22 379 58 58
> Jerven.Bolleman@sib.swiss - http://www.sib.swiss
> 
> 
> --
> 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] Geometries and CRS other than WGS84

2016-12-24 Thread Hugh Williams
Hi Pasquale,

The current  Virtuoso 7.2 only supports WGS84, support for additional CRS will 
be possible in a later release …

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 19 Dec 2016, at 14:45, Pasquale Di Donato <pasquale.didon...@gmail.com> 
> wrote:
> 
> Dear List,
> 
> I'm trying to upload some geometries using a CRS other than WGS84 and I'm 
> getting an error.
> Seems to me that Virtuoso doesn't support CRSs other than WGS84?
> 
> Thanks for any hint.
> 
> 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
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Memory allocation

2016-12-10 Thread Hugh Williams
Hi Roland,

I assume you are referring to the setting of the “NumberOfBuffers” INI file 
param, which it is recommended be set to 2/3 to 3/5 of available memory as 
detailed in the Virtuoso performance tuning guide at:


https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtRDFPerformanceTuning

which is the maximum memory Virtuoso would allocate for hosting the database 
working set in memory, before it starts swapping to and from disk, which would 
significantly degrade performance.  

Virtuoso would need to allocate additional memory for query execution dependant 
on the type of query being executed ie to compile, execute result set, which is 
why the recommendation is to allocate 2/3 to 3/5 of available memory such that 
memory is available for servicing requests.

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 Dec 2016, at 21:47, Roland Cornelissen <metamatter...@gmail.com> wrote:
> 
> Hi,
> 
> I like to check if I understood this fact right: When a server has a
> certain amount of memory, let's say 64GB, then the optimal memory
> allocation for VOS is half of all memory, f.e. 32GB .
> 
> If true, then why is this? Does VOS need the additional memory above
> 32GB in certain cases?
> 
> Thanks!
> 
> Rioland
> 
> 
> 
> 
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today.http://sdm.link/xeonphi
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



smime.p7s
Description: S/MIME cryptographic signature
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Space allocation for master database

2016-11-26 Thread Hugh Williams
Hi Pasquale,

Note sure what you are seeking the Master database space allocation is the size 
of the virtuoso.db file on disk ie 138MB and it will grow dynamically as 
required, thus provided you have more free disk space on the file system as the 
database grows you should be fine.

More important is the Memory allocation to Virtuoso for hosting the database 
working set with the “NumberOfBuffers” INI file param, see the RDF Performance 
tuning guide at:


https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtRDFPerformanceTuning

and monitor the allocated and used buffers with the “status()” command run from 
isql

20 buffers, 183153 used

which is the key to performance ie being able to host the database working in 
memory, rather than having to read from disk which kills performance …

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 25 Nov 2016, at 08:20, Pasquale Di Donato <pasquale.didon...@gmail.com> 
> wrote:
> 
> Dear all,
> 
> I have a Virtuoso instance with some 80.000 triples.
> Now under System Admin --> Dashboard --> Space Allocation I have:
> 
> Master Database   138.00 MB, 44.61 MB free
> 
> also almost full. How can I allocate more resources to the DB?
> 
> Many thanks for any hint
> 
> Pasquale
> --
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



smime.p7s
Description: S/MIME cryptographic signature
--
___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Transaction in Virtuoso over HTTP

2016-11-26 Thread Hugh Williams
Hi Nauman,

Why are you asking this question again, having already asked this on stack 
overflow and  the git issue tracker, were the response was:

This is an issue of Transaction Semantics Fidelity i.e., how much control do 
you have over transactions. By default, all SPARUL statements a committed 
following execution, or rolled back. A Virtuoso SPARQL Endpoint provides basic 
auto commit transaction functionality.

You need a semantically rich transaction layer (as per what you referenced) 
when you want more specific conditional behavior provided by isolation levels, 
transaction blocks, and rollbacks or commits. Which as indicated in your email 
to support is available via one of the SQL Data Access interfaces ie 
ODBC/JDBC/ADO.Net/Jena/Sesame etc to get transaction support at the database 
engine level as indicated by Ted on stack overflow …

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 17 Nov 2016, at 08:03, Nauman Ramzan <nauman.emalla...@gmail.com> wrote:
> 
> Hi
> I am trying to use transaction in Virtuoso <https://virtuoso.openlinksw.com/> 
> over HTTP SPARQL/WEB service endpoint. In This Link 
> <https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTipsAndTricksLoadDataInTransactionMode>
>  they are using isql tool not SPARQL query and endpoint.
> 
> Is there any way to perform transaction operations over HTTP?
> 
> --
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



smime.p7s
Description: S/MIME cryptographic signature
--
___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] geometry data type in virtuoso

2016-11-08 Thread Hugh Williams
Hi Peter,

What is the Virtuoso version your are using ( run “virtuoso-t -?”) ?

Against the latest 07.20.3217 build the following point geometry loads 
successfully with the ttlp function:

SQL> ttlp ('@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> @prefix 
virtrdf: <http://www.openlinksw.com/schemas/virtrdf#>  geo:geometry 
"point(1.2 22.4"^^virtrdf:Geometry .', 'xxx', 'graph');

Done. -- 10 msec.
SQL> sparql select * from  where {?s ?p ?o};
s   
  p 
o
LONG VARCHAR
  LONG VARCHAR  
LONG VARCHAR
___

http://xxx/point
  http://www.w3.org/2003/01/geo/wgs84_pos#geometry  
POINT(1.200476837 22.3961853)

1 Rows. -- 2 msec.
SQL> 

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 Nov 2016, at 02:34, Peter F. Patel-Schneider <pfpschnei...@gmail.com> 
> wrote:
> 
> Hi:
> 
> I'm trying to get virtuoso to work with geometry data types.
> 
> I noticed that the version of virtuoso that I am using requires that the data
> type names be in ALL CAPS (e.g., POINT).   Has this been fixed in the current
> version of virtuoso?
> 
> peter
> 
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



smime.p7s
Description: S/MIME cryptographic signature
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] Adding a public SPARQL endpoint

2016-11-08 Thread Hugh Williams
Hi Arun,

Where are you accessing the docket AMI from via HTTP , I assume a machine 
remote to it ?

In which case the “vhost” value should be the actual hostname or cname of the 
docker you want the /sparql endpoint to be accessible on, as “localhost” is not 
accessible from a remote machine for which localhost would be itself.


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 8 Nov 2016, at 21:47, Arun Balagopalan <arun...@gmail.com> wrote:
> 
> Hi Christos,
> 
> Thanks for the answer. I was trying to do what you suggested initially, but 
> could not figure out how to set the HTTP host to  {Default Web Site}. Since I 
> was getting to the index page with localhost, I thought the necessary 
> listeners were added. 
> 
> When I click export for the SPARQL endpoints, this is what I get. Not sure if 
> that's useful, but you see *ini* for the default endpoint, which could 
> indicate values coming from virtuoso.ini or some default set.
> 
> For Default endpoint
> DB.DBA.VHOST_REMOVE (
>lhost=>'*ini*',
>vhost=>'*ini*',
>lpath=>'/sparql'
> );
> 
> DB.DBA.VHOST_DEFINE (
>lhost=>'*ini*',
>vhost=>'*ini*',
>lpath=>'/sparql',
>ppath=>'/!sparql/',
>is_dav=>1,
>is_brws=>0,
>vsp_user=>'dba',
>ses_vars=>0,
>opts=>vector ('noinherit', 1),
>is_default_host=>0
> );
> New endpoint
> 
> DB.DBA.VHOST_REMOVE (
>lhost=>':80',
>vhost=>'localhost',
>lpath=>'/sparql'
> );
> 
> DB.DBA.VHOST_DEFINE (
>lhost=>':80',
>vhost=>'localhost',
>lpath=>'/sparql',
>ppath=>'/!sparql/',
>is_dav=>1,
>is_brws=>0,
>def_page=>'',
>vsp_user=>'dba',
>ses_vars=>0,
>opts=>vector ('browse_sheet', '', 'noinherit', 'yes'),
>is_default_host=>0
> );
> 
> Cheers,
> Arun
> 
> On Tue, Nov 8, 2016 at 1:57 AM, Christos Skodras 
> <christos.skod...@europeana.eu <mailto:christos.skod...@europeana.eu>> wrote:
> Hello Arun,
> 
>  
> 
> I think your problem is that only localhost listens on port 80. Can you 
> configure your http-host with the {Default Web Site} instead of localhost?
> 
>  
> 
> Christos Skodras
> Senior System Developer
>  
> T: +31 (0)70 314 0680 <tel:%2B31%20%280%2970%20314%200680>
> M: 
> E: christos.skod...@europeana.eu <mailto:christos.skod...@europeana.eu>
> Skype:
>  
> Be part of Europe's online cultural movement - join the Europeana Network 
> Association: http://bit.ly/NetworkAssociation 
> <http://bit.ly/NetworkAssociation>
>  #AllezCulture!
> Disclaimer: This email and any files transmitted with it are confidential and 
> intended solely for the use of the individual or entity to whom they are 
> addressed. If you have received this email in error please notify the system 
> manager. If you are not the named addressee you should not disseminate, 
> distribute or copy this email. Please notify the sender immediately by email 
> if you have received this email by mistake and delete this email from your 
> system.
> From: Arun Balagopalan <arun...@gmail.com <mailto:arun...@gmail.com>>
> Date: Tuesday, 8 November 2016 at 10:32
> To: "virtuoso-users@lists.sourceforge.net 
> <mailto:virtuoso-users@lists.sourceforge.net>" 
> <virtuoso-users@lists.sourceforge.net 
> <mailto:virtuoso-users@lists.sourceforge.net>>
> Subject: [Virtuoso-users] Adding a public SPARQL endpoint
> 
>  
> 
> Hi all,
> 
>  
> 
> I am trying to add a public, protected sparql endpoint to my Virtuoso server. 
> In my case, Virtuoso is running in a Docker container on an ec2 machine. The 
> end goal is to have a SPARQL server listening on port 80 on the ec2 host (by 
> binding to port 80 in docker). 
> 
>  
> 
> As per the solution here 
> <http://stackoverflow.com/questions/5605285/defining-endpoints-in-virtuoso?answertab=active#tab-top>
>  and similar references in the wiki, I added a new sparql endpoint with port 
> 80 and localhost (since it is running inside docker). I am able to get to a 
> default page using the ec2 machine's public ip address [1]

Re: [Virtuoso-users] increase group_concat size

2016-11-07 Thread Hugh Williams
Hi Roland,

Unfortunately that limit can't be change  as it's at the very base levels of 
the runtime, development indicate.

What is the use case you have that requires such a large GROUP_CONCAT size ?

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 7 Nov 2016, at 22:57, Roland Cornelissen <metamatter...@gmail.com> wrote:
> 
> Him
> 
> Is it possible to (temporarily) increase the maximum GROUP_CONCAT size? 
> Someting like this: 
> SET SESSION group_concat_max_len = 100;
> I run into this error when using GROUP_CONCAT:
> 
> *** Error 22023: [Virtuoso Driver][Virtuoso Server]SR578: The expected result 
> length of string concatenation is too large (1059 bytes)
> in lines 120-125 of Top-Level:
> I would like to temporarily increase the maximum value; how can this be done?
> 
> Thanks,
> Roland
> 
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. 
> http://sdm.link/xeonphi___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



smime.p7s
Description: S/MIME cryptographic signature
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] [VOS7] Text Search

2016-11-07 Thread Hugh Williams
Hi 

What happens if you just remove the resource type triple pattern ? As rdf:type 
is very expensive due to its nature, as in RDF_QUAD table you are going to have 
many members (or participants) in the rdf:type relation that have to be 
evaluated whenever its used in a query, hence the overhead. Or rather than 
rdf:type which hits instantiation of all class instances, a query can simply 
negate this cost by focusing on a distinct selection of attributes in the query 
dataset which is then evaluated for solution production.

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 7 Nov 2016, at 06:30, 손태모 <ths...@li-st.com> wrote:
> 
> Dear all,
> 
> i have some difficulty with text search in virtuoso using bif:contains 
> property.
> 
> 
> if i specified graph name or resource type, the text search query runs 
> extremely slow ~~
> 
> but it runs very fast if i remove graph CLAUSE and resource type triple 
> pattern ,
> 
> 
> the two queries are shown bellow.
> 
>  -- extremely slow query
> 
> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
> PREFIX bif: 
> SELECT *
> FROM <http://lod.knps.or.kr/knps>
> WHERE {  ?s rdfs:label ?label .  ?label bif:contains "'덕유산'" .
> ?s rdf:type <http://lod.knps.or.kr/schema/class/NationalPark> .}
> LIMIT 5
> OFFSET 0
> 
> 
> 
> -- extremely fast query
> 
> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
> PREFIX bif: 
> SELECT *
> WHERE {  ?s rdfs:label ?label .  ?label bif:contains "'지리산'" .}
> 
> 
> i suppose that if i specified the graph name and type of resource using 
> "rdf:type" , the query must run much faster than non-specified query in 
> common sense, am i right? but the query above shows just inverse result 
> about this issue.
> 
> My question is :
> 
> 1. what is the reason cause the problem above?
> 2. if i want to run text search using type and graph specified query,  
> then how can i make it ?
> 
> 
> thanks .
> 
> 
> Best Regards
> 
> 
> 
> 
> -- 
> 
> Sohn, Taemo
> LiST Co., Ltd.
> 9th Floor, Yangyong bldg.,
> 3, Beodeunaru-ro 19-gil, Yeongdeungpo-gu, Seoul, Korea
> 
> Tel +82 2 2632 5133
> Fax +82 2 2632 5134
> Mobile +82 10 2647 0108
> 
> 
> 
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



smime.p7s
Description: S/MIME cryptographic signature
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] How to deal with partially executed SPARQL updates?

2016-10-29 Thread Hugh Williams
Hi Jindřich,

To my knowledge the Virtuoso Anytime query feature was only ever implemented 
for  SPARQL select queries and not SPARQL updates, as indicated at:

http://docs.openlinksw.com/virtuoso/anytimequeries/ 
<http://docs.openlinksw.com/virtuoso/anytimequeries/>

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 29 Oct 2016, at 16:21, Jindřich Mynarz <mynarzjindr...@gmail.com> wrote:
> 
> Hi,
> 
> how do you deal with partial SPARQL updates? I'm currently simply retrying if 
> Virtuoso returns the HTTP header X-SQL-State with the value S1TAT (as 
> documented in https://www.openlinksw.com/weblog/oerling/?id=1494 
> <https://www.openlinksw.com/weblog/oerling/?id=1494>). However, it seems that 
> the absence of this header in SPARQL update responses does not indicate that 
> the update was executed completely. Is it correct to assume that this header 
> works only for queries but not for updates?
> 
> Best,
> 
> Jindřich
> 
> -- 
> Jindřich Mynarz
> http://mynarz.net/#jindrich 
> <http://mynarz.net/#jindrich>--
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive. 
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



smime.p7s
Description: S/MIME cryptographic signature
--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Re: [Virtuoso-users] [UTF-8 Encoding] Problems with utf-8 encoding while doing full text search in sparql query

2016-10-24 Thread Hugh Williams
Hi Taemo,

Does this error occur when the query is run against the /sparql endpoint 
directly ?

Note also the following documentation on wide char support in the Free-Text 
index when handling accented characters:


http://docs.openlinksw.com/virtuoso/virtuosotipsandtrickscontrolunicode3/

Note of if this will help with you oriental char sets though, but you can try 
setting the:

[I18N]
XAnyNormalization=3

in the INI file as it is not set current and thus defaulting to 0 …

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 24 Oct 2016, at 07:41, 손태모 <ths...@li-st.com> wrote:
> 
> Dear all , 
> I just made a sparql query which functions like text search, 
> the query i made is shown bellow , 
> ===
> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
> PREFIX bif:  
> SELECT ?s ?p ?o ?label 
> WHERE {?s ?p ?o . ?s rdf:type 
> <http://swat.cse.lehigh.edu/onto/univ-bench.owl#UndergraduateStudent> . ?o 
> bif:contains '"박근혜"' . ?s rdfs:label ?label .} 
> ORDER BY ?s 
> LIMIT 5 
> OFFSET 0
> 
> 
> but when i tried to run this query utilizing virt-jena java programming ,  i 
> got this kind of error message from virtuoso server opensource edition . 
> 
> org.apache.jena.shared.JenaException: Can not create 
> ResultSet.:virtuoso.jdbc4.VirtuosoException: XM028: Free-text expression, 
> line 1: phrase consists of noise words exclusively
> in the following expression:
> [ __enc "UTF-8" ] "???"
> at 
> virtuoso.jena.driver.VirtuosoQueryExecution.execSelect(VirtuosoQueryExecution.java:103)
> at 
> kr.or.knps.lod.app.access.dao.VirtuosoDAO.textSearch(VirtuosoDAO.java:197)
> at 
> kr.or.knps.lod.app.access.service.virtuoso.VirtuosoService.textSearch(VirtuosoService.java:63)
> at 
> kr.or.knps.lod.app.controller.DataController.doTextSearch(DataController.java:601)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at 
> org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
> at 
> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)
> at 
> org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414)
> at 
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
> at 
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
> at 
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
> at 
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at 
> egovframework.rte.ptl.mvc.filter.HTMLTagFilter.doFilter(HTMLTagFilter.java:52)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at 
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
> at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio

Re: [Virtuoso-users] How to get full running SPARQL queries; status() trunc them

2016-10-13 Thread Hugh Williams
Hi Fred,

You can enable Virtuoso query logging as detailed at:

http://docs.openlinksw.com/virtuoso/ptune/

in the "Query Logging” section where many metrics on queries,  profile, 
compilation, execution time etc information can be veiwed and analysed ...

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 14 Oct 2016, at 01:10, Frederick Giasson <f...@fgiasson.com> wrote:
> 
> Hi,
> 
> I am wondering if there is a way to get the full running SPARQL queries 
> because status() is truncating them and I can't see what is the query 
> that is currently running in most of the cases.
> 
> Thanks,
> 
> 
> Fred
> 
> 
> 
> --
> 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] Problem with advanced queries

2016-10-12 Thread Hugh Williams
Hi Tracy,

If you are having the problem with a Virtuoso commercial release then best  log 
and online support case with us at:

http://support.openlinksw.com/support/online-support.vsp 
<http://support.openlinksw.com/support/online-support.vsp> 

detailing the issue and what version (virtuoso-iodbc-t -?) is being used etc. 
The open source version (virtuoso-t -?) would also be useful to see for 
comparison ...

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 12 Oct 2016, at 17:24, Safran, Tracy (NIH/NCI) [C] <safr...@mail.nih.gov> 
> wrote:
> 
> More information:  If I query the open-source version of Virtuoso, loaded 
> with the same set of graphs, it returns results.  I suspect there is 
> something in the configuration or security of the commercial that is not 
> letting this return.  I am not really sure where to look to debug this.
>  
> Tracy M. Safran
> Programmer Analyst - EVS support
> Frederick National Laboratory for Cancer Research
> Leidos Biomedical Research, Inc.
> Ph: 240-276-5172
> tracy.saf...@fnlcr.nih.gov <mailto:tracy.saf...@fnlcr.nih.gov>
>  
>  
> From: "Safran , Tracy (NIH/NCI) [C]" <safr...@mail.nih.gov 
> <mailto:safr...@mail.nih.gov>>
> Date: Tuesday, October 11, 2016 at 8:59 PM
> To: Kingsley Idehen <kide...@openlinksw.com <mailto:kide...@openlinksw.com>>, 
> "virtuoso-users@lists.sourceforge.net 
> <mailto:virtuoso-users@lists.sourceforge.net>" 
> <virtuoso-users@lists.sourceforge.net 
> <mailto:virtuoso-users@lists.sourceforge.net>>
> Subject: Re: [Virtuoso-users] Problem with advanced queries
>  
> I am not getting any error, just an empty class list. (: [] ) 
> The same dataset is loaded into Stardog, for the sake of comparison, and the 
> exact same query returns results.
>  
>  
> Tracy M. Safran
> Programmer Analyst - EVS support
> Frederick National Laboratory for Cancer Research
> Leidos Biomedical Research, Inc.
> Ph: 240-276-5172
> tracy.saf...@fnlcr.nih.gov <mailto:tracy.saf...@fnlcr.nih.gov>
>  
>  
> From: Kingsley Idehen <kide...@openlinksw.com <mailto:kide...@openlinksw.com>>
> Date: Tuesday, October 11, 2016 at 6:17 PM
> To: "virtuoso-users@lists.sourceforge.net 
> <mailto:virtuoso-users@lists.sourceforge.net>" 
> <virtuoso-users@lists.sourceforge.net 
> <mailto:virtuoso-users@lists.sourceforge.net>>
> Subject: Re: [Virtuoso-users] Problem with advanced queries
>  
> On 10/11/16 4:37 PM, Safran, Tracy (NIH/NCI) [C] wrote:
>> I am having problems doing some slightly advanced queries against http.  A 
>> simple query works but other queries don’t.  Is there a deeper issue with 
>> permissions or indexes that I need to look into?
>>  
>> Example:  This works.
>>  
>> SELECT * 
>> FROM <http://NCIT_NG1> <http://ncit_ng1/> where { ?s ?p ?o } LIMIT 50
>>  
>> But this does not (note: prefix left out for brevity)
>> SELECT ?subject ?role ?object
>> WHERE {
>> ?subject rdfs:subClassOf ?an .
>> ?an owl:onProperty ?role .
>> ?an owl:someValuesFrom ?object .
>> ?subject rdfs:subClassOf* ncit:Gene
>> }
>> ORDER BY asc(?subject)
>>  
>> Tracy M. Safran
>> Programmer Analyst - EVS support
>> Frederick National Laboratory for Cancer Research
>> Leidos Biomedical Research, Inc.
>> Ph: 240-276-5172
>> tracy.saf...@fnlcr.nih.gov <mailto:tracy.saf...@fnlcr.nih.gov> 
> I assume you are getting:
> 
> Virtuoso 37000 Error TR...: transitive start not given  ? 
>  
> You need to add some qualification to the query to optimize for unknowns such 
> as db size and available memory. 
>  
> Examples:
>  
> 1. 
> http://dbpedia.org/sparql?default-graph-uri==SELECT+distinct+%3Fsubject+%3Fobject%0D%0A%0D%0AWHERE+%7B%0D%0A%0D%0A%0D%0A%3Fsubject+a+owl%3AClass+.%0D%0A%3Fobject+a+owl%3AClass+.%0D%0A%3Fsubject+rdfs%3AsubClassOf*+%3Fobject+.+%0D%0A%0D%0Afilter+%28contains%28xsd%3Astring%28%3Fsubject%29%2C%27dbpedia.org%27%29%29%0D%0A%7D%0D%0A%0D%0AORDER+BY+asc%281%29%0D%0A%0D%0ALIMIT+100=text%2Fx-html%2Btr_redir_for_subjs=121_redir_for_hrefs==3=on
>  
> <http://dbpedia.org/sparql?default-graph-uri==SELECT+dis

Re: [Virtuoso-users] Restricting DBA logins by client IP

2016-10-11 Thread Hugh Williams
Hi Daniel,

The login can be restricted by using the  DBEV_LOGIN() [1] hook function with 
the checking for IP address performed with the client_attr ('client_ip’) [2] 
function.

[1] http://docs.openlinksw.com/virtuoso/fn_logins/
[2] http://docs.openlinksw.com/virtuoso/fn_client_attr/

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 6 Oct 2016, at 15:53, Davis, Daniel (NIH/NLM) [C] <daniel.da...@nih.gov> 
> wrote:
> 
> I’ve been hunting over the documentation, and I cannot see the way to 
> restrict DBA logins by client IP.   My security team doesn’t allow me to use 
> conductor, and so I do all my work from isql with the system tables.   Even 
> looking at DBEV_LOGIN and FIND_USER hooks, I don’t see a way to do this.
>  
> Yet, it seems there must be a way.   Can anyone clue me in to what I’ve 
> missed?
>  
> Thanks,
>  
> Dan Davis, Systems/Applications Architect (Contractor),
> Office of Computer and Communications Systems,
> National Library of Medicine, NIH
>  
> --
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org <http://slashdot.org/>! 
> http://sdm.link/slashdot___ 
> <http://sdm.link/slashdot___>
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net 
> <mailto:Virtuoso-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
> <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] How to import a dump file

2016-10-11 Thread Hugh Williams
Hi Tracy,

You simply load then in the new Virtuoso instance with the available RDF Bulk 
Loader, which supports the loading of nquad files as detailed at:


http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtBulkRDFLoader

being nquad format the graphs name is in included for each triple (ie gspo) , 
thus each will be loaded into the same graph name as it was dumped from ...

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 11 Oct 2016, at 15:23, Safran, Tracy (NIH/NCI) [C] <safr...@mail.nih.gov> 
> wrote:
> 
>  
> I dumped a an open-source virtuoso triplestore with 37 separate graphs using 
> the dump_nquads command.  Now I would like to load the resulting nq files 
> into another commercial instance of a virtuoso but the only load commands I 
> find ask me to specify a graph name.  I would like the load to use the graph 
> names that were saved into the dump file.  How can I do this?
>  
> Do I need to back up and dump the graphs in a different way.
>  
> Thank you,
>  
> Tracy M. Safran
> Programmer Analyst - EVS support
> Frederick National Laboratory for Cancer Research
> Leidos Biomedical Research, Inc.
> Ph: 240-276-5172
> tracy.saf...@fnlcr.nih.gov <mailto:tracy.saf...@fnlcr.nih.gov>
>  
> --
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org <http://slashdot.org/>! 
> http://sdm.link/slashdot___ 
> <http://sdm.link/slashdot___>
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net 
> <mailto:Virtuoso-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
> <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] Problem with SPARQL TZ function

2016-10-07 Thread Hugh Williams
Hi Nikolaos,

We shall look into this …

Please note also the following document on Virtuoso Timezone-less data handling:


http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTimezoneLessDateTime

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 7 Oct 2016, at 11:02, Nikolaos Beredimas <bere...@gmail.com> wrote:
> 
> Hi everybody,
> 
> SPARQL query:
> 
> SELECT * WHERE {
> BIND ("2017"^^xsd:gYear AS ?stored)
> BIND ("2016-01-13T18:00:00.000+03:00"^^xsd:dateTime AS ?input)
> BIND (
> xsd:dateTime(CONCAT(STR(?stored),"-01-01T00:00:00.000",TZ(?input)))
> AS ?stored_datetime)
> }
> 
> Error:
> Virtuoso 22007 Error DT006: Cannot convert 2017-01-01T00:00:00.3:00 to 
> datetime : Incorrect fraction delimiter
> 
> It would appear TZ() doesn't export the (+/-) timezone indicator, which it 
> should do according to 
> https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-tz 
> <https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-tz>
> 
> Am I doing something wrong or is this a genuine bug?
> Using opensource edition
> Version: 07.20.3217
> Build: Apr 25 2016
> --
> 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] VirtuosoDataSource fault-tolerance

2016-10-06 Thread Hugh Williams
Hi Daniel,

All the Virtuoso Data Access Clients for JDBC, ODBC, OLEDB, ADO.Net, Sesame, 
Jena etc support round robin connections for automatic fail-over and load 
balancing ie HA as detailed at:

http://docs.openlinksw.com/virtuoso/dataccessclientsconfailandbalance/

As this is in the client it can be used with Virtuoso server instances  of any 
form ie open source , commercial, scale-out cluster etc. provided the nodes are 
known/considered to be in sync and hence can service user requests …

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 4 Oct 2016, at 17:35, Davis, Daniel (NIH/NLM) [C] <daniel.da...@nih.gov> 
> wrote:
> 
> I have a downstream project that uses Virtuoso JDBC against my server.   I am 
> wondering whether anyone out there has experience about the fault tolerance 
> of VirtuosoDataSource.   
>  
> That is:
> ·Does the open source VirtuosoDataSource have any fault tolerance 
> features built-in to work with Virtuoso commercial’s replication and 
> clustering features?
> ·Has anyone out there experimented with something like HA-JDBC for 
> Virtuoso?
>  
> Thanks,
>  
> Dan Davis, Systems/Applications Architect (Contractor),
> Office of Computer and Communications Systems,
> National Library of Medicine, NIH
>  
> --
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org <http://slashdot.org/>! 
> http://sdm.link/slashdot___ 
> <http://sdm.link/slashdot___>
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net 
> <mailto:Virtuoso-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users 
> <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] Sparql endpoint and cor problem

2016-09-24 Thread Hugh Williams
Hi Chris,

How are you enabling CORS and what page is blank ? Did you following the 
documentation at:


http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTipsAndTricksCORsEnableSPARQLURLs

as this works for me …

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 22 Sep 2016, at 14:59, Chris Skodras <skod...@gmail.com> wrote:
> 
> Hello all,
> 
> I have set up virtuoso open source (7.20.3217) from source and set up a 
> sparql endpoint which works with no problem. 
> 
> However, when enabling COR on the sparql endpoint I get a blank page. I 
> checked developer console in Chrome and didn’t find any error except that it 
> couldn’t find the favicon.
> 
> Has anyone experienced the same issue? Is there a way to bypass it?
> 
> Thank you
> 
> -- 
> Chris
> --
> ___
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users



smime.p7s
Description: S/MIME cryptographic signature
--
___
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users


  1   2   3   4   5   6   7   8   9   10   >