Bruce, To add a statement about a resource (with the resource as a subject) you need to first declare that it (the resource) exists. To do this, you need to create a triple of the following pattern:
?resource rdf:type ?someClass If resource < http://futurewavedesigns.com/wordpress> is a foaf:Document, then you need to create a triple: <http://futurewavedesigns.com/wordpress> rdf:type foaf:Document Once you do this, you will be able to navigate to this resource and say whatever you want about it. To do this, select foaf:Document and click on Add new in the Instance view. When a Create foaf:Document dialog appears, enter <http://futurewavedesigns.com/wordpress> in the "Name of the new instance" field. You will now see it in the list of instances for foaf:Document and will be able to drag and drop it, place it into the basket and you will be able to select it from the Add Existing dialogs when editing. You will not be able to do auto-complete on it and if you try to ctrl Click on it in one of the form fields, TopBraid will try to navigate to it on the web. You could define a prefix http://futurewavedesigns.com/ in the file you are editing and call it let's say future, then you should be able to switch between a full URI of this resource and its QName future:wordpress and you will be able to do auto-completion, etc. I am not sure what you mean by "relative to my main project". I am also not sure if the above helps you to do what you are trying to do. I find some of your questions hard to understand, so we probably are not quite on the same page. May be if you explained what you are trying to do with all these foaf file, how you are planning to use/deploy them, it would help to achieve some shared understanding. Regards, Irene -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of brucewhealton Sent: Tuesday, July 26, 2011 5:58 PM To: TopBraid Suite Users Subject: [topbraid-users] Stuck with a type of entry using TBC forms Hello, So, I've not been able to figure out how to handle a special case when using the forms to enter data. Suppose I have this in my foaf profile: <foaf:Person rdf:about="#me"> <foaf:weblog rdf:resource="http://futurewavedesigns.com/ wordpress/" dc:title="Web Technology Blog" /> ... </foaf:Person> So, I can enter into the form under foaf:weblog the url above. But how do I associate the title with that resource? The second triple will be: <http://futurewavedesigns.com/wordpress./> < http://purl.org/dc/elements/1.1/title > "Web Technology Blog" When I try to go into the source code using TBC, and put that first full statement that links to the weblog it doesn't update when i return to the form. If I try to create a new Document object it will still be setup as relative to my main project. This kind of thing will exist in various similar places where I want to use Object resources. All of the documentation seems to be with regard to creating Object datatypes when you are defining the ontology not when one is working with instance data. Maybe I need a blank node that says that the url is a weblog it has such and such title and then in the document I'd link to the node? I'm not sure how to do that though. Thanks, Bruce -- 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 -- 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
