@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:97_uniprot_encoding_gene_org_name a sh:SPARQLExecutable,
        sh:SPARQLSelectExecutable ;
    rdfs:comment "List UniProtKB proteins with their associated gene and the gene's ORF label"@en ;
    sh:prefixes _:sparql_examples_prefixes ;
    sh:select """PREFIX up: <http://purl.uniprot.org/core/>

SELECT
  ?gene 
  ?orfName
WHERE {
  ?protein a up:Protein ;
           up:encodedBy ?gene .
  ?gene up:orfName ?orfName .
}""" ;
    schema:keywords "gene name" , "list" ;
    schema:target <https://sparql.uniprot.org/sparql/> .

