Resource entry insert for partner

Input data

<http://rdf.glycoinfo.org/{resource_entry_label}/{entry_id}>
    a glycan:Resource_entry ;
    rdfs:label  "{resource_entry_label}" ;
    dcterms:identifier  "{entry_id}";
    glytoucan:in_database <http://rdf.glycoinfo.org/database/{database_name}> ;
    rdfs:seeAlso    <{entry_page_URL}> ;
    skos:exactMatch <{exaceMatch_IRI}> .

# sample triple for other document
#<http://rdf.glycoinfo.org/database/{database_name}> 
#   a glytoucan:Database ;
#   rdfs:label "{database_name}" ;
#   rdfs:seeAlso <databae_URL> .

Q: Why does not use “glycan:in_glycan_database”?
A: Because of the PubChem and the wwPDB are not glycan database.

Output insert query

log_enable(2,1);
sparql
PREFIX rdfs:    <http://www.w3.org/2000/01/rdf-schema#> 
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIC glytoucan:  <http://www.glytoucan.org/glyco/owl/glytoucan#> 
INSERT DATA{
        GRAPH <http://rdf.glytoucan.org/partner/{partner_name}> {
            <http://rdf.glycoinfo.org/{resource_entry_label}/{entry_id}>
                a glycan:Resource_entry ;
                rdfs:label  "{resource_entry_label}" ;
                dcterms:identifier  "{entry_id}";
                glytoucan:in_database <http://rdf.glycoinfo.org/database/{database_name}> ;
                rdfs:seeAlso    <{entry_page_URL}> ;
                skos:exactMatch <{exaceMatch_IRI}> .
        }
};
checkpoint;
commit WORK;

Clear graph

log_enable(2,1);
sparql clear graph <http://rdf.glytoucan.org/partner/{partner_name}>;