Question

I'm so far only reading the documentation, and it says that in order to use the Lisp client I have to use ACL. ACL, the Express edition has a 30 day expiration date. Since I'm too far from even considering any commercial use, I'm not likely to buy it in the observable future.

Did anyone try it with other Lisp? Is it at all permitted by the license? (My guess is "yes", because, for example, Python client doesn't require any special purchases of course.)

No correct solution

OTHER TIPS

Sure, actually. Allegrograph supports a superset of the Sesame 2.0 HTTP protocol for graph stores. The key documentation you should have a look at is:

http://www.franz.com/agraph/support/documentation/current/http-protocol.html

As an example, to request a list of repositories in the root catalog, the HTTP interaction would be as follows:

 GET /repositories HTTP/1.1  
 Accept: application/json  

 HTTP/1.1 200 OK  
 Content-Type: application/json; charset=UTF-8  

 [{"uri": "<http://localhost:10035/repositories/test>",  
   "id": "\"test\"",  
   "title": "\"test\"",  
   "readable": true  
   "writeable": true}] 

Note the Accept: header which, in this case, specifies JSON as the format of desired response. There are other formats available, ntriples for example, hut refer to the documentation for the most current list and proper MIME type to use for each.

One thing to be aware of, since you will be getting information back that has no semantic definition on your remote lisp instance, you will almost certainly want to define these yourself in order to build a useful library. So, among others, you would probably want to define data structures (say, classes for example) representing nodes, liberals, triples, and so on. This is actually not the easiest thing to know how to model effectively if you've never thought much about such a thing before, but it is fairly straightforward and not too involved in practice. I'd recommend perhaps starting out using a library such as Ora Lasilla's Wilbur, which I have used many tines and always find it a delight to read through. In fact, the original Allegrograph, years ago, started out using Wilbur as a basis,miso you will find that although there are many differences now there is still a reasonable compatibility of ideas between the two projects. You can fetch current sources for Wilbur from:

http://github.com/lisp/de.setf.wilbur

I hope this can at least help point you in the right direction to get started. Good luck!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top