@prefix ex: <https://glyconnect.expasy.org/.well-known/sparql-examples> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .

ex:1 a sh:SPARQLExecutable,
        sh:SPARQLSelectExecutable ;
    rdfs:comment "Get all Glyconnect proteins their Uniprot reference isoform"@en ;
    sh:prefixes ex: ;
    sh:select """PREFIX faldo: <http://biohackathon.org/resource/faldo#>
PREFIX glycan: <http://purl.jp/bio/12/glyco/glycan#>

SELECT distinct ?glycoprotein ?isoform
where {
?glycosite faldo:reference ?isoform .
?specificglycosite faldo:location ?glycosite .
?glycoprotein glycan:glycosylated_at ?specificglycosite .
}""" ;
    schema:target <https://glyconnect.expasy.org/sparql> .

