Hi,
I'm not sure if Spin Map is best tool for the job but I was hoping to
create a mapping where a new resource is created by looking for a
particular type of grandparent along a transitive property and once the
right type was found, select a property on it an assign it to a property on
the target.
The SPARQL for this would look something like:
SELECT ?value
WHERE
{
?target prod:belongsTo ?ancestor .
?ancestor a prod:site .
?ancestor prod:name ?value .
}
where the ?target variable and the prod:site type would ideally be
arguments to the mapping function and prod:belongsTo is a transitive
property. From looking at the help, I would have to create my own spinmap
function to achieve this?
Regards,
Mark.
-- 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