Joseph; There are a couple of errors in the query. The syntax error is that Feed is not a variable or resource. If you are referring to a defined resource, use :Feed (more specifically <prefix>:Feed or the full uri for Feed).
Second, the ?Topic variable used in the LET statement is not bound to a value. Therefore the ?uri being built will be <http://www.ctg.com/ ARF.owl#>. You'll need to bind ?Topic in the WHERE clause to produce a binding for your buildURI function. -- Scott On May 29, 9:26 am, Joseph Shea <[email protected]> wrote: > I'm pretty new to SPARQL Motion, and am trying to make some > modifications to Holger's example on RSS feeds seen here: > > http://topquadrant.com/docs/videos/2008-03-01-SPARQLMotion.wmv > > I want to take in the articles and store them as classes. This is what > I am using to try and create it. I get a Lexical error when I paste it > into a SPARQL window > > INSERT { > ?uri a owl:Class . > ?uri rdfs:subClassOf Feed . > ?uri rdfs:label ?Topic .} > > WHERE { > LET (?uri := smf:buildURI("http://www.ctg.com/ARF.owl#{?Topic}")) . > > } > > I found a similar problem on the forum here: > > http://groups.google.com/group/topbraid-composer-users/browse_thread/... > > Any help would be much appreciated. > > Thank you, > > Joseph Shea --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. 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-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
