Hi Irene,

I checked the SPARQLMotion functions list and did not see any obvious that I 
could use.  I check the old emails on this list and found this one below.  Do 
you mean I need to do something like what Holger is describing?

Thanks for the help.
Naicong

============================



Arthur

View profile 
<http://groups.google.com/groups/profile?hl=en&enc_user=4p7udxcAAAA4D-hr6tb3IctBPCBOGO_1HqZiDvCVswhrZ6TQxKj0ww>
Is there an easy way in TopBraid to convert an entire project containing a 
large number of models in .N3 file format to another format e.g., .OWL?  The 
project contains about 50 models and the developers would feel more comfortable 
with xml trainer wheels.


 More options Feb 19, 5:23 pm


From: Arthur 
<arthur.a.k...<http://groups.google.com/groups/unlock?hl=en&_done=/group/topbraid-composer-users/browse_thread/thread/3b2f7900eeeea60a/9d79e819a60d2f0b%3Fhl%3Den%26lnk%3Dgst%26q%3Diterate%2Bover%2Bfiles&msg=ef8781c1baab06d3>@gmail.com>
Date: Thu, 19 Feb 2009 16:23:15 -0800 (PST)
Local: Thurs, Feb 19 2009 5:23 pm
Subject: How to convert entire project from .n3 to .rdf/xml?
Reply to 
author<http://groups.google.com/group/topbraid-composer-users/post?hl=en&inreplyto=ef8781c1baab06d3&reply_to=author&_done=%2Fgroup%2Ftopbraid-composer-users%2Fbrowse_thread%2Fthread%2F3b2f7900eeeea60a%2F9d79e819a60d2f0b%3Fhl%3Den%26lnk%3Dgst%26q%3Diterate%2Bover%2Bfiles%26&;>
 | 
Forward<http://groups.google.com/group/topbraid-composer-users/post?hl=en&inreplyto=ef8781c1baab06d3&forward=1&_done=%2Fgroup%2Ftopbraid-composer-users%2Fbrowse_thread%2Fthread%2F3b2f7900eeeea60a%2F9d79e819a60d2f0b%3Fhl%3Den%26lnk%3Dgst%26q%3Diterate%2Bover%2Bfiles%26&;>
 | 
Print<http://groups.google.com/group/topbraid-composer-users/msg/ef8781c1baab06d3?hl=en&dmode=print>
 | Individual 
message<http://groups.google.com/group/topbraid-composer-users/msg/ef8781c1baab06d3?hl=en>
 | Show 
original<http://groups.google.com/group/topbraid-composer-users/msg/ef8781c1baab06d3?hl=en&dmode=source>
 | Report this 
message<http://groups.google.com/groups/abuse?hl=en&group=topbraid-composer-users&type=message&url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Ftopbraid-composer-users%2Fmsg%2Fef8781c1baab06d3&_done=%2Fgroup%2Ftopbraid-composer-users%2Fbrowse_thread%2Fthread%2F3b2f7900eeeea60a%2F9d79e819a60d2f0b%3Fhl%3Den%26lnk%3Dgst%26q%3Diterate%2Bover%2Bfiles%26&;>
 | Find messages by this 
author<http://groups.google.com/groups/search?hl=en&enc_author=4p7udxcAAAA4D-hr6tb3IctBPCBOGO_1HqZiDvCVswhrZ6TQxKj0ww&scoring=d>
Is there an easy way in TopBraid to convert an entire project
containing a large number of models in .N3 file format to another
format e.g., .OWL?  The project contains about 50 models and the
developers would feel more comfortable with xml trainer wheels.

    You must Sign 
in<https://www.google.com/accounts/ServiceLogin?passive=true&hl=en&service=groups2&continue=http%3A%2F%2Fgroups.google.com%2Fgroup%2Ftopbraid-composer-users%2Fbrowse_thread%2Fthread%2F3b2f7900eeeea60a%2F9d79e819a60d2f0b%3Fhl%3Den%26lnk%3Dgst%26q%3Diterate%2Bover%2Bfiles&cd=US&ssip=g3>
 before you can post messages.
To post a message you must first join this 
group<http://groups.google.com/group/topbraid-composer-users/subscribe?hl=en>.
Please update your nickname on the subscription 
settings<http://groups.google.com/group/topbraid-composer-users/subscribe?reason=post_renew&hl=en&_done=%2Fgroup%2Ftopbraid-composer-users%2Fbrowse_thread%2Fthread%2F3b2f7900eeeea60a%2F9d79e819a60d2f0b%3Fhl%3Den%26lnk%3Dgst%26q%3Diterate%2Bover%2Bfiles%26&;>
 page before posting.
You do not have the permission required to post.




Holger Knublauch

View profile 
<http://groups.google.com/groups/profile?hl=en&enc_user=2gJGdBYAAADvmtdRErdhFU4Si-9V4-sSzHHXjzoyJqEeAcQiO0AuFA>


 More options Feb 19, 6:15 pm


From: Holger Knublauch 
<hol...<http://groups.google.com/groups/unlock?hl=en&_done=/group/topbraid-composer-users/browse_thread/thread/3b2f7900eeeea60a/9d79e819a60d2f0b%3Fhl%3Den%26lnk%3Dgst%26q%3Diterate%2Bover%2Bfiles&msg=a85fa045bf17dec3>@topquadrant.com>
Date: Thu, 19 Feb 2009 17:15:27 -0800
Local: Thurs, Feb 19 2009 6:15 pm
Subject: Re: [tbc-users] How to convert entire project from .n3 to .rdf/xml?
Reply to 
author<http://groups.google.com/group/topbraid-composer-users/post?hl=en&inreplyto=a85fa045bf17dec3&reply_to=author&_done=%2Fgroup%2Ftopbraid-composer-users%2Fbrowse_thread%2Fthread%2F3b2f7900eeeea60a%2F9d79e819a60d2f0b%3Fhl%3Den%26lnk%3Dgst%26q%3Diterate%2Bover%2Bfiles%26&;>
 | 
Forward<http://groups.google.com/group/topbraid-composer-users/post?hl=en&inreplyto=a85fa045bf17dec3&forward=1&_done=%2Fgroup%2Ftopbraid-composer-users%2Fbrowse_thread%2Fthread%2F3b2f7900eeeea60a%2F9d79e819a60d2f0b%3Fhl%3Den%26lnk%3Dgst%26q%3Diterate%2Bover%2Bfiles%26&;>
 | 
Print<http://groups.google.com/group/topbraid-composer-users/msg/a85fa045bf17dec3?hl=en&dmode=print>
 | Individual 
message<http://groups.google.com/group/topbraid-composer-users/msg/a85fa045bf17dec3?hl=en>
 | Show 
original<http://groups.google.com/group/topbraid-composer-users/msg/a85fa045bf17dec3?hl=en&dmode=source>
 | Report this 
message<http://groups.google.com/groups/abuse?hl=en&group=topbraid-composer-users&type=message&url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Ftopbraid-composer-users%2Fmsg%2Fa85fa045bf17dec3&_done=%2Fgroup%2Ftopbraid-composer-users%2Fbrowse_thread%2Fthread%2F3b2f7900eeeea60a%2F9d79e819a60d2f0b%3Fhl%3Den%26lnk%3Dgst%26q%3Diterate%2Bover%2Bfiles%26&;>
 | Find messages by this 
author<http://groups.google.com/groups/search?hl=en&enc_author=2gJGdBYAAADvmtdRErdhFU4Si-9V4-sSzHHXjzoyJqEeAcQiO0AuFA&scoring=d>
Not out of the box, only SPARQLMotion could help. You would need the
list of file names though, somehow (e.g. from a spreadsheet). Then use
a SM script to import that spreadsheet and iterate over all file
names. Then use sml:ImportRDFFromWorkspace to load and the
corresponding export module to save it back in the new format.

Holger



From: [email protected] 
[mailto:[email protected]] On Behalf Of Irene Polikoff
Sent: Tuesday, May 12, 2009 5:20 PM
To: [email protected]
Subject: [tbc-users] Re: File format conversion

Yes, of course, with a SPARQLMotion script

From: [email protected] 
[mailto:[email protected]] On Behalf Of Li, Naicong
Sent: Tuesday, May 12, 2009 7:58 PM
To: [email protected]
Subject: [tbc-users] File format conversion

Hi,

Because of our project needs, we need to convert the ontology format between 
.n3 and .owl quite often (sometimes to .allegro as well).  We have about 40 
ontologies, and in the past we did the conversion a couple times by manually 
exporting each file to a different format and it's very time consuming (and 
error prone).   Is there a way that we can do this in a batch?

Thanks.
Naicong






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

<<inline: image001.gif>>

Reply via email to