Pim; I think
we'll need more information about the specifics of your XML files and
schemas to help out.
In the meantime, I've included an XML schema and instance file from our
Help files that may help understand how the general feature works.
Open Import... > OWL Files from XML Schemas, add the schema file,
add the instance file(s) and Finish. The schema will be translated to
an .owl file and the instance(s) to .rdf files. Import the instance
files into the schema file in RDF/OWL and the instance will appear in
the proper class definitions (where an element/type definition in the
schema is translated into a class).
More information about this can be found at > Import and Export >
Import external information > Import XML
-- Scott
Helm, P.W. (Pim) van den wrote:
I am a newbee to
topbraid, and tried to create an ontology from a xsd schema and
directly create an ontology from an xml file relying on this schema.
Via the import owl files from xml schema's I succeded in this task.
I received two
files one is the "schema" ontology and the other the
"model/instances" ontology. Although this is what I hoped for, the xml
document has a large number of values (coordinates) that I can't find
in the created "model/instances" ontology.
Can anyone tell me what I am doing
wrong? Or is my expectations of this import incorrect. I would also
like to note that using a large gbXML model seems to result in an
infinite loop. Was running for hours without results.
I do notice the schema ontology does
contain a CoordinateDatatype that is a subclassof decimal. So it should
be possible to store the value.
Kind regards,
Pim van den Helm
This e-mail and its contents are subject to the DISCLAIMER at http://www.tno.nl/disclaimer/email.html
--
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.
--
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.
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2009 TopQuadrant, Inc.
All rights reserved.
-->
<Process name="Pizza Order">
<Process name="Select Pizza Service">
<Activity name="Browse Yellow Pages" efficiency="5" />
<Activity name="Search Google" efficiency="10" />
</Process>
<Process name="Order">
<Activity name="Dial phone number" />
<Activity name="Select pizzas" />
<Activity name="Provide address" />
</Process>
<Activity name="Wait for Delivery" />
<Process name="Receipt and Payment">
<Activity name="Pay delivery"/>
<Activity name="Pay tip"/>
</Process>
</Process>
pizzaProcess.xsd
Description: XML document