Hello again, I tried the query again by removing the subquery part and then it seems to work. Trying a similar query such as:
select $kbatitle subquery ( select $owner from <#ri> where $obja <fedora-model:state> $owner ) from <#ri> where $obja <http://kemibrug.dk/k2/rdf#orgid> '183' and $obja <http://kemibrug.dk/k2/relations#belongsToKBA> $kba and $kba <dc:title> $kbatitle Throws fedora into limbo and just gives me a new tab in my browser which claims it is loading. Looking at the ressource monitor for my computer it brings Fedora to use 100% CPU and it ends when it throws a JVM Heap size error. Is risearch broken in 3.5 or is it me doing something wrong? On Thu, Aug 11, 2011 at 3:37 PM, Tomasz Cielecki <tom...@ostebaronen.dk> wrote: > Hello fedora users, > > I have some trouble executing iTQL through risearch. I have created > the following query: > > select $obja $objaval $kbatitle > subquery( > select $obja $objaval > from <#ri> > where $obja <http://kemibrug.dk/k2/rdf#orgid> '183' > and $obja <http://kemibrug.dk/k2/rdf#value> $objaval > and $obja <http://kemibrug.dk/k2/relations#belongsToKBA> $kba > ) > from <#ri> > where $kba <dc:title> $kbatitle; > > This gives me an error which says: Failed to constrain all variables: > $obja not constrained in WHERE or GIVEN clauses. From my point of view > $obja seems to be constrained in the subquery. > Can someone maybe point out what is wrong here? > > -- > Med Venlig Hilsen / With Best Regards > Tomasz Cielecki > http://ostebaronen.dk > -- Med Venlig Hilsen / With Best Regards Tomasz Cielecki http://ostebaronen.dk ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users