[Haskell] ANN: hsparql, a SPARQL query generator/DSL and client

2009-07-08 Thread Jeff Wheeler
I'm excited to announce the first version of hsparql. HSparql makes it
easy to query SPARQL-compliant servers using a relatively intuitive DSL
and very simple client.

SPARQL is a SQL-ish query language for stores of RDF data. So, SPARQL
lets you search the structured data in several big databases. I wrote it
so that I could search DBpedia [1], a neat site that pulls structured
data from Wikipedia's infoboxes, and also ties it to remote data
services like MusicBrainz and US Census information. HSparql isn't tied
to DBpedia in any way, though, and can search any server.

The DSL looks something like this:

> simple :: Query [Variable]
> simple = do
> resource <- prefix (iriRef "http://dbpedia.org/resource/";)
> dbpprop  <- prefix (iriRef "http://dbpedia.org/property/";)
> foaf <- prefix (iriRef "http://xmlns.com/foaf/0.1/";)
> 
> x<- var
> name <- var
> page <- var
> 
> triple x (dbpprop .:. "genre") (resource .:. "Web_browser")
> 
> triple x (foaf .:. "name") name
> triple x (foaf .:. "page") page
> 
> return [name, page]

It's currently available on Hackage [2], and at the moment the source
is only available from the tarball hosted there.

I'd greatly appreciate any feedback on this package.

Thanks!
Jeff Wheeler

[1] http://dbpedia.org/
[2] http://hackage.haskell.org/package/hsparql

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] ANN: Hayoo! beta 0.4

2009-07-08 Thread Timo B. Hübel
Hello!

We are pleased to announce the next beta version 0.4 of Hayoo!, the Haskell 
API search engine with find-as-you-type and suggestions.

Visit Hayoo! here: http://holumbus.fh-wedel.de/hayoo

This release includes some major changes to the web interface:

- The full description of a function can now be displayed upon request, using
  the small "+" symbol in front of the description text

- The most common root modules for all functions found are shown as list,
  providing a shortcut for further restricting the current query

- Some example queries on the start page for easier use of Hayoo!

Additionally, we have again updated the search index. It contains all packages 
from Hackage as well as gtk2hs as of 06.07.2009, a total of 111.946 function 
and type definitions.

Please let us know about any problems, hints and suggestions.

Happy hacking,
Timo
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] Haskell Hack Day, Edinburgh, 30 August 2009

2009-07-08 Thread Eric Kow
Dear Haskellers,

I am pleased to report that we will be having a Haskell Hack Day in
Edinburgh, on Sunday 30 August (before the ICFP begins).  The day will
be held at the ICFP conference venue, the Royal College of Physicians.

The Hack Day will be free and open to all.
Come join us; it'll be a lot of fun!

Registration:
  http://www.haskell.org/haskellwiki/Hac7/Register

More information:
  http://www.haskell.org/haskellwiki/Hac7

Note also, for those of you who want to double your hacking pleasure,
we are on the look-out for some local pubs, cafes, etc that we can use
for a little pre-Hack-Day-hacking Saturday.  Please let us know if you
would like to join this expedition as well and if you know of any
good places to go.

Thanks!

Eric

-- 
Eric Kow 
PGP Key ID: 08AC04F9


signature.asc
Description: Digital signature
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] ANN: texmath 0.1.0.1 - conversion of LaTeX math to MathML

2009-07-08 Thread John MacFarlane
I'm pleased to announce an early release of texmath, a Haskell library
for converting LaTeX math formulas to MathML.

Hackage: http://hackage.haskell.org/package/texmath-0.1.0.1
Github: http://github.com/jgm/texmath/tree/master

The package includes a standalone test program, testTeXMathML,
and a CGI script, texmath-cgi, that can be used in web apps. This
script is used in the demos at

http://johnmacfarlane.net/texmath.xhtml
http://johnmacfarlane.net/texmath.html

texmath supports most of basic LaTeX and AMS extensions, but I'm sure
some things have been left out, so let me know if you try a formula that
should work but doesn't.

John
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell