For some reason, my first message has not come through on email, although it is posted on the Forum Web page.  I'll repeat here and apologize for needing to repeat:
-----

Sina; I would suggest starting with the SPARQLMotion home page:  http://www.topquadrant.com/products/SPARQLMotion.html

There are examples, a tutorial, a brief video demo, and other  resources.

-- Scott


On 6/9/10 12:43 PM, Madani,Sina wrote:
Thank you Scott,
Then I guess spreadsheet import wizard won't be useful for me because I am defining everything in my ontology as classes, there are no instances. 
Could you please send me a good reading source for SPARQLmotion?


Sina

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Scott Henninger
Sent: Tuesday, June 08, 2010 6:07 PM
To: TopBraid Suite Users
Subject: [topbraid-users] Re: create ontology from spreadsheet

Sina; If the first row has column names with rdfs:label, etc., the
Import wizard will recognize the qname and create the properties as
desired.  If you are doing this through a SPARQLMotion script, don't
forget to import system triples, otherwise the script will not know
about rdfs:subClassOf, etc.

For all spreadsheet importers the rule is that each worksheet defines
one class definition.  Note that using the Excel importer, you can
specify multiple sheets.  Each row defines an instance of the class.
Each column names a property for instances of that class, not the
class itself.

So a sheet named "Person" will create the class definition :Person.  A
column in that sheet named "rdfs:label" will create a label for each
instance, such as:
  ?rowX-Y rdfs:label ?cellValue

<<I guess my question is how do I assign labels to classes and
subclasses in one spreadsheet?>>

This could be done in a SPARQLMotion script where you read in the
spreadsheet and interpret the columns as you want with SPARQL
queries.  But there isn't a way to do this directly with the
importers, per the above explanation.

-- Scott

On Jun 8, 12:53 pm, Sina <[email protected]> wrote:
  
Hi,
how I can assign rdfs:label to a specific column during tab-delimited
import process?
I have a spreadsheet of 4 columns:
owl:Class, rdfs:label, rdfs:subClassOf, rdfs:label

how do I assign rdfs:label in the 4th Clim to my superclasses in the
third column? Obviously the above format doesn't work. I guess my
question is how do I assign labels to classes and subclasses in one
spreadsheet? Currently I am doing it with two separate spreadsheets in
2 steps.

Thanks
Sina
    
  

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

Reply via email to