Skip to content

About

Selection of SPARQL queries to be used in the LiLa endpoints

Resources

Stars

0 stars

Watchers

5 watching

Forks

Latest commit

 

History

94 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPARQL-queries

Selection of SPARQL queries to be used in the LiLa endpoints: https://lila-erc.eu/sparql/index.html.

List of available queries (in alphabetical order):

  • affixes-nouns.rq: counts the frequency of affixes (both prefixes and suffixes) attached to nouns in the LiLa Knowledge Base and sorts them from the most to the least frequent;
  • authorsDied2CE.rq: lists the works interlinked in the LiLa Knowledge Base with a date of writing in the II century CE, together with their author and number of tokens;
  • CLaSSES-count-token-affix.rq: counts the number of occurrences of words in the CLaSSES corpus that belong to a lemma featuring an affix (either prefix or suffix) in its derivational history, grouped by affix;
  • CLaSSES-lemma-affix.rq: lists the lemmas in the CLaSSES corpus that feature an affix (either prefix or suffix) in their derivational history and reports the number of their occurrences therein;
  • CLaSSES-tok-ad.rq: lists all the tokens of the documents of the CLaSSES corpus that belong to a lemma featuring a specific affix in its derivational history (e.g., prefix n. 5 "ad-");
  • CLaSSES-tok-inDBG.rq: lists the lemmas with at least one occurrence both in the CLaSSES corpus and in Caesar's "De bello gallico" (from the LASLA corpus) and reports the number of their occurrences in the two corpora;
  • corpora.rq: lists all the corpora currently available in the LiLa Knowledge Base;
  • dante-loanwords.rq: counts in the Latin works of Dante Alighieri the occurrences of those Latin words that are etyma of Latin loanwords in the Italian works of Dante Alighieri (as provided by the "Dante Latin Loanwords" lexical resource);
  • distinctivelammas-DVE.rq: find all the lemmas that are used by Dante only in the "De Vulgari Eloquentia" and not in his other works;
  • distinctivelemmas-Fibonacci.rq: finds all the lemmas that are used only by Fibonacci, thus are not present in the other corpora currently linked in the LiLa KB;
  • ennius.rq: counts the tokens of each lemma in Ennius' "Annales" and in Lucan's "Pharsalia", computes their relative frequencies and the difference between them, and sorts the results by this difference (positive values indicate a higher relative frequency in the "Pharsalia");
  • etymology.rq: retrieves all lemmas with a Proto-Italic reconstructed form;
  • Example-query.rq: searches for the occurrences of the words whose definition in the Lewis & Short dictionary includes the word "religion" in (a) the Latin works of Dante Alighieri and (b) the "Confessiones" by Augustine (variant of ls.rq retrieving definitions via ontolex:evokes);
  • flCat.rq: retrieves the inflection tagset of the LiLa ontology (inflection types, classes and their labels);
  • forms-DVE.rq: counts the occurrences of each form of the lemmas 'dico' and 'facio' in the work "De Vulgari Eloquentia" of Dante Alighieri;
  • forms-lemma.rq: given a specific lemma (e.g., "loquor"), it retrieves all the nouns and proper nouns that are annotated as its subject (nsubj in DanteSearch, Sb in IT-TB), using the citation structure of the documents (variant of UDante-syntax.rq);
  • greek-Aulularia.rq: retrieves all lemmas of the "Querolus sive Aulularia" corpus with a Greek etymology (and thus included in the "Index Graecorum Vocabulorum in Linguam Latinam") and having the suffixes "-or" and "-ic";
  • greek-etymology.rq: retrieves all the lemmas with a Greek etymology (and thus included in the "Index Graecorum Vocabulorum in Linguam Latinam");
  • Harmonized_lmz.rq: retrieves word types by harmonized lemmatization, i.e., regardless of whether a token is lemmatized to a lemma with PoS VERB or to one of its hypolemmas with PoS ADJ, counting their tokens in the corpora linked to LiLa;
  • ittbTreeObj.rq: finds chains in the IT-TB where a common or proper noun depends as Obj (PDT formalism) but not as obj (UD formalism) on a verb belonging to either synset "cause to seem less serious; play down" or "fight against or resist strongly", and is head of an adjective with positive polarity in LatinAffectus;
  • kwic.rq: builds a KWIC (Key Word In Context) concordance of a lemma (e.g., "species") in the corpora linked to LiLa, with author, author's dates, title and a context window of 20 tokens on the left and on the right (runs only on Virtuoso endpoints);
  • laslaCatullo.rq: finds all the lemmas that are used only by Catullus, thus are not present in the works of other authors linked in the LiLa KB;
  • laslaDicoFacio.rq: counts the occurrences of the forms of the lemmas 'dico' and 'facio' in Dante's "De Vulgari Eloquentia" and in Seneca's "De Otio";
  • laslaDocument.rq: lists all the texts in the LASLA corpus;
  • laslaNegative.rq: lists the lemmas with negative polarity in LatinAffectus occurring in the LASLA corpus, with their number of occurrences;
  • laslaPatior.rq: given a lexical base (e.g., "patior"), it finds all the lemmas belonging to that lexical base in UDante, IT-TB, LASLA and in the works of Seneca;
  • latinwordnet_evoke50.rq: selects the synsets in the Latin WordNet that are evoked by more than 40 lexical entries;
  • latinwordnet_synset.rq: retrieves all the lemmas belonging to a specific synset;
  • lemmi-POS-gender.rq: counts the lemmas in the LiLa Knowledge Base having a specific Part-of-Speech (e.g., NOUN) and a specific gender (e.g., neuter);
  • lemmi-POS-suffix.rq: retrieves the lemmas in the Lemma Bank with a specific Part-of-Speech (e.g., NOUN) and a suffix;
  • lemmi-POS.rq: retrieves the lemmas in the lemmaBank with a specific Part-of-Speech (e.g., NOUN);
  • lexicala_lasla.rq: retrieves the lemmas of the Opera Latina corpus by LASLA that do not have a lexical entry in the Lexicala Latin-French dictionary;
  • lexicala_token.rq: retrieves the tokens of the Opera Latina corpus by LASLA whose lemma does not have a lexical entry in the Lexicala Latin-French dictionary;
  • lexicons.rq: lists all the lexicons currently available in the LiLa Knowledge Base;
  • lila_documents.rq: lists all the documents available in the LiLa Knowledge Base;
  • lila_lexical.rq: lists all the lexical resources available in the LiLa Knowledge Base;
  • ls-grow.rq: retrieves all the verbs in the LiLa Lemma Bank whose definition in the Lewis & Short dictionary includes the word "grow";
  • ls.rq: searches for the occurrences of the words whose definition in the Lewis & Short dictionary includes the word "religion" in (a) the Latin works of Dante Alighieri and (b) the "Confessiones" by Augustine;
  • NLW_source_attestation.rq: retrieves all attestations and sources in the Neulateinische Wortliste (NLW);
  • prinparlat3th.rq: counts the number of distinct lemmas in LASLA for each inflection micro-class of the verbs of the third conjugation in PrinParLat;
  • prinparlat_infl.rq: retrieves the lemmas of LASLA that are assigned a specific inflection class in PrinParLat (e.g., the one of "laedo": "laedere", "laesi", "laesum");
  • prinparlatWfl.rq: extracts the perfect forms (1st and 3rd person singular) of all the verbs that are directly derived from "pono" via prefixation according to Word Formation Latin (WFL);
  • protoItalic-Monarchia.rq: retrieves all the lemmas with a Proto-Italic reconstructed form in the "Monarchia" of Dante Alighieri;
  • query_lexicala.rq: selects the entries of the Lexicala Latin-French dictionary whose definitions include the word "enlever" and whose lemmas are formed with the prefix "de-" or "a(b)-", and counts their tokens in five corpora (CIRCSE Latin Library, CLaSSES, LASLA, Fibonacci, UDante);
  • query_natura_minus_LS.rq: retrieves all the lemmas whose entries in the Lexicon Bohemorum include the word "natura" in their definition and that do not occur in the Lewis & Short dictionary, and returns the number of their occurrences in the corpora linked to LiLa;
  • sentiment-paragraph.rq: performs lexicon-based sentiment analysis on each paragraph of the letters written by Dante Alighieri using LatinAffectus v2;
  • sentiment-text.rq: performs lexicon-based sentiment analysis on each text of the Epistole by Dante Alighieri using LatinAffectus v2;
  • SingIndDucoEo.rq: searches the IT-TB for the occurrences of singular indicative forms of lemmas that belong to the lexical base of either "duco" or "eo";
  • synset-frame.rq: finds the forms that have a specific synset in the currently revised portion of Latin WordNet (e.g. 00179311-v: "take out, take away") and a valency frame with specific functor (e.g., ADDR "addressee") in Latin Vallex;
  • ThreeFunctors.rq: finds all the verbs of the Latin WordNet whose synset is linked to a Latin Vallex valency frame with exactly three functors;
  • tokens.rq: given a lemma (e.g., "occido"), it retrieves all the tokens having that lemma in the works linked in the LiLa knowledge base;
  • tokensbyCentury.rq: lists the works interlinked in the LiLa Knowledge Base by title, author and date, reporting the total number of tokens of each work (works without a date of writing are not reported);
  • UDante-affix.rq: given an affix (e.g., “in- (negative)”), it finds all the lemmas with such affix in UDante and IT-TB;
  • UDante-lexicalbase.rq: given a lexical base (e.g., "loquor"), it finds all the lemmas belonging to the same lexical base in Dante and IT-TB;
  • UDante-sentiment.rq: retrieves the list of lemmas with a specific polarity in UDante;
  • UDante-synset.rq: finds all the lemmas belonging to a specific synset in UDante and IT-TB;
  • UDante-syntax.rq: given a specific lemma (e.g., "loquor"), it retrieves all the lemmas that are annotated as nsubj in Dante and subj IT-TB;
  • Velez_base.rq: searches for the entries of the Velez's Latin-Portuguese dictionary whose lemmas have a specific lexical base (e.g., "dico");
  • Velez_def.rq: searches for all the lemmas in the LiLa Lemma Bank whose definition in the Velez's dictionary includes a specific word (e.g., "mulher", woman);
  • Velez_entry.rq: searches for the entries of the Velez's dictionary whose lemmas have a specific written representation (e.g., "sero"), with part of speech, inflection type and definition;
  • Velez_text.rq: searches for the occurrences of verbs in Catullus' "Liber" (LASLA corpus) that have an entry in the Velez's dictionary;
  • wiktionary-etymons-alexander.rq: given a lemma (e.g., "Alexander"), it retrieves all its etymons as recorded in the "English Wiktionary Latin Etymologies" lexical resource.

About

Selection of SPARQL queries to be used in the LiLa endpoints

Resources

Stars

0 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors