Parole Simple lemon

The 'Parole/Simple lemon' lexicons were generated from the LMF versions of the Parole Simple lexicons created by the IULA UPF during the METANET4U project.

The original PAROLE lexica (20,000 entries per language) were built according to the model based on EAGLES guidelines and GENELEX results. The goal of SIMPLE project was to add semantic information, selected for its relevance for LE applications, to the set of harmonised multifunctional lexica built for 12 European languages by the PAROLE consortium. PAROLE +SIMPLE lexica contain morphological, syntactic and semantic information, organised according to a common model and to common linguistic specifications.

More information at PAROLE/SIMPLE ‘lemon’ ontology and lexicons.

Parole Simple Ontology:

Catalan Lexicon

The orginal 'Catalan Parole Simple' lexicon was created by the Institut d'Estudis Catalans.

The current 'Catalan Parole Simple lemon' lexicon was generated from the LMF version created by the IULA-UPF during the METANET4U project.

The Catalan Parole/Simple lemon Lexicon is linked to the Catalan EuroWordNet lemon lexicon (Lexical entries with same lemma and PoS tag are linked via sameAs relation).

Go to top

EuroWordNet lemon (3.0)

The EuroWordNet lemon lexica were generated from the LMF versions of the Multilingual Central Repository (MCR) EuroWordNet lexicons (version 3.0). The MCR (http://adimen.si.ehu.es/web/MCR). integrates in the same EuroWordNet framework wordnets from five different languages: English, Spanish, Catalan, Basque and Galician. Its format was defined during the KYOTO Project (http://www.kyoto-project.eu).

Catalan EuroWordNet lemon Lexicon (3.0):

The Catalan EuroWordNet lemon Lexicon is linked to the Catalan Parole Simple lexicon. (Lexical entries with same lemma and PoS tag are linked via sameAs relation)

Spanish EuroWordNet lemon Lexicon (3.0):

Basque EuroWordNet lemon Lexicon (3.0):

  • Access point: http://lodserver.iula.upf.edu/id/WordNetLemon/EU/
  • Data source: https://github.com/martavillegas/EuroWordNetLemon
  • SPARQL endpoint: http://lodserver.iula.upf.edu/sparql with Graph IRI: http://ewnEU.edu
  • Original (LMF) source: http://lod.iula.upf.edu/resources/metadata-WordnetLMF-EU
  • Galician EuroWordNet lemon Lexicon (3.0)

  • Access point: http://lodserver.iula.upf.edu/id/WordNetLemon/GL/
  • Data source: https://github.com/martavillegas/EuroWordNetLemon
  • SPARQL endpoint: http://lodserver.iula.upf.edu/sparql with Graph IRI: http://ewnGL.edu
  • Original (LMF) source: http://lod.iula.upf.edu/resources/metadata-WordNetLMG-GL
  • Go to top

    SPARQL queries

    Here you can find some sample queries. Just copy paste the code into the sparql end point.

    Querying Parole/simple lemon lexicon

    Mass nouns (getting semantic features and semantic class for all Mass nouns)

    prefix lemon:   
    prefix lexinfo: 
    prefix parole:  
    
    SELECT ?label ?classLabel ?featLabel
    WHERE { 
    ?entry lemon:sense ?sense.
    ?sense parole:countability parole:MassNoun ; 
            rdfs:label ?label ; 
    	parole:semanticClass ?class ; 
    	parole:semanticFeature ?feat .
    ?class rdfs:label ?classLabel.
    ?feat rdfs:label ?featLabel.
    
    }
    GROUP BY(?label)
    

    Prepositional verbs (getting bounded prepositions)

    prefix lemon:   <http://lemon-model.net/lemon#>
    prefix lexinfo: <http://www.lexinfo.net/ontology/2.0/lexinfo#>
    prefix parole:  <http://lodserver.iula.upf.edu/ParoleSimple/ontology/>
    
    SELECT ?entry ?label ?marker
    WHERE { 
    ?entry lemon:synBehavior?syn ; rdfs:label ?label .
    ?syn a ?frame ; lemon:marker ?marker .
    ?frame rdfs:subClassOf lexinfo:PPFrame .
    }
    ORDER BY ?entry

    Querying EuroWordNet lemon lexica

    Getting Synsets

    Given a lemma and a part of speech get all Synsets ('medicina' + 'noun' in the Spanish lexicon)

    prefix lemon:   <http://lemon-model.net/lemon#>
    prefix lexinfo: <http://www.lexinfo.net/ontology/2.0/lexinfo#>
    
    SELECT ?synset ?label FROM <http://ewnES.edu> 
    				WHERE { 
    				?entry lemon:canonicalForm ?form ; lexinfo:partOfSpeech lexinfo:noun ; lemon:sense ?sense .
    				?form lemon:writtenRepresentation "medicina". 
    				?sense lemon:reference ?synset .
    				?synset rdfs:label ?label .
    				}

    Getting most prolific Synsets

    Lists most frequent target Synsets in synset relations in the Spanish lexicon.

    prefix ewn:   <http://lodserver.iula.upf.edu/euroWordNetMCR/>
    
    SELECT  count(?target)  ?label ?target
    FROM <http://ewnES.edu> 
    FROM <http://ewnCAT.edu>
    
    WHERE {
        GRAPH <http://ewnES.edu>  { ?subject ?relation ?target . 
                                    ?target rdfs:label ?label . }
        GRAPH <http://ewnCAT.edu> { ?relation rdfs:subPropertyOf ewn:synsetRelation . }
    }
    ORDER BY DESC (count(?target)) 
    
    

    Linking Parole/Simple and EuroWordet lexicons

    Given a lemma and a part of speech get all senses from the Parole/Simple Catalan and the Catalan EuroWordNet lexicons. (In the example we use "medicina" & "commonNoun" and start the query in the Parole/simple dataset)

    prefix lemon:   <http://lemon-model.net/lemon#>
    prefix lexinfo: <http://www.lexinfo.net/ontology/2.0/lexinfo#>
    
    SELECT ?sense 
    		WHERE { {?entry lemon:sense ?sense} UNION { ?same lemon:sense ?sense}
    				{
    				SELECT ?entry ?same FROM <http://IulaParole.edu> 
    				WHERE { 
    				?entry lemon:canonicalForm ?form ; lexinfo:partOfSpeech lexinfo:commonNoun ; owl:sameAs ?same .
    				?form lemon:writtenRep "medicina". }
    				}
    		}

    You should get something like this (two senses from the Parole/Simple lexicon and four senses from the EuroWordNet lexicon):

    sense
    http://lodserver.iula.upf.edu/id/ParoleSimple/lexiconCAT/USem1329
    http://lodserver.iula.upf.edu/id/ParoleSimple/lexiconCAT/USem1330
    http://lodserver.iula.upf.edu/id/WordNetLemon/CAT/S-medicina-n_1
    http://lodserver.iula.upf.edu/id/WordNetLemon/CAT/S-medicina-n_2
    http://lodserver.iula.upf.edu/id/WordNetLemon/CAT/S-medicina-n_3
    http://lodserver.iula.upf.edu/id/WordNetLemon/CAT/S-medicina-n_4

    Retrieves all 'sense information' from Parole/Simple and EuroWordNet for "medicina" "commonNoun":

    prefix lemon:   <http://lemon-model.net/lemon#>
    prefix lexinfo: <http://www.lexinfo.net/ontology/2.0/lexinfo#>
    
    SELECT ?sense ?p ?o 
    WHERE { ?sense ?p ?o {
    		SELECT ?sense 
    
    		WHERE { {?entry lemon:sense ?sense} UNION { ?same lemon:sense ?sense}
    				{
    				SELECT ?entry ?same FROM <http://IulaParole.edu> 
    				WHERE { 
    				?entry lemon:canonicalForm ?form ; lexinfo:partOfSpeech lexinfo:commonNoun ; owl:sameAs ?same .
    				?form lemon:writtenRep "medicina". }
    				}
    		}
    
    }}