Hi. I've been experimenting with SPARQL Motion and SPIN and have a
couple of questions. Fyi, I'm using TopBraid ME v3.1.1.

- Can you access a SPARQL endpoint from within a SPIN rule? For
example, consider a BasicPerson class with first name and last name
properties. Is it possible to define a SPIN rule for this class that
creates a birthday property from a remote SPARQL endpoint?

- Building on the question above. Is it possible to reference
variables defined in a SPARQL motion script within a SPIN rule? For
example, can I provide the address of the endpoint as an argument when
I perform inferencing from a SPARQL Motion script? As another example,
can I have a rule that creates a birthday property only when the
user's last name begins some user specified value (established in the
SPARQL Motion script).

- It seems that you can encode the similar types of operations as SPIN
rules or as SPARQL Motion construct statements. The main differences
are when the processing takes place and what you do with the results.
With SPIN the inferred triples are generated when inferencing is
performed, and the results wind up in your in memory model. As new
triples are added to the in memory model, the rule may be run against
the new triples. When using SPARQL Motion, the triples are generated
only when the script is explicitly executed, and are available for
further manipulation, or export into a variety of forms (RDF, etc).
Are there any other significant differences to be aware of? Is
performance between the two roughly the same or is one faster/more
efficient than the other (assuming I'm working with a relatively
static set of instance data)?

Thanks,
Ray

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to