Bruce, Answers below:
Ok, I was able to open the XML file and see Classes and properties. However, when I opened Associations, it was empty.
After opening Associations view, click on the blue button (Select Property...) in the toolbar of the view. Select "composite:child" from the dialog. Then, you will see the XML instances in a tree hierarchy.
I could use the vocabularies that already exist like BIO, REL and FOAF. So, in the Genealogy XML file, I'd start by wanting the Class Person to be made an equivalent Class with foaf:Person or a subclass of foaf:Person, not sure which. Then I'd have some Event classes that would relate to the BIO vocabulary. So, I do have sxml:Node as a Class and under that most of the data from the xml file is in the sxml:TextNode. There are 968 Instances here. I wouldn't want to connect this with any ontology because we have different types of data in this class sxml:TextNode. Maybe I want<PERSON> from the imported XML file to be of type foaf:Person instead of a subproperty of foaf:Person.
I was late in my reply as I was thinking for a good answer for this part. I would suggest for you to wait for TBC 3.6.0 Beta release, which will have a lot of improvements in mapping an XML file to an ontology via SXML. Regarding those improvements, you will be able to specify annotations on classes and properties, which will map your XML instances to OWL instances with the annotated classes as their type, and these instances will be related to each other with the annotated properties rather than composite:child relationships.
For further mappings like owl:equivalentClass, you can already construct an ontology with that property and use SPIN rules (SPARQL rules) to map XML instances to OWL instances with the type that those rules assert.
Gokhan -- 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
