Looking in the spl.owl ontology I'm a little confused about the
slp:ConstructDefaultValues Template Class. It states:
This template can be attached as spin:constructor to a root class such
as rdfs:Resource to ensure that SPIN processors assign default values to
certain properties. Looks for any templates attached as spin:constraints
to the types of ?this and then assigns their declared spl:defaultValues.
and the spin:body is:
CONSTRUCT {
?this ?predicate ?defaultValue .
}
WHERE {
?this a ?directType .
?directType rdfs:subClassOf* ?type .
?type spin:constraint ?attribute .
?attribute spl:defaultValue ?defaultValue .
?attribute spl:predicate ?predicate .
}
My confusion is, why is it looking for spin:constraints attached to the
type's (and super types') and not spin:constructor's? I thought it was
spin construtors that set default values.
Thanks,
Jeff
________________________________
From: Holger Knublauch [mailto:[email protected]]
Sent: Tuesday, January 06, 2009 7:23 PM
To: [email protected]
Subject: [tbc-users] SPIN Examples and Videos posted
I have posted a number of example applications that use the new SPIN
capabilities of TBC 3.0:
* SPARQL-based Unit Conversion with SPIN (with Video)
<http://composing-the-semantic-web.blogspot.com/2009/01/video-sparql-bas
ed-unit-conversion-with.html>
* Inferencing and Constraint Checking (with Video)
<http://composing-the-semantic-web.blogspot.com/2009/01/video-sparql-bas
ed-inferencing-and.html>
* OWL 2 RL in SPARQL using SPIN
<http://composing-the-semantic-web.blogspot.com/2009/01/owl-2-rl-in-spar
ql-using-spin.html>
* SPIN Box: A SPARQL-based Computer Game Engine (with Video)
<http://composing-the-semantic-web.blogspot.com/2009/01/spin-box-sparql-
based-computer-game.html>
I will continue to post such items to the Composing the Semantic Web
blog:
http://composing-the-semantic-web.blogspot.com/
Due to overwhelming spam, the blog does not allow comments, so feel free
to ask your questions on this mailing list here.
Regards,
Holger
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---