glySpace Clients¶
The glyspace
module provides an API for interacting with GlyTouCan
and UnicarbKB. The interaction may be done by executing prepared
SPARQL queries through the provided methods, executing user-provided SPARQL queries,
RDF Graph-operation supported by RDFLib,
or using RDF-object mapping via get()
and related methods.
The module contains a pre-created instance of GlyTouCanRDFClient
named glytoucan_client
whose
GlyTouCanRDFClient.get()
, GlyTouCanRDFClient.structure()
, GlyTouCanRDFClient.from_taxon()
,
and GlyTouCanRDFClient.structures_with_motif()
methods are available as top-level functions of the
module. There is also a UnicarbKBRDFClient
object called unikarbkb_client
ready to use.
RDF Namespaces that are pre-created¶
NSGlyTouCan = Namespace("http://www.glytoucan.org/glyco/owl/glytoucan#")
NSGlycan = Namespace("http://purl.jp/bio/12/glyco/glycan#")
NSGlycoinfo = Namespace("http://rdf.glycoinfo.org/glycan/")
NSGlycomeDB = Namespace("http://rdf.glycome-db.org/glycan/")
NSSKOS = Namespace("http://www.w3.org/2004/02/skos/core#")
NSUniprotCore = Namespace("http://purl.uniprot.org/core/")
NSUniprotEntity = Namespace("http://purl.uniprot.org/uniprot/")
NSTaxonomy = Namespace("http://purl.uniprot.org/taxonomy/")