@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:25 a sh:SPARQLExecutable,
        sh:SPARQLSelectExecutable ;
    rdfs:comment "Find UniProtKB entry which has a protein name 'HLA class I histocompatibility antigen, B-73 alpha chain'"@en ;
    sh:prefixes _:sparql_examples_prefixes ;
    sh:select """PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX up: <http://purl.uniprot.org/core/>

SELECT ?protein ?anyKindOfName
WHERE
{
		?protein a up:Protein .
		?protein (up:recommendedName|up:alternativeName) ?structuredName .
		?structuredName ?anyKindOfName  "HLA class I histocompatibility antigen, B alpha chain" .
		?anyKindOfName rdfs:subPropertyOf up:structuredNameType .
}""" ;
schema:keywords "protein name" ;    
schema:target <https://sparql.uniprot.org/sparql/> .

