Re: [tbc-users] Re: selection of tags

2010-03-05 Thread sue
: - From: sue vk.ontolog...@gmail.com Date: Thu, 4 Mar 2010 11:43:00 -0600 To: topbraid-composer-users@googlegroups.com Subject: Re: [tbc-users] Re: selection of tags Hi All, When I am trying to run the following query for the same Publisher.xml file in TBC ME (attached

[tbc-users] Re: selection of tags

2010-03-05 Thread Andy
Hi All, I am new to this group and I am also working on something similar XML and RDF files. Well lot of information is provided and seems quite helpful. Well to add up to the questions.Traversing seems easy but the other tags which has list looks challenging. Ex: In the same file Publisher.xml

[tbc-users] Re: selection of tags

2010-03-05 Thread Scott Henninger
Hello Andy, and welcome! Traversing seems easy but the other tags which has list looks challenging One nice thing about XML is that it is very regular. Everything is in the tree, including data and attributes. All of this is captured in Semantic XML. In your case the problem is that you're

Re: [tbc-users] Re: selection of tags

2010-03-05 Thread jewel senn
Thank You Scott, I now understand what I was missing. On Fri, Mar 5, 2010 at 3:43 PM, Scott Henninger shennin...@topquadrant.comwrote: Hello Andy, and welcome! Traversing seems easy but the other tags which has list looks challenging One nice thing about XML is that it is very regular.

[tbc-users] Re: selection of tags

2010-03-05 Thread Scott Henninger
Those following this thread have probably noticed that the queries get rather long and difficult to follow. This highlights the need for an important feature of SPIN - creating abstractions for SPARQL queries. I'll introduce these through a couple of posts to this thread. The first is creating a

Re: [tbc-users] Re: selection of tags

2010-02-23 Thread sue
Hi, Thank you for guidance. I am able to catch up little bit. The following query works great when selecting Abstract Text. SELECT ?doc ?abstract WHERE { ?doc a :Abstract . ?doc composite:child ?absText . ?absText composite:child ?txtNode . ?txtNode sxml:text ?abstract } One

Re: [tbc-users] Re: selection of tags

2010-02-23 Thread sue
Hi, I came across one more post on conversion (but from RDF to CSV) and it seems the attached image is most likely what I am looking for, but I am not sure whether it works for XML conversions ? I can set the root folder which contains my hundreds of XML files and then it Iterates over file and

[tbc-users] Re: selection of tags

2010-02-23 Thread Scott Henninger
Sue; these are basic SPARQL question graph match questions. This is key to understanding the overall approach. One question here though, the variables ?doc, ?absText ?txtNode are user defined or its predefine (XML tags) ? They are variables. For example, the triple pattern: ?doc a :Abstract

[tbc-users] Re: selection of tags

2010-02-23 Thread Scott Henninger
Yes, this is the overall pattern you would use. Use IterateOverSelect to get all XML files. Then process the XML files (this is where the previous posts have been focused). Saving in a spreadsheet (delimited file) is a matter of creating a SELECT query that chooses the columns you want and a

Re: [tbc-users] Re: selection of tags

2010-02-23 Thread sue
Thank you Scott for the guidance and replies, will work on it :) On Tue, Feb 23, 2010 at 1:40 PM, Scott Henninger shennin...@topquadrant.com wrote: Yes, this is the overall pattern you would use. Use IterateOverSelect to get all XML files. Then process the XML files (this is where the

Re: [tbc-users] Re: selection of tags

2010-02-23 Thread sue
Thank you Scott for the guidance and replies, will work on it :) On Tue, Feb 23, 2010 at 1:40 PM, Scott Henninger shennin...@topquadrant.com wrote: Yes, this is the overall pattern you would use. Use IterateOverSelect to get all XML files. Then process the XML files (this is where the

RE: [tbc-users] Re: selection of tags

2010-02-22 Thread Irene Polikoff
@googlegroups.com [mailto:topbraid-composer-us...@googlegroups.com] On Behalf Of sue Sent: Monday, February 22, 2010 12:22 AM To: TopBraid Composer Users Subject: [tbc-users] Re: selection of tags On Sun, Feb 21, 2010 at 11:14 PM, sue vk.ontolog...@gmail.com wrote: hi, I am still new to this TBC

[tbc-users] Re: selection of tags

2010-02-21 Thread vk vk
On Sun, Feb 21, 2010 at 11:14 PM, sue vk.ontolog...@gmail.com wrote: hi, I am still new to this TBC/Semantics and Sparql, and I am working on conversion of XML documents and export it to CSV or TXT I open the XML file (sample attached) using the Semantic XML Documents and then I can see

[tbc-users] Re: selection of tags

2010-02-21 Thread sue
Thanks!! On Sun, Feb 21, 2010 at 11:14 PM, sue vk.ontolog...@gmail.com wrote: hi, I am still new to this TBC/Semantics and Sparql, and I am working on conversion of XML documents and export it to CSV or TXT I open the XML file (sample attached) using the Semantic XML Documents and then I