Gerrick; Double-click on the import module in the SPARQLMotion graph
view and the details of the model will appear.  One of the properties
will be the baseURI.  That is the file identifier and will also be
used as the namespace for all resources imported from the file.

-- Scott

On Feb 22, 1:34 pm, Gerrick Bivins <[email protected]> wrote:
> Hello again,
> Now that I have the spreadsheets imported, I would like to parameterize
> selecting the spreadsheet to process. The part
> I'm currently stuck on is how to get access to the URI and specifically the
> namespace that is created for the imported spreadsheet to use in
> subsequent queries.
>
> Am I missing something obvious?
> Gerrick
>
> On Sun, Feb 21, 2010 at 2:55 PM, Gerrick Bivins <[email protected]> wrote:
> > Thanks Irene. This is exactly the information I was looking for.
> > Gerrick
>
> > On Sun, Feb 21, 2010 at 11:25 AM, Irene Polikoff 
> > <[email protected]>wrote:
>
> >> Hello Gerrick,
>
> >> sml:ImportRDFFromWorkspace module will perform (as part of the script) the
> >> same load operations as the ones that happen when you double click on a
> >> file
> >> in the TBC workspace.
>
> >> This means that if it is RDF file (in either RDF/XML or N3 or any other
> >> supported serialization), it will be loaded as is; if it is .xml file it
> >> will be converted to RDF using Semantic XML; if it is .xls file if will be
> >> converted to RDF using Semantic Table.
>
> >> By copy to Scott, we've had more than one question about this on the list,
> >> perhaps this should be added to FAQs. And/or we may want to beef up the
> >> description of sml:ImportRDFFromWorkspace. I am afraid that just adding to
> >> the module description will not be enough because people may not even look
> >> at this module when they are searching how to do a conversion from another
> >> format.
>
> >> Regards,
>
> >> Irene
>
> >> -----Original Message-----
> >> From: [email protected]
> >> [mailto:[email protected]] On Behalf Of gbiv
> >> Sent: Saturday, February 20, 2010 5:55 PM
> >> To: TopBraid Composer Users
> >> Subject: [tbc-users] SPARQLMotion import excel as Semantic Table (NOOBIE)
>
> >> Hello All,
> >> I'm just getting started using TBC, specifically SPARQLMotion
> >> scripting. I'm currently trying to import spreadsheets to convert to
> >> some other schemas that we have defined however I'm not clear on how
> >> to do this. In TBC by double clicking on an xls file it uses the
> >> "Semantic Table" ontology. However, using the SPARQLMotion import
> >> modules, I get a very low level break down of the spreadsheet (ie
> >> triples that define the sheet at a cell level). Is it possible to
> >> write a script that uses the same import functionality as the one that
> >> is used by double clicking on the file in the workspace?
>
> >> Hope this isn't too "noobie" of a question.
> >> Gerrick
>
> >> --
> >> 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]<topbraid-composer-users%[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]<topbraid-composer-users%[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.

Reply via email to