@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf4j: <http://rdf4j.org/schema/rdf4j#> .
@prefix sesame: <http://www.openrdf.org/schema/sesame#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .

<http://purl.uniprot.org/unirules/MF_01364#construct> a <http://www.w3.org/ns/shacl#SPARQLRule>,
    <http://spinrdf.org/sp#Construct>;
  <https://hamap.expasy.org/rdf/vocab#addsTriple> <http://purl.uniprot.org/unirules/MF_01364#construct-template-24>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-4>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-17>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-18>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-80>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-8>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-44>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-20>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-35>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-27>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-81>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-19>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-2>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-82>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-25>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-12>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-39>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-83>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-29>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-30>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-22>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-46>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-11>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-84>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-14>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-60>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-61>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-85>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-62>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-86>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-134>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-63>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-26>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-87>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-111>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-135>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-40>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-64>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-110>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-41>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-88>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-131>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-37>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-65>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-89>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-32>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-133>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-0>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-42>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-132>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-66>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-43>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-67>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-9>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-16>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-28>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-130>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-3>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-68>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-13>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-69>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-21>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-45>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-6>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-106>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-47>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-23>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-107>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-48>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-33>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-104>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-128>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-49>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-105>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-7>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-129>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-126>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-102>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-34>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-127>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-103>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-100>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-36>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-124>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-38>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-101>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-125>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-10>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-108>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-109>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-90>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-91>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-92>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-15>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-93>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-94>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-70>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-95>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-71>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-72>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-96>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-73>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-97>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-50>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-74>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-98>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-122>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-51>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-75>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-121>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-99>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-123>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-52>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-76>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-53>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-77>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-120>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-54>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-78>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-55>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-79>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-56>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-57>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-58>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-118>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-59>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-119>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-116>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-117>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-114>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-115>, <http://purl.uniprot.org/unirules/MF_01364#construct-template-112>,
    <http://purl.uniprot.org/unirules/MF_01364#construct-template-113>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_01364#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_01364#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:492365 up:source unirule:MF_01364 .
  _:492366 up:source unirule:MF_01364 .
  _:492367 up:source unirule:MF_01364 .
  _:492368 up:source unirule:MF_01364 .
  _:492369 up:source unirule:MF_01364 .
  _:492370 up:source unirule:MF_01364 .
  _:492371 up:source unirule:MF_01364 .
  _:492372 up:source unirule:MF_01364 .
  _:492373 up:source unirule:MF_01364 .
  _:492374 up:source unirule:MF_01364 .
  _:492375 up:source unirule:MF_01364 .
  _:492376 up:source unirule:MF_01364 .
  _:492377 up:source unirule:MF_01364 .
  _:492378 up:source unirule:MF_01364 .
  _:492379 up:source unirule:MF_01364 .
  _:492380 up:source unirule:MF_01364 .
  _:492381 up:source unirule:MF_01364 .
  _:492382 up:source unirule:MF_01364 .
  ?this up:annotation ?annotation0 ;
    up:classifiedWith GO:0006412 ,
      GO:0019843 ,
      keyword:687 ,
      keyword:689 ,
      keyword:694 ,
      keyword:699 .
  ?annotation0 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the universal ribosomal protein uS14 family. Zinc-binding uS14 subfamily.' .
  ?case5 up:classifiedWith GO:0008270 ,
      keyword:479 ,
      keyword:862 .
  ?pfs7 up:annotation ?annotation8 ,
      ?annotation14 ,
      ?annotation20 ,
      ?annotation26 .
  ?annotation8 faldo:begin ?pfsb9 ;
    faldo:end ?pfse10 ;
    up:ligand ?ligand11 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb9 faldo:position ?thisPositionOn12 ;
    rdf:type faldo:ExactPosition .
  ?pfse10 faldo:position ?thisPositionOn13 ;
    rdf:type faldo:ExactPosition .
  ?ligand11 rdfs:subClassOf chebi:29105 .
  ?annotation14 faldo:begin ?pfsb15 ;
    faldo:end ?pfse16 ;
    up:ligand ?ligand17 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb15 faldo:position ?thisPositionOn18 ;
    rdf:type faldo:ExactPosition .
  ?pfse16 faldo:position ?thisPositionOn19 ;
    rdf:type faldo:ExactPosition .
  ?ligand17 rdfs:subClassOf chebi:29105 .
  ?annotation20 faldo:begin ?pfsb21 ;
    faldo:end ?pfse22 ;
    up:ligand ?ligand23 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb21 faldo:position ?thisPositionOn24 ;
    rdf:type faldo:ExactPosition .
  ?pfse22 faldo:position ?thisPositionOn25 ;
    rdf:type faldo:ExactPosition .
  ?ligand23 rdfs:subClassOf chebi:29105 .
  ?annotation26 faldo:begin ?pfsb27 ;
    faldo:end ?pfse28 ;
    up:ligand ?ligand29 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb27 faldo:position ?thisPositionOn30 ;
    rdf:type faldo:ExactPosition .
  ?pfse28 faldo:position ?thisPositionOn31 ;
    rdf:type faldo:ExactPosition .
  ?ligand29 rdfs:subClassOf chebi:29105 .
  ?pfs32 up:annotation ?annotation33 ,
      ?annotation39 ,
      ?annotation45 ,
      ?annotation51 .
  ?annotation33 faldo:begin ?pfsb34 ;
    faldo:end ?pfse35 ;
    up:ligand ?ligand36 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb34 faldo:position ?thisPositionOn37 ;
    rdf:type faldo:ExactPosition .
  ?pfse35 faldo:position ?thisPositionOn38 ;
    rdf:type faldo:ExactPosition .
  ?ligand36 rdfs:subClassOf chebi:29105 .
  ?annotation39 faldo:begin ?pfsb40 ;
    faldo:end ?pfse41 ;
    up:ligand ?ligand42 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb40 faldo:position ?thisPositionOn43 ;
    rdf:type faldo:ExactPosition .
  ?pfse41 faldo:position ?thisPositionOn44 ;
    rdf:type faldo:ExactPosition .
  ?ligand42 rdfs:subClassOf chebi:29105 .
  ?annotation45 faldo:begin ?pfsb46 ;
    faldo:end ?pfse47 ;
    up:ligand ?ligand48 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb46 faldo:position ?thisPositionOn49 ;
    rdf:type faldo:ExactPosition .
  ?pfse47 faldo:position ?thisPositionOn50 ;
    rdf:type faldo:ExactPosition .
  ?ligand48 rdfs:subClassOf chebi:29105 .
  ?annotation51 faldo:begin ?pfsb52 ;
    faldo:end ?pfse53 ;
    up:ligand ?ligand54 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb52 faldo:position ?thisPositionOn55 ;
    rdf:type faldo:ExactPosition .
  ?pfse53 faldo:position ?thisPositionOn56 ;
    rdf:type faldo:ExactPosition .
  ?ligand54 rdfs:subClassOf chebi:29105 .
  _:492383 a rdf:Statement ;
    up:attribution _:492365 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation0 .
  _:492384 a rdf:Statement ;
    up:attribution _:492366 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:687 .
  _:492385 a rdf:Statement ;
    up:attribution _:492367 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:689 .
  _:492386 a rdf:Statement ;
    up:attribution _:492368 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:694 .
  _:492387 a rdf:Statement ;
    up:attribution _:492369 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:699 .
  _:492388 a rdf:Statement ;
    up:attribution _:492370 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0006412 .
  _:492389 a rdf:Statement ;
    up:attribution _:492371 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0019843 .
  _:492390 a rdf:Statement ;
    up:attribution _:492372 ;
    rdf:subject ?case5 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:479 .
  _:492391 a rdf:Statement ;
    up:attribution _:492373 ;
    rdf:subject ?case5 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:862 .
  _:492392 a rdf:Statement ;
    up:attribution _:492374 ;
    rdf:subject ?case5 ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0008270 .
  _:492393 a rdf:Statement ;
    up:source unirule:MF_01364 ;
    rdf:subject ?pfs7 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation8 .
  _:492394 a rdf:Statement ;
    up:attribution _:492375 ;
    rdf:subject ?pfs7 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation8 .
  _:492395 a rdf:Statement ;
    up:source unirule:MF_01364 ;
    rdf:subject ?pfs7 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation14 .
  _:492396 a rdf:Statement ;
    up:attribution _:492376 ;
    rdf:subject ?pfs7 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation14 .
  _:492397 a rdf:Statement ;
    up:source unirule:MF_01364 ;
    rdf:subject ?pfs7 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation20 .
  _:492398 a rdf:Statement ;
    up:attribution _:492377 ;
    rdf:subject ?pfs7 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation20 .
  _:492399 a rdf:Statement ;
    up:source unirule:MF_01364 ;
    rdf:subject ?pfs7 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation26 .
  _:492400 a rdf:Statement ;
    up:attribution _:492378 ;
    rdf:subject ?pfs7 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation26 .
  _:492401 a rdf:Statement ;
    up:source unirule:MF_01364 ;
    rdf:subject ?pfs32 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation33 .
  _:492402 a rdf:Statement ;
    up:attribution _:492379 ;
    rdf:subject ?pfs32 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation33 .
  _:492403 a rdf:Statement ;
    up:source unirule:MF_01364 ;
    rdf:subject ?pfs32 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation39 .
  _:492404 a rdf:Statement ;
    up:attribution _:492380 ;
    rdf:subject ?pfs32 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation39 .
  _:492405 a rdf:Statement ;
    up:source unirule:MF_01364 ;
    rdf:subject ?pfs32 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation45 .
  _:492406 a rdf:Statement ;
    up:attribution _:492381 ;
    rdf:subject ?pfs32 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation45 .
  _:492407 a rdf:Statement ;
    up:source unirule:MF_01364 ;
    rdf:subject ?pfs32 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation51 .
  _:492408 a rdf:Statement ;
    up:attribution _:492382 ;
    rdf:subject ?pfs32 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation51 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_01364
  #Rule MF_01364 Created by:? on:2006-11-24 Modified by:Andrea Auchincloss on:2023-09-22
  {
    ?this up:organism ?thisOrganism ;
      rdfs:seeAlso signature:MF_01364_B .
    ?thisOrganism rdfs:subClassOf+ taxon:2 .
    FILTER (! (EXISTS {
      ?this rdfs:seeAlso signature:MF_00537 .
    })) .
  } UNION {
    ?this rdfs:seeAlso signature:MF_01364_B .
    FILTER (! (EXISTS {
      ?this rdfs:seeAlso signature:MF_00537 .
    })) .
    {
      ?this up:encodedIn up:Plastid .
    } UNION {
      ?this up:encodedIn up:Chloroplast .
    }
  } UNION {
    ?this up:organism ?thisOrganism ;
      rdfs:seeAlso signature:MF_01364_A .
    ?thisOrganism rdfs:subClassOf+ taxon:2157 .
    FILTER (! (EXISTS {
      ?this rdfs:seeAlso signature:MF_00537 .
    })) .
  }
  BIND(URI(CONCAT(STR(?this), '#MF_01364a0')) AS ?annotation0) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch61 faldo:location ?templateMotifSequenceMatchRegionP2681662 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP2681664 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP26816MF_01364_A57 .
    ?templateMotifSequenceMatchRegionP2681662 faldo:begin ?templateMotifSequenceMatchBeginP2681663 .
    ?templateMotifSequenceMatchBeginP2681663 faldo:position ?templateMotifSequenceMatchBeginPositionP2681658 ;
      faldo:reference isoform:P26816-1 .
    ?templateMotifSequenceProfileAlignmentOperationP2681664 edam:has_input signature:MF_01364_A ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch65 faldo:location ?targetMotifMatchRegionMatch66 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01364_A68 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP26816MF_01364_A59 .
    ?targetMotifMatchRegionMatch66 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01364_A67 .
    ?targetMotifMatchRegionMatchBeginMF_01364_A67 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01364_A60 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01364_A68 edam:has_input signature:MF_01364_A ;
      rdf:type edam:operation_0300 .
    BIND(?this AS ?tagFTGRP_2) .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:2157 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP26816MF_01364_A57, 1, (STRLEN(?templateMotifCigarP26816MF_01364_A57) - STRLEN(REPLACE(?templateMotifCigarP26816MF_01364_A57, CONCAT('^(?:-*[^-]){', STR(((26 - ?templateMotifSequenceMatchBeginPositionP2681658) + 1)), '}'), '')))), '[a-z]', '')) AS ?step169) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP26816MF_01364_A59, 1, (STRLEN(?targetMotifMatchCigarP26816MF_01364_A59) - STRLEN(REPLACE(?targetMotifMatchCigarP26816MF_01364_A59, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step169), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP26816MF_01364_A59, 1, (STRLEN(?targetMotifMatchCigarP26816MF_01364_A59) - STRLEN(REPLACE(?targetMotifMatchCigarP26816MF_01364_A59, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step169), '}'), '')))), '[^-]', ''))) AS ?step270) .
    BIND(((?step270 + ?targetMotifMatchRegionMatchBeginPositionMF_01364_A60) - 1) AS ?thisPositionOn12) .
    BIND(?thisPositionOn12 AS ?thisPositionOn13) .
    BIND(?this AS ?pfs1t71) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn12))) AS ?pfsb9) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn13))) AS ?pfse10) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn12, 1) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP26816MF_01364_A57, 1, (STRLEN(?templateMotifCigarP26816MF_01364_A57) - STRLEN(REPLACE(?templateMotifCigarP26816MF_01364_A57, CONCAT('^(?:-*[^-]){', STR(((29 - ?templateMotifSequenceMatchBeginPositionP2681658) + 1)), '}'), '')))), '[a-z]', '')) AS ?step172) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP26816MF_01364_A59, 1, (STRLEN(?targetMotifMatchCigarP26816MF_01364_A59) - STRLEN(REPLACE(?targetMotifMatchCigarP26816MF_01364_A59, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step172), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP26816MF_01364_A59, 1, (STRLEN(?targetMotifMatchCigarP26816MF_01364_A59) - STRLEN(REPLACE(?targetMotifMatchCigarP26816MF_01364_A59, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step172), '}'), '')))), '[^-]', ''))) AS ?step273) .
    BIND(((?step273 + ?targetMotifMatchRegionMatchBeginPositionMF_01364_A60) - 1) AS ?thisPositionOn18) .
    BIND(?thisPositionOn18 AS ?thisPositionOn19) .
    BIND(?this AS ?pfs1t74) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn18))) AS ?pfsb15) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn19))) AS ?pfse16) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn18, 1) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP26816MF_01364_A57, 1, (STRLEN(?templateMotifCigarP26816MF_01364_A57) - STRLEN(REPLACE(?templateMotifCigarP26816MF_01364_A57, CONCAT('^(?:-*[^-]){', STR(((44 - ?templateMotifSequenceMatchBeginPositionP2681658) + 1)), '}'), '')))), '[a-z]', '')) AS ?step175) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP26816MF_01364_A59, 1, (STRLEN(?targetMotifMatchCigarP26816MF_01364_A59) - STRLEN(REPLACE(?targetMotifMatchCigarP26816MF_01364_A59, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step175), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP26816MF_01364_A59, 1, (STRLEN(?targetMotifMatchCigarP26816MF_01364_A59) - STRLEN(REPLACE(?targetMotifMatchCigarP26816MF_01364_A59, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step175), '}'), '')))), '[^-]', ''))) AS ?step276) .
    BIND(((?step276 + ?targetMotifMatchRegionMatchBeginPositionMF_01364_A60) - 1) AS ?thisPositionOn24) .
    BIND(?thisPositionOn24 AS ?thisPositionOn25) .
    BIND(?this AS ?pfs1t77) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn24))) AS ?pfsb21) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn25))) AS ?pfse22) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn24, 1) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP26816MF_01364_A57, 1, (STRLEN(?templateMotifCigarP26816MF_01364_A57) - STRLEN(REPLACE(?templateMotifCigarP26816MF_01364_A57, CONCAT('^(?:-*[^-]){', STR(((47 - ?templateMotifSequenceMatchBeginPositionP2681658) + 1)), '}'), '')))), '[a-z]', '')) AS ?step178) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP26816MF_01364_A59, 1, (STRLEN(?targetMotifMatchCigarP26816MF_01364_A59) - STRLEN(REPLACE(?targetMotifMatchCigarP26816MF_01364_A59, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step178), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP26816MF_01364_A59, 1, (STRLEN(?targetMotifMatchCigarP26816MF_01364_A59) - STRLEN(REPLACE(?targetMotifMatchCigarP26816MF_01364_A59, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step178), '}'), '')))), '[^-]', ''))) AS ?step279) .
    BIND(((?step279 + ?targetMotifMatchRegionMatchBeginPositionMF_01364_A60) - 1) AS ?thisPositionOn30) .
    BIND(?thisPositionOn30 AS ?thisPositionOn31) .
    BIND(?this AS ?pfs1t80) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn30))) AS ?pfsb27) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn31))) AS ?pfse28) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn30, 1) = 'C')) .
    BIND(?this AS ?pfs7) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch85 faldo:location ?templateMotifSequenceMatchRegionP0DOY686 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP0DOY688 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP0DOY6MF_01364_B81 .
    ?templateMotifSequenceMatchRegionP0DOY686 faldo:begin ?templateMotifSequenceMatchBeginP0DOY687 .
    ?templateMotifSequenceMatchBeginP0DOY687 faldo:position ?templateMotifSequenceMatchBeginPositionP0DOY682 ;
      faldo:reference isoform:P0DOY6-1 .
    ?templateMotifSequenceProfileAlignmentOperationP0DOY688 edam:has_input signature:MF_01364_B ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch89 faldo:location ?targetMotifMatchRegionMatch90 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01364_B92 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP0DOY6MF_01364_B83 .
    ?targetMotifMatchRegionMatch90 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01364_B91 .
    ?targetMotifMatchRegionMatchBeginMF_01364_B91 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01364_B84 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01364_B92 edam:has_input signature:MF_01364_B ;
      rdf:type edam:operation_0300 .
    BIND(?this AS ?tagFTGRP_1) .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:2 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP0DOY6MF_01364_B81, 1, (STRLEN(?templateMotifCigarP0DOY6MF_01364_B81) - STRLEN(REPLACE(?templateMotifCigarP0DOY6MF_01364_B81, CONCAT('^(?:-*[^-]){', STR(((24 - ?templateMotifSequenceMatchBeginPositionP0DOY682) + 1)), '}'), '')))), '[a-z]', '')) AS ?step193) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP0DOY6MF_01364_B83, 1, (STRLEN(?targetMotifMatchCigarP0DOY6MF_01364_B83) - STRLEN(REPLACE(?targetMotifMatchCigarP0DOY6MF_01364_B83, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step193), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP0DOY6MF_01364_B83, 1, (STRLEN(?targetMotifMatchCigarP0DOY6MF_01364_B83) - STRLEN(REPLACE(?targetMotifMatchCigarP0DOY6MF_01364_B83, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step193), '}'), '')))), '[^-]', ''))) AS ?step294) .
    BIND(((?step294 + ?targetMotifMatchRegionMatchBeginPositionMF_01364_B84) - 1) AS ?thisPositionOn37) .
    BIND(?thisPositionOn37 AS ?thisPositionOn38) .
    BIND(?this AS ?pfs2t95) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn37))) AS ?pfsb34) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn38))) AS ?pfse35) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn37, 1) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP0DOY6MF_01364_B81, 1, (STRLEN(?templateMotifCigarP0DOY6MF_01364_B81) - STRLEN(REPLACE(?templateMotifCigarP0DOY6MF_01364_B81, CONCAT('^(?:-*[^-]){', STR(((27 - ?templateMotifSequenceMatchBeginPositionP0DOY682) + 1)), '}'), '')))), '[a-z]', '')) AS ?step196) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP0DOY6MF_01364_B83, 1, (STRLEN(?targetMotifMatchCigarP0DOY6MF_01364_B83) - STRLEN(REPLACE(?targetMotifMatchCigarP0DOY6MF_01364_B83, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step196), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP0DOY6MF_01364_B83, 1, (STRLEN(?targetMotifMatchCigarP0DOY6MF_01364_B83) - STRLEN(REPLACE(?targetMotifMatchCigarP0DOY6MF_01364_B83, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step196), '}'), '')))), '[^-]', ''))) AS ?step297) .
    BIND(((?step297 + ?targetMotifMatchRegionMatchBeginPositionMF_01364_B84) - 1) AS ?thisPositionOn43) .
    BIND(?thisPositionOn43 AS ?thisPositionOn44) .
    BIND(?this AS ?pfs2t98) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn43))) AS ?pfsb40) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn44))) AS ?pfse41) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn43, 1) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP0DOY6MF_01364_B81, 1, (STRLEN(?templateMotifCigarP0DOY6MF_01364_B81) - STRLEN(REPLACE(?templateMotifCigarP0DOY6MF_01364_B81, CONCAT('^(?:-*[^-]){', STR(((40 - ?templateMotifSequenceMatchBeginPositionP0DOY682) + 1)), '}'), '')))), '[a-z]', '')) AS ?step199) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP0DOY6MF_01364_B83, 1, (STRLEN(?targetMotifMatchCigarP0DOY6MF_01364_B83) - STRLEN(REPLACE(?targetMotifMatchCigarP0DOY6MF_01364_B83, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step199), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP0DOY6MF_01364_B83, 1, (STRLEN(?targetMotifMatchCigarP0DOY6MF_01364_B83) - STRLEN(REPLACE(?targetMotifMatchCigarP0DOY6MF_01364_B83, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step199), '}'), '')))), '[^-]', ''))) AS ?step2100) .
    BIND(((?step2100 + ?targetMotifMatchRegionMatchBeginPositionMF_01364_B84) - 1) AS ?thisPositionOn49) .
    BIND(?thisPositionOn49 AS ?thisPositionOn50) .
    BIND(?this AS ?pfs2t101) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn49))) AS ?pfsb46) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn50))) AS ?pfse47) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn49, 1) = 'C')) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP0DOY6MF_01364_B81, 1, (STRLEN(?templateMotifCigarP0DOY6MF_01364_B81) - STRLEN(REPLACE(?templateMotifCigarP0DOY6MF_01364_B81, CONCAT('^(?:-*[^-]){', STR(((43 - ?templateMotifSequenceMatchBeginPositionP0DOY682) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1102) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP0DOY6MF_01364_B83, 1, (STRLEN(?targetMotifMatchCigarP0DOY6MF_01364_B83) - STRLEN(REPLACE(?targetMotifMatchCigarP0DOY6MF_01364_B83, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1102), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP0DOY6MF_01364_B83, 1, (STRLEN(?targetMotifMatchCigarP0DOY6MF_01364_B83) - STRLEN(REPLACE(?targetMotifMatchCigarP0DOY6MF_01364_B83, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1102), '}'), '')))), '[^-]', ''))) AS ?step2103) .
    BIND(((?step2103 + ?targetMotifMatchRegionMatchBeginPositionMF_01364_B84) - 1) AS ?thisPositionOn55) .
    BIND(?thisPositionOn55 AS ?thisPositionOn56) .
    BIND(?this AS ?pfs2t104) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn55))) AS ?pfsb52) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn56))) AS ?pfse53) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn55, 1) = 'C')) .
    BIND(?this AS ?pfs32) .
  }
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:2157 .
    BIND(?this AS ?case1) .
  }
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:2 .
    BIND(?this AS ?case2) .
  }
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:1117 .
    BIND(?this AS ?case3) .
  }
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    FILTER (! (EXISTS {
      ?thisOrganism rdfs:subClassOf+ taxon:2 .
    })) .
    BIND(?this AS ?case4) .
  }
  OPTIONAL {
    ?this a up:Protein .
    BIND(?this AS ?caseWithTag105) .
  }
  BIND(IF((BOUND(?tagFTGRP_1) || BOUND(?tagFTGRP_2)), ?caseWithTag105, ?UNBOUND_VARIABLE) AS ?case5) .
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:2 .
    FILTER (! (EXISTS {
      ?thisOrganism rdfs:subClassOf+ taxon:1117 .
    })) .
    BIND(?this AS ?case6) .
  }
}
""" .

<http://purl.uniprot.org/unirules/MF_01364> <http://www.w3.org/ns/shacl#rule> <http://purl.uniprot.org/unirules/MF_01364#construct> .
