Hey, thanks a lot for suggestions! I found them quite useful!
But I have a new question- Since I have a lot of contracts having
similiar structure - I wanted to create a template.
And if we'll refer to my previous example can I have the following
CONSTRUCT { ?contract a ?arg } instead of CONSTRUCT { ?contract
a :ContractA} ?
here is example:
CONSTRUCT { ?contract a :ContractA }
WHERE
{ ?contract :hasProcess ?p1 .
?p1 hasInitiator ?i1 .
?i1 a :Bank .
?p1 :hasRecipient ?r1 .
?r1 a :Supplier .
}
where ?arg is sp:arg. But it seems not possible (because I specified a
value for ?arg as ContractA). And when I called my template from
ContractA i had to choose an instance from ContractA instead of class.
My question is :Is it possible to specify parameters for Classes?
Actualy, my intention was to call a template from a different kind of
contracts(which are classes:ContractA,ContractB) and specify a
contract's classes instead of ?arg.
Thanks a lot in advance! Really appreciate your help.
P.S. why I cannot view my message in the list which actually has been
sent to you? And later I find that I resent u two copies of it.
--
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