@prefix ex: <https://sparql.uniprot.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:41 a sh:SPARQLExecutable,
        sh:SPARQLSelectExecutable ;
    rdfs:comment "Retrieve UniProtKB entries with sequences that are composed of fragments"@en ;
    sh:prefixes _:sparql_examples_prefixes ;
    sh:select """PREFIX up: <http://purl.uniprot.org/core/>


SELECT DISTINCT 
  ?protein
WHERE {
  ?protein a up:Protein ;
    up:sequence ?sequence .
  ?sequence up:fragment [] .
}""" ;
    schema:keywords "protein fragment" , "sequence" ;
    schema:target <https://sparql.uniprot.org/sparql/> .

