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