Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close
To build squall2sparql, here are the instructions:

1. clone the Git repository in some directory,
   and its dependencies (Git submodules)

% git clone https://bitbucket.org/sebferre/squall2sparql.git
% cd squall2sparql
% git submodule init
% git submodule update

2. compile the project. This only assumes you have installed
   the OCaml compilers version 3.12.1 (see http://caml.inria.fr/ocaml/release-prev.en.html).

% make

If successful, you get the following "user interfaces":
- script (squall2sparql): takes a SQUALL sentence on the standard input,
    and returns the SPARQL translation on the standard output
- interpreter (squall.exe): prompts the user for SQUALL sentences, and
    displays its SPARQL translation, as well as intermediate representations
    in between
- Ocsigen web form (webform.cma, webform.conf, webform.css): a web site
    featuring a SQUALL form, connections to DBpedia SPARQL endpoints, and
    SQUALL examples. Assuming you have installed the Ocsigen server
    (see http://ocsigen.org/), you can run it by executing

% ocsigenserver -c webform.conf

Recent activity

Sébastien Ferré

Sébastien Ferré pushed 22 commits to sebferre/squall2sparql

a0ac0e3 - [webform] upgrading to Ocsigen 3
74699a6 - Finer error messages in [main], raising Expect exceptions in [syntax]
db1db0c - More correct handling of brackets + more parser error messages
2c51f00 - Conditionals in expressions, and their translation as SPARQL graph patterns
773e358 - Appositions can be proper nouns and patterns (in addition to labels)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.