Bug 293421

Summary: Nepomuk generating statements Virtuoso cannot complete (another)
Product: [Unmaintained] nepomuk Reporter: Ryan Rix <ry>
Component: queryserviceAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED FIXED    
Severity: normal CC: ismail, me, trueg, wstephenson
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 286516    
Bug Blocks:    

Description Ryan Rix 2012-02-06 07:25:02 UTC
+++ This bug was initially created as a clone of Bug #286516 +++

Version:           git master (using Devel) 
OS:                Linux

Nepomuk generates queries that Virtuoso cannot finish processing, and thus uses 100% of all available cores.

select distinct ?r ?reqProp1 where { { ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag> <nepomuk:/res/31d34a84-5b3a-414d-a496-d39c17a6d8a0> . OPTIONAL { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#url> ?reqProp1 . } } . ?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) . }
Comment 1 Ryan Rix 2012-02-06 07:26:19 UTC
That nepomuk:/res/31d34a84-5b3a-414d-a496-d39c17a6d8a0 is a tag that I am trying to query for in a Folder View plasmoid on one of my activities
Comment 2 Ryan Rix 2012-02-06 07:36:44 UTC
When I run that same query from nepsak, however, they close instantly.
Comment 3 Vishesh Handa 2012-12-23 19:26:40 UTC
Fixed with 4.10.

The problem was the extra "?r <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#userVisible> ?v1 . FILTER(?v1>0) " which was used for filtering the search results to only user visible resources.