#
# example SPARQL query 115
#

@prefix schema: <https://schema.org/> . 
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 
@prefix sh: <http://www.w3.org/ns/shacl#> . 
@prefix cello: <https://purl.expasy.org/cellosaurus/rdf/ontology/> .


cello:Query_115 a sh:SPARQLExecutable ;
    sh:prefixes _:sparql_examples_prefixes ;
    rdfs:comment """Monoclonal antibody isotype of two chosen cell lines"""@en ; 
    schema:keywords "MoAb" , "isotype" ; 
    schema:target <https://sparql.cellosaurus.org/sparql> ; 
    sh:select """
PREFIX cello: <https://purl.expasy.org/cellosaurus/rdf/ontology/>
PREFIX cvcl: <https://purl.expasy.org/cellosaurus/rdf/cvcl/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
select ?cl ?cl_name ?hc_label ?lc_label
where {
  values ?cl { cvcl:CVCL_B375 cvcl:CVCL_B0T9 }
  ?cl cello:hasMoAbIsotype ?annot .
  ?cl cello:recommendedName ?cl_name .
  ?annot a cello:MoAbIsotype .
  ?annot cello:hasAntibodyHeavyChain / rdfs:label ?hc_label .
  ?annot cello:hasAntibodyLightChain / rdfs:label ?lc_label .
}
order by ?cl
    """
    .

