Ok, thanks for the information. I didn't realize that it is good to start with owl:Thing as the root. And using Turtle is a good idea. I am just used to seeing many different foaf files that have everyone represented inside a <foaf:Person> </foaf:Person> set of tags. My file now has me inside a Description tag which doesn't appear in Turtle format. Anyway, I did something wrong with the mbox tag. Or maybe not. The spec says it is a owl:Thing but I don't have the value for it. Then there is the isuse of foaf:depiction which I had been just using rdf:resource="http://path/to/photo.jpg." Anyway, this is what I have in Turtle with regard to not knowing where or how to specify the email: :BruceWhealtonJr a foaf:Person ; rdfs:label "Bruce whealton jr"^^xsd:string ; skos:prefLabel "Bruce whealton jr"^^xsd:string ; foaf:birthday "2011-07-24"^^xsd:date ; foaf:gender "male"^^xsd:string ; foaf:mbox [ a owl:Thing ] .
Oh, one other thing, if I had foaf:interest and used both a rdf:resource which points to a url and dc:title which is a text attribute, this isn't going to be part of the FOAF spec is it? So, in N3, I have <http://whealton.info/BruceWhealtonJr/foar.rdf#me>; foaf:interest <http://dbpedia.org/resource/RDF>, and then I have <http://dbpedia.org/resource/RDF> dc:title "RDF". in this case it is actually shorter in RDF/XML because I have <foaf:interest rdf:resource="http://dbpedia.org/resource/RDF" dc:title="RDF"/> My question is how do I do that in TBC? Do I need to create a blank node and if so how? Or just like foaf:depiction the value or range should be a URL but it isn't letting me do that. Maybe because I'm entering it as a property and not an instance value. Thanks so much for the help, Bruce On Jul 24, 11:31 am, Scott Henninger <[email protected]> wrote: > On 7/23/11 7:55 PM, brucewhealton wrote:2) I know there is an option to set > the root element of the RDF document but instead of using something like > MyPersonClass or Thing, can I make it foaf:Person? How?Bruce, I'm not clear > what you mean by this. I expect that you mean using owl:Thing as the root > class for your concepts. This is a W3C standard that allows any set of > ontologies to be merged with a common root class - owl:Thing. I really doubt > you want to use anything else as the class root. > If you mean the root element of an RDF/XML document, that element is rdf:RDF, > and it can't be changed. > There seems to be a conflation of the RDF/XML text serialization syntax and > RDF. I'll offer a strong suggestion to work in Turtle, which represents RDF > in triple format (soon to be the same as SPARQL). Conceptually this is much > cleaner than RDF/XML. It's also more compact and will load quicker, but the > real key is that the added complexities of representing triples in a tree > syntax disappear. If you need RDF/XML for some third-party vendor, Composer > has a few ways to export to RDF/XML when needed. In particular see Export > > Export/Merge Convert RDF Graphs > -- Scott -- 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
