I'm not able to reproduce this yet, so some additional detail will be
necessary.  To make sure we're on the same page, try the query in the
Help files for tops:foreach.  Open TopBraid/Examples/kennedys.rdf and
copy the following query into the SPARQL view:
SELECT *
WHERE {
    ?x tops:foreach (kennedys:Gender kennedys:College kennedys:Person
kennedys:Profession)
}

(BTW, tops:for each is rarely used - in most cases SPARQL's triple
match will do what is necessary - it already has a "for each" built
in.  Ask if that doesn't make sense.)

If you are trying something else, please let us know.  Are you trying
to build a Java plug-n extension?

-- Scott

On Jun 3, 6:36 pm, sofiangeletou <[email protected]> wrote:
> Hi Scott,
>
> I get the same problem on a fresh installation of tbc 3.5.
>
> Warning
> Sat Jun 04 00:34:12 BST 2011
> WARN [Thread-17] (E_Function.java:70) - URI <http://www.topbraid.org/
> tops#foreach> has no registered function factory
>
> Am I missing something obvious? :(
> Thanks for your help
> Sofia
>
> On Jun 4, 12:11 am, sofiangeletou <[email protected]> wrote:
>
> > Hi Scott,
> > thanks for your advice. I tried to update TBC using eclipse but got
> > the following error.
> > Your original request has been modified.
> >   "TopBraid Composer Free Edition" is already installed, so an update
> > will be performed instead.
> > Cannot complete the install because of a conflicting dependency.
> >   Software being installed: TopBraid Composer Free Edition
> > 3.5.0.v20110530-0330R (org.topbraidcomposer.free.feature.group
> > 3.5.0.v20110530-0330R)
> >   Software currently installed: TopBraid Composer FE
> > 3.3.1.v20100423-1816R (org.topbraidcomposer.free
> > 3.3.1.v20100423-1816R)
> >   Only one of the following can be installed at once:
> >     TopBraid Composer SPIN Plug-in 3.5.0.v20110530-0330R
> > (org.topbraidcomposer.spin 3.5.0.v20110530-0330R)
> >     TopBraid Composer SPIN Plug-in 3.3.1.v20100423-1816R
> > (org.topbraidcomposer.spin 3.3.1.v20100423-1816R)
> >   Cannot satisfy dependency:
> >     From: TopBraid Composer FE 3.3.1.v20100423-1816R
> > (org.topbraidcomposer.free 3.3.1.v20100423-1816R)
> >     To: org.topbraidcomposer.free.feature.group
> > [3.3.1.v20100423-1816R]
> >   Cannot satisfy dependency:
> >     From: TopBraid Composer Free Edition 3.3.1.v20100423-1816R
> > (org.topbraidcomposer.free.feature.group 3.3.1.v20100423-1816R)
> >     To: org.topbraidcomposer.spin [3.3.1.v20100423-1816R]
> >   Cannot satisfy dependency:
> >     From: TopBraid Composer Free Edition 3.5.0.v20110530-0330R
> > (org.topbraidcomposer.free.feature.group 3.5.0.v20110530-0330R)
> >     To: org.topbraidcomposer.spin [3.5.0.v20110530-0330R]
>
> > I will try to download and install it separately. By the way, I didn't
> > reuse the project from one computer to the other, was only doing
> > simple sparql queries. I will let you know how i get on with updating.
> > Many thanks
> > Sofia
>
> > On Jun 3, 10:51 pm, Scott Henninger <[email protected]>
> > wrote:
>
> > > Sofia; The issue does seem to be with a mismatch of the registered
> > > system files.  For upgrading Composer, 
> > > seehttp://www.topquadrant.com/products/TBS_FAQ.html#TBS3,
> > > in particular the last paragraph explains how to re-use a workspace
> > > created with a different version of Composer.  Basically, delete the
> > > projects named 'TopBraid' and 'server.topbraidlive.org' and re-start
> > > Composer.
>
> > > We did have some issues with Eclipse update manager some time ago.  It
> > > could be easiest to install a fresh copy of TBC.  Install files for
> > > the latest version of Composer (3.5) is found 
> > > athttp://www.topquadrant.com/products/TB_install.php, and if you need
> > > 3.4.4, you can find it 
> > > athttp://www.topquadrant.com/products/download/3.4.4/.
>
> > > -- Scott
>
> > > On Jun 3, 3:54 pm, sofiangeletou <[email protected]> wrote:
>
> > > > Dear all,
> > > > I have been using the tops:foreach on my laptop TBC (3.3.1) without a
> > > > problem but when I am trying to use it on my desktop TBC (3.4.4) I get
> > > > the following warning which of course does not allow me to proceed
> > > > with my functions.
>
> > > > "<http://www.topbraid.org/tops#foreach> has no registered function
> > > > factory"
>
> > > > In my help topics I saw that I should be able to extend topbraid using
>
> > > > org.topbraid.sparql.propertyFunctions
> > > > (com.hp.hpl.jena.sparql.pfunction.PropertyFunction)
>
> > > > but I am not sure if this should be already in TBC or how to install
> > > > it. In the installed packages I only see installed
>
> > > > org.topbraid.sparql
> > > > org.topbraid.sparqlmotion.Functions
> > > > org.topbraid.sparqlmotion
>
> > > > and there is no available software for installation in TopBraid
> > > > Composer -http://www.topquadrant.com/products/updates/3.4/. Unless I
> > > > have to use another update site. I am not sure how to proceed so I
> > > > would appreciate a lot your help.
>
> > > > Many thanks,
> > > > sofia

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to