@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:106_uniprot_reviewed_or_not a sh:SPARQLExecutable,
        sh:SPARQLSelectExecutable ;
    rdfs:comment "List all UniProtKB proteins and if they are reviewed (Swiss-Prot) or unreviewed (TrEMBL)"@en ;
    sh:prefixes _:sparql_examples_prefixes ;
    sh:select """PREFIX up: <http://purl.uniprot.org/core/>

SELECT
  ?protein
  ?reviewed
WHERE {
  ?protein a up:Protein . 
  ?protein up:reviewed ?reviewed . 
}""" ;
    schema:keywords "entry status" , "list" ;
    schema:target <https://sparql.uniprot.org/sparql/> .

