Non-Graphical Tool for OWL Language - semantic-web

I am currently doing a project and I have to work with OWL. I have graphical tools like Protege and OntoStudio, but I need a non-graphical one. A tool that I can work with as I code in Eclipse or Turbo-C directly, Not but createing diagrams and convert it to the owl code. Can I find such a tool?

I haven't tested this, I usually edit using Protege (which also allows you to edit the code directly)
Some vim owl tools: https://github.com/mattpap/vim-owl-tools, seems to be abandoned
A plugin for Protege that allows you to edit directly: http://www.co-ode.org/downloads/manchesterowlsyntaxeditor/
Another one, based on Eclipse: http://owl-eclipse.projects.semwebcentral.org/html/userguide/tasks-3.1.html
You can also work with notepad++ or any text editor
My suggestion is: use Protege with any plugin to make the code edition easier, or begin with protege and then edit the generated file as you like

Related

how to call OWL API from vb.net.I would like to run SWRL rules uppn OWL ontology

I would like to run SWRL rules uppn OWL ontology and use the results in my VB.NET (web base).
I downloaded OWL API (a jar file)from http://owlapi.sourceforge.net/ but in the documentation I could not find how to call this jar file from vb.net .
can you help on this??
please
This has the same answer as Can you use Java libraries in a VB.net program?
OWLAPI is a java library; in order to use it from another programming language, what's required is the ability of that language to interface with Java.
I do not have VB.net experience, but if it's possible to interface with Java at all then it's possible to use OWLAPI the same way.

visualise instance of concepts in protègè 4.3

Good Day,
I want to visualise the concepts and their instances in protege 4.3. unfortunately I don't find the OntoViz plugin in this version.
Can you help in this context are there other plugin for this task for example
Thanks a lot in advance
OntoViz is an old plugin and might not work in Protege 4.3.
Take a look at:
Protege visualization plugins page
list of plugins compatible with Protege 4.3 (take a look at VOWL)
There is also OWLGrEd - graphical OWL editor for Windows in which you can build ontologies by drawing / editing their visual representation (disclaimer: I know people who develop it).
see also: OWLGrEd online ontology visualizer

Eclipse Generic File Templates

I've seen this question in various guises around the place, but as yet haven't found a suitable answer. If this is a duplicate, appologies (I'd be surprised if it wasn't a duplicate!)
Basically, I have a project which is using (mostly) shell code and sql. I want to make sure all the files have a similar setup, and that I document things consistently. To this end, I want to have template files / skeleton code within Eclipse.
It seems easy enough with Java, but not other file types. I have checked out ShellEd and it didn't appear to have this feature (correct me if I'm wrong).
It would be great to be able to add this as a new file type, such that I can say File -> New -> sh/sql and have the correct basic template with the right header etc.
Also, if possible I would like to be able to, one click, add a function prototype with the correct documentation to my files...
I thought this would be easy enough, but a few days of Googling and messing about, it seems I need to write a plugin of my own... but I can't beleive that it's not possible, more likely my Google skills aren't up to scratch...
any help?
cheers
Rob
P.S I'm normally a Vi (not Vim) user, but have had Eclipse forced upon me!
For SQL the Data Tools Platform Extender SDK (DTP) Eclipse project contains a SQL editor with templates (under Database Development in Install New Software).

Develop a plugin editor for eclipse

I have a question for you. My teacher proposed a couple of thesis to me. Basically to develop a plugin for eclipse. There are 2 options:
1)An editor for A-SPL language with syntax highlighting, auto completation of the cose, errors detection and so on........to help people that need to use S-APL
2)An editor to help people to design GUI in S-APL......something like a framework where you can drag widgets and there is a kind of automatic completation of the code....
The thesis should last 4 months......i should not implement everything but make a kind of prototype that maybe in the future someone will finish and make properly work.
I never did something like this so i would like to know if it is difficult, which skills are needed, which languages i should know to create eclipse plugins (for example i know java and python) and so on......to figure out if it is something i can do.
I'd suggest to look into the Xtext (for a textual editor) and Graphiti (for a graphical editor) projects.
You'll need Java for Eclipse plugins.
You need to read a book / the eclipse plugin wiki about Eclipse architecture as it's critical to know the paradigms in use.
There's an example XML plugin editor that you can create from the 'New Plugin' wizard which would be a good starting point for the first option.
good luck. :)

Hibernate/NHibernate mapping file editor

I'm looking for an editor that has the help from
http://www.hibernate.org/hib_docs/nhibernate/html/mapping.html
built in, and allows simple editing of the XML files in a GUI fashion. I realise there's CodeSmith and MyGeneration, but from what I remember these only go one way, and don't allow editing existing HBM files.
Probably worth taking a look at the NHibernate Query Analyzer by Oren Eini.
Primarily used to analyze HQL queries it also has a fairly useful HBM editor:
NHibernate Query Analyzer Screenshot http://img6.imageshack.us/img6/5617/nhqa.gif
Old Project Page (with flash demo): http://ayende.com/projects/nhibernate-query-analyzer.aspx
New Project Page: http://www.assembla.com/wiki/show/NHibernateQueryAnalyzer
This will allow editing for HBM files and will show all of the available attributes for each mapping node.
Given that you can download the source code it wouldn't be that trivial to add the inline help.
I don't believe there is an editor for Hibernate/NHibernate mapping files that has context-sensitive help. If you are a .NET developer (using NHibernate and Visual Studio .NET) you can edit the mappings with IntelliSense by registering a schema document: see Using NHibernate with Visual Studio .NET for instructions.
Another option to consider is using the NHibernate's Fluent API. This replaces mapping files with strongly-typed C# code.
There is another option with Visual Studio. If you have Resharper you can download the plug-in for NHibernate mapping files. This solution has worked out perfectly for me. You can read more about the plug in here: http://nhplugin.lieser-online.de/. Hope this works for you.
Why not use ActiveWriter to generate the mappings? You can always edit them afterwards. AW generates the model / mapping for both NHibernate and ActiveRecord. The editor runs WITHIN Visual Studio.NET and you can do drag-drop via server explorer.
The best option I've come across is is IDEA's Hibernate/JPA editor. IDEA is not free, however.
Have you tried Hibernate's own Eclipse plug-in named Hibernate Tools for Eclipse and Ant?
http://www.hibernate.org/255.html
Even if you dont have expirience with Eclipse and its add-ons it should be fairly straightforward to install and use their addon:
Just download it, unzip it into the eclipse directory, and fire up the IDE.
What you need to do next is to open up the Hibernate perspective.
I'm using VisualStudio and the schema (nhibernate-mapping.xsd) to activate the intellisense.
The plug-in for R# is useful to check the mapping with the class.