vote up 2 vote down
star
1

I can spell RDF, RDFS, and OWL; but that's about all I can do, so bare with me.

I think I need an RDF editor.

In Eclipse, I've been playing with TopBraid Composer, which I understand is for working with ontologies. And 'ontologies' I understand to mean class structures written in RDFS or OWL. Um, OK?

So now I have what I think may be a valid ontology, I'd like to create some instances of my shiny new classes. I need RDF for that, right?

I can't be alone in this. When you are working with RDF, do you work in a text editor, or is there a more specific tool out there?

Have mercy on my swirling brain.

flag

4 Answers

vote up 1 vote down
check

For small chunks of RDF (or RDFS/OWL) I usually just use a text editor. For producing RDF in larger quantities I'm usually creating it programmatically based on data in a database or a file.

link|flag
vote up 3 vote down

You may want to have a look at Protégé, which is an ontology editor, but can also be used to enter individuals/instances. It may be a bit over the top, though, as it's a quite large and complex tool.

link|flag
Just tried Protégé. Yes, it is pretty complex, but I guess that's the nature of the semantic knowledge beast. I encountered error, though, and the error messages didn't help. – dpinn Jan 28 at 22:21
vote up 1 vote down

You can create instances in TopBraid Composer too.

Just right click on an ontology class and select Create New Instance...
Then you will be asked to identifier of the new instance.
Next you get a view where you can populate some properties.

But beware - TopBraid shows all properties that have the same rdfs:Domain which can lead you to some wrong conclusions if you come from OO background. Like that rdfs:Domain links a property to a Class like in OO design. Keep in mind that you have to fill only the properties that you want, not everything and that you can add more properties from the plus button in the top right corner.

Also there is an Instances panel in the bottom of the central panel. It shows all instances that are from the currently selected type.

link|flag
Is it correct use of terminology to say that an ontology includes instances? – dpinn Jan 29 at 13:19
There is a very thin border between instances and meta-data in semantic world as far as I can see it. So I would say its OK for some cases to have instances in ontology. But I would recommend to separate the instances in another file. You can include/import the ontology there and have everything running nicely. – ViktorZ Jan 30 at 9:32
vote up 0 vote down

It is not free (well, fairly pricy, in fact) but I had some good experiences with Altova's Suite, if you are o.k. using RDF/XML (and not Turtle). There is also a visual editor for (simple) vocabulary editing, too. It is, in fact, an xml editor (which helps a lot already in filtering out some of the common problems) but knows about the basics of RDF/XML.

I must admit that an average XML editor (in emacs, jEdit, or elsewhere) does help a lot by itself.

link|flag

Your Answer

Get an OpenID
or

Not the answer you're looking for? Browse other questions tagged or ask your own question.