From 1beeb22018dd7dc68e2da3bc733a44fd5f5a385b Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Fri, 15 Dec 2023 14:42:50 +0300 Subject: Update ProbeSet's context. * gn3/api/metadata.py (probesets): Update context. Signed-off-by: Munyoki Kilyungi --- gn3/api/metadata.py | 56 +++++++++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 25 deletions(-) (limited to 'gn3') diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py index 50b9561..303c228 100644 --- a/gn3/api/metadata.py +++ b/gn3/api/metadata.py @@ -918,37 +918,43 @@ CONSTRUCT { """).substitute(prefix=RDF_PREFIXES, name=name) _context = { "@context": BASE_CONTEXT | { - "gnt": "http://genenetwork.org/term/", - "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "skos": "http://www.w3.org/2004/02/skos/core#", - "dct": "http://purl.org/dc/terms/", - "name": "rdfs:label", "alias": "skos:altLabel", + "alignID": "gnt:hasAlignID", + "blatMbEnd": "gnt:hasBlatMbEnd", + "blatMbStart": "gnt:hasBlatMbStart", + "blatScore": "gnt:hasBlatScore", + "blatSeq": "gnt:hasBlatSeq", "chip": "gnt:hasChip", - "targetId": "gnt:hasTargetId", - "symbol": "gnt:symbol", - "description": "dct:description", - "targetsRegion": "gnt:targetsRegion", "chr": "gnt:chr", + "chromosome": "gnt:chromosome", + "comments": "rdfs:comments", + "dct": "http://purl.org/dc/terms/", + "description": "dct:description", + "gene": "gnt:gene", + "kgID": "gnt:hasKgID", + "location": "gnt:location", "mb": "gnt:mb", - "mbMm8": "gnt:mbMm8", - "mb2016": "gnt:mb2016", + "name": "rdfs:label", + "references": "dct:references", + "skos": "http://www.w3.org/2004/02/skos/core#", + "species": "gnt:belongsToSpecies", "specificity": "gnt:hasSpecificity", - "blatScore": "gnt:hasBlatScore", - "blatMbStart": "gnt:hasBlatMbStart", - "blatMbStart2016": "gnt:hasBlatMbStart2016", - "blatMbEnd": "gnt:hasBlatMbEnd", - "blatMbEnd2016": "gnt:hasBlatMbEnd2016", - "blatSeq": "gnt:hasBlatSeq", - "targetSeq": "gnt:hasTargetSeq", - "homologene": "gnt:hasHomologeneId", - "uniprot": "gnt:hasUniprotId", - "pubchem": "gnt:hasPubChemId", - "kegg": "gnt:hasKeggId", - "omim": "gnt:hasOmimId", - "chebi": "gnt:hasChebiId", + "strand": "gnt:Strand", + "strandProbe": "gnt:strandProbe", + "symbol": "gnt:symbol", + "targetID": "gnt:hasTargetId", + "targetRegion": "gnt:targetsRegion", + "targetSequence": "gnt:hasTargetSeq", + "transcript": "gnt:transcript", + "txEnd": "gnt:TxEnd", + "txStart": "gnt:TxStart", + "unigenID": "gnt:hasUnigenID", + "uniprot": "gnt:uniprot", + }, + "probeset": { + "type": "gnc:Probeset", }, + "type": "gnc:Probeset", } return query_and_compact( _query, _context, -- cgit v1.2.3