Hi, I did try to "add empty row"; it comes up with an empty row with a diamond (instance) instead of a star (SPARQL) and if I type a SPARQL query into the row, it rejects it as invalid syntax for a resource.
Mark On 20 Jun 2012, at 01:26, Holger Knublauch <[email protected]> wrote: > On 6/20/2012 10:18, Mark Green wrote: >> Hi, >> >> I'm having some trouble trying to define a SPIN Magic Property. I can >> create a new property that is an instance of spin:MagicProperty but when I >> open the spin:body property to enter the query, it doesn't allow me to enter >> the query, it instead wants me to choose an instance. Do I have to build >> the SPIN equivalent of the SPARQL query manually for a Magic Property? > > Hi Mark, > > use Add empty row to enter a SPIN query for spin:body. This should work. (Use > Shift-enter for line breaks). > > BTW to define a new magic property I don't recommend simply to create an > instance of spin:MagicProperty. It also should to be a subclass of > spin:MagicProperties. So the easiest way to achieve that is to open the class > tree spin:Modules > spin:Functions > spin:MagicProperties, then right-click > on spin:MagicProperties and create a subclass of that. > > Thanks > Holger > > -- You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include Enterprise > Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, > TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages 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 -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages 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
