TopBraid Composer (and Ensemble) directly operate on RDF level (using  
Jena in the case of Java). We query the ontology to figure out which  
properties need to be displayed for an instance, and which datatypes  
etc should be used. There is no other intermediate form format (XForms  
or whatever) involved here.

If you have a web app, you could quite easily define an HTML form that  
calls a SM script which inserts the entered values into the data  
model. Likewise you can construct HTML forms with SM scripts, e.g.  
using JSPs.

Holger


On Oct 1, 2009, at 8:11 AM, Kevin Matthews wrote:

>
> What I meant by "what is the GUI of Eclipse calling" is this.  When I
> look at the Eclipse GUI, I can add a new instance of any ontology
> class to the ontology by filling in all of its values and clicking
> save.  What is TBC using to take those values and create triples out
> of them and store them?  I am trying to do the same exact
> functionality, only using a web front end.  I have a web page where
> you can select an ontology class, fill in its values, and click save.
> I'm sending that information in XML format to a SparqlMotion script,
> that must figure out what type of class it represents and save it to
> the ontology.  I was hoping that there was an easy way to do this
> without tons of BindByXPath and ApplyConstruct modules.
>
> I will happily look into SemanticXML and ConvertXMLtoRDF.  Do you know
> where I can find some documentation on the exact XML structure/schema
> I need to hand ConvertXMLtoRDF?   A quick google search did not return
> much relevant information.
>
>
> Thanks,
>
> Kevin
>
> On Sep 30, 6:59 pm, Scott Henninger <[email protected]>
> wrote:
>> Kevin;  On the below:
>>
>> <Otherwise, what is the GUI of Eclipse calling to do
>>  this?  What is Topbraid Ensemble calling to do the same?>
>>
>> Are you referring to parsing RDF/XML files?  This is performed by TBC
>> - specifically the Jena RDF parser.  sml:ImportRDFFrom... modules  
>> will
>> do this.
>>
>> -- Scott
>>
>> On Sep 30, 5:29 pm, Holger Knublauch <[email protected]> wrote:
>>
>>> Hi Kevin,
>>
>>> have you looked at Semantic XML, as supported by  
>>> sml:ConvertXMLToRDF?
>>> This will take any XML instance document and turn it into a simple
>>> ontology with classes such as widget and name, and values for the
>>> attributes and nested text elements.
>>
>>> I am not sure why you are referring to Eclipse UI and TBE here?
>>
>>> Regards,
>>> Holger
>>
>>> On Sep 30, 2009, at 9:34 AM, Kevin Matthews wrote:
>>
>>>> I am trying to write a SparqlMotion web service that takes in XML,
>>>> representing an instance of a class in my ontology, and stores that
>>>> instance in the onotology.  For instance:
>>
>>>> <widget>
>>>>    <name>my widget</name>
>>>>    <hasSprockets>3</hasSprockets>
>>>> </widget>
>>
>>>> This input would produce a :Widget instance with a :hasSprockets  
>>>> value
>>>> of 3 and an instance :name of "my widget".
>>
>>>> It dawned on me while writing a complex SparqlMotion script  
>>>> composed
>>>> of BindByXPath, ApplyConstruct, and IterateOverXPath modules that
>>>> there must be an web service that already provides this
>>>> functionality.  Otherwise, what is the GUI of Eclipse calling to do
>>>> this?  What is Topbraid Ensemble calling to do the same?
>>
>>>> So, does this functionality exist, and if so, how do I access it  
>>>> from
>>>> a web application?
>>
>>>> Thanks,
>>
>>>> Kev
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to