From 5aaec732486d4af6fb7e839c4b28fd2cff3ef148 Mon Sep 17 00:00:00 2001 From: tarcisiotmf Date: Fri, 22 Nov 2024 12:07:06 +0100 Subject: [PATCH] removed a non-relevant comma --- src/sparql_llm/embed_entities.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/sparql_llm/embed_entities.py b/src/sparql_llm/embed_entities.py index a931b38..76a6df1 100644 --- a/src/sparql_llm/embed_entities.py +++ b/src/sparql_llm/embed_entities.py @@ -217,7 +217,6 @@ def generate_embeddings_for_entities(): up:scientificName ?label . }""", }, - , "uniprot_disease": { "uri": "http://purl.uniprot.org/core/Disease", "label": "Disease", @@ -225,12 +224,12 @@ def generate_embeddings_for_entities(): "endpoint": "https://sparql.uniprot.org/sparql/", "pagination": False, "query": """PREFIX rdfs: -PREFIX skos: -PREFIX up: -SELECT ?uri ?label ?type WHERE { - ?uri a up:Disease ; - skos:prefLabel ?label . -} """, + PREFIX skos: + PREFIX up: + SELECT ?uri ?label ?type WHERE { + ?uri a up:Disease ; + skos:prefLabel ?label . + }""", }, }