Guidelines for loading the Apertium v2 data in Fuseki

  1. DOWNLOAD THE RDF DATA
  2. INSTALL AND RUN THE TRIPLE STORE
  3. ADD A NEW DATASET
    • Go to "manage datasets" and create a new "persistent" one. You can name it "apertium", for instance
      image Fuseki
    • Then, click on "upload data" and select the dictionary files you want to store in the dataset. For instance, go to the "apertium-an-ca-rdf" folder and select the three files on it (two lexicons monolingual lexicons + one translation set)
  1. RUN A SPARQL QUERY

PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX skos: <http://www.w3.org/2004/02/skos#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX vartrans: <http://www.w3.org/ns/lemon/vartrans#>
PREFIX lime: <http://www.w3.org/ns/lemon/lime#>

SELECT ?trSet count(?trans)
WHERE {
     ?trSet a vartrans:TranslationSet ;
        vartrans:trans ?trans .
}
group by ?trSet