@prefix ex: <https://www.bgee.org/sparql/.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:026 a sh:SPARQLExecutable, sh:SPARQLSelectExecutable ;
    rdfs:comment "What are the genes expressed in the human brain?"@en ;
    sh:prefixes _:sparql_examples_prefixes ;
    sh:select """PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX orth: <http://purl.org/net/orth#>
PREFIX genex: <http://purl.org/genex#>
PREFIX obo: <http://purl.obolibrary.org/obo/>
PREFIX up: <http://purl.uniprot.org/core/>

SELECT DISTINCT ?gene ?geneName WHERE {
    ?gene a orth:Gene ;
        genex:isExpressedIn ?anat ;
        rdfs:label ?geneName ;
        orth:organism ?organism .
    ?anat a genex:AnatomicalEntity ;
        rdfs:label "brain" .
    ?organism obo:RO_0002162 ?species .
    ?species a up:Taxon ;
        up:scientificName "Homo sapiens" .
}""" ;
    schema:keywords "genes", "human" ;
    schema:target <https://www.bgee.org/sparql/> .
