Outliner Software Forum RSS Feed Forum Posts Feed

Subscribe by Email

CRIMP Defined

 

Tip Jar

Semanlink

< Next Topic | Back to topic list | Previous Topic >

Posted by jperlman
Apr 3, 2015 at 02:52 AM

 

This is an application that I would like to add, for those interested, it is named Semanlink

It is a personal information manager that uses RDF - Resource Description Framework…

(RDF - A Semantic Web concept)...

As quoted from site:
“It lets you add tags, as well as other RDF metadata, to files, bookmarks and short text notes that it allows to write. Providing a simple way to organize the tags in a graph”... (graph in the sense of RDF, not necessarily a graphical representation of a graph, though this is possible, too with RDF data.

“it allows you to incrementally define the vocabulary you use when annotating documents with metadata.”

running instance and example of Semanlink application:
You can find the site at http://semanlink.net

Github project page:
https://github.com/fpservant/semanlink

I should have posted this quite a while back but I was unable to as I couldn’t remember my logins for this forum. I started from scratch posting again, just recently.

I have an instance of Semanlink installed on my own site. Since Semanlink is a Java servlet app for personal use it does not have authentication built in so I needed to use Apache Tomcat’s authentication for the site. There are instructions, a video which explains how to set it up on your own computer, with Apache Tomcat on Windows, for those unfamiliar. I will add link once I find it again.

Here is another quote from the site:

“Like hierarchical file systems, Semanlink makes extensive use of tree traversal. But it adds to these hierarchies the possibility to store each document in several “directories” at the same time (aliases or shortcuts, by the way, are not sufficient: given a file, you cannot know to which directories its shortcuts belong to).”

and

“Like ontologies, Semanlink taxonomies are graph based. But keeping things simple, it allows for dynamic growth and frequent modification of hierarchies.”

To comment, the author of Semanlink has his own instance which you cannot edit from the web, as it is a publicly viewable instance… He uploads his personal instance’s data of Semanlink, which he runs locally, then uploads his data to the public instance at Semanlink.net… So, yes it’s possible to make a public instance, though, through some steps to do so.

++++++++++

There is one thing I noticed that needs to be modified for it to work fully as intended, after writing to the author.

my email:
——

I ran into a bit of a difficulty, I am not sure what is the reason. I am using OpenJDK 1.6.0 on server.

I installed instance of semanlink on windows as desktop instance, too.

I wanted to see if I could run semanlink with a password authentication, for personal use, on the web. I succeeded by adding some code to web.xml under webapps/semanlink/WEB-INF/web.xml .

This is what I added, at the beginning of the web.xml file. Note, I am no expert, but I played around a bit and learning on the web, to accomplish this working instance, I know it is not a big deal, but it at least lets me keep my site safe in a basic way. I modified tomcat-users.xml to add the protected realm - bare with me, I am very new to this, but I tried doing this on Tomcat7 and, if I remember, I read that there have been new changes to Tomcat in tomcat7 from tomcat6, so I decided to try tomcat6, which I have installed on Windows Vista, with Oracle Java 1.7. Note, Semanlink works with Tomcat7 and openjdk 1.6.0 on a debian server I tested, as well, though I now have Centos with Tomcat6 and Openjdk, which was less difficult to get running for me with tomcat6.

——-

 

protected

 

semanlink

 

/*

 

protected

 

BASIC semanlink

——-

I write to say I encountered an error both on the Centos 6.5 server instance at my site and the desktop instance I have which is unmodified without user authentication.

I get this error doing the following - editing and trying to modify the title of a bookmark when clicking ‘set Title’ button.

If you would like to login and look at my install, if it helps, it is ok. I am much pleased of any feedback that you may give.

Maybe I am not understanding the application properly, though. Sincerely, thank you. I will further read the details and instructions of the application. Sincerely, Jariell A Perlman

 

sorry for the problem that you got. I think that I understand what happens.

Please look at the “conf” directory inside your “semanlinkDataDir”. There should be a props.rdf file there, that should be beginning with something like:

 
 
 
 
 
 
 
]>

xmlns:sl="&sl;"
xmlns:slc="&slc;"
xmlns:dc="&dc;"
xmlns:rdf="&rdf;"
xmlns:rdfs="&rdfs;"
xmlns:foaf="&foaf;"
xmlns:owl="&owl;"
xmlns:skos="&skos;"
>

Please verify that it includes the declaration for the “dc” prefix
These declarations of namespaces are used by the application to convert URIs expressed using prefix for namespaces (eg. dc:title) to full URIs (eg http://purl.org/dc/elements/1.1/title). It happens that the “Set Title” button to change the title of a bookmark sends its query to the server using the dc:title notation. In your case, the program has not been able to convert it to the full URI, hence the exception. This is obviously an error from me: the user changing a config file should not prevent the program to work correctly! Note that if you didn’t change the file, the problem then must be that the program do not find it. In this case, you’ll have to check the semanlinkDataDir param.

Hello, Mr. Servant… Thank you, it corrected it. Works just as intended, thankfully. PS Note, I add the props.xml file which was missing a lot of other lines, just as you sent. I added all of them. I send to you this file so you see what is missing, if you have not already seen.

Thank you, again… Sincerely, Jariell A Perlman

PS if I have any questions in future I will write, but first I will study application, and learn how to use. I am greatful I came back to trying to use Semanlink as I finally have a working instance, both locally and on web.

-jperlman

 

 


Posted by jperlman
Apr 3, 2015 at 10:09 PM

 

Sorry, I just want to say that part of my post was truncated… the code snippets, that is,didn’t go through and weren’t completely posted…

-jperlman

 


Posted by jperlman
May 15, 2015 at 02:10 AM

 

I have learned recently that Semanlink has been updated…  and should install without the difficulties stated in my last post. Semanlink software has been updated - but Tomcat 7 is now required… as a result of upgraded Jena software - a semantic web software used in Semanlink.

I was told that Github repositories need to be updated. Download link for the updated version of Semanlink is available at the Semanlink.net website..

 


Back to topic list