Question: the link: <http://www.mind4m.com/stories.php?pageid=10>

what's this line meaning?

```
var curChildIndex = $(this).parent().prevAll().length + 1;

```

select all the li label before the current a label the add one? am i right? but why it adds one?

```
$(this).parent().children('div:nth-child('+curChildIndex+')')
.fadeIn('normal',function() {
                    $(this).addClass('current');
                });

```

i can't understand this well. could i write this part to `children('div:nth-child(curChildIndex)')`

Answer: 
@Ian Dickinson's answer is spot on.
If you wish to write this output to a file you can use this line instead

```
 m.write( new FileWriter("some-file.owl"), "RDF/XML-ABBREV" );

```

You can then view this file either through protege or on WebVowl.
Code + explanation of 

* Jena RDF API tutorial
* SPARQL tutorial
* Ontology API overview

<http://incubator.apache.org/jena/getting_started/index.html>

decent place to start with jena.