Open drassokhin opened 7 years ago
@drassokhin: Testing against our local Open PHACTS instance with single values URI or both (i.e. uncommented the
TargetUri Name TypeName TargetComponentNames
http://rdf.ebi.ac.uk/resource/chembl/target/CHEMBL6143
"Fumarate hydratase, mitochondrial"
"ChEMBL SingleProtein Class"^^<http://www.w3.org/2001/XMLSchema#string>
CHEMBL_TC_4708, FH, Fumarase, Fumarate hydratase, mitochondrial
Note this instance is running a latest 3218 binary build i.e. develop/7 equivalent from git open source archive, which would be another slight difference to your 3217 build from Apr 2016.
Do you have a Linux instance you can test this on with a latest 3218 develop/7 build, as I seem to recall you build on Linux also now ?
@HughWilliams These query optimizer-related issues are often difficult to reproduce. As I have just found out, if the 'from http://www.w3.org/2002/07/owl#' is removed from my query, it also executes fast even with the dummy
@drassokhin: We are currently preparing to make an open source stable/7 update release from the current develop/7 branch at which point the pre-built Windows binaries will be build and made available for public download. I would expect this to take place in April ...
I came across an issue that may actually be related to https://github.com/openlink/virtuoso-opensource/issues/400. When the query attached below is run against an instance of Virtuoso (OpenLink Virtuoso Server Version 07.20.3217-threads for Win64 as of Apr 25 2016) loaded with a large RDF dataset combining the ChEMBL compound pharmacology dataset v.22.1 (see https://www.ebi.ac.uk/rdf/services/chembl/) with our internal datasets, the query hangs (or executes so slowly that it appears to hang). If the VALUES block contains more than one URI (for example, the in the snippet below is un-commented), the same query executes and returns results in under a second. The query will also return results almost immediately even with just one URI in the VALUES block if the '| :hasTargetComponent' alternate matching pattern is removed. As far as I understand, setting the "Enable_joins_only = 1" flag param in the INI file as recommended in responses to issue 400 would not make sense any longer, because it is the default value with 3215+ builds. Please let me know if this is a known issue and whether it is going to be resolved in upcoming releases of Virtuoso server. If not, I will go ahead and collect additional info (db stats, etc) to help pinpoint and resolve the problem. BTW, I think this bug can be reproduced with the Open PHACTS dataset if the chembl graph name in the query is changed to http://www.ebi.ac.uk/chembl, but I have not tried it, since I no longer have an instance of Virtuoso hosting the entire Open PHACTS dataset at hand.