@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_01153#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_01153#construct-template-58>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-19>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-27>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-42>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-7>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-6>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-4>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-53>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-77>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-23>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-16>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-17>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-43>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-25>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-18>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-70>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-9>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-59>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-12>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-55>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-33>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-22>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-20>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-50>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-66>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-81>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-46>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-57>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-0>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-35>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-11>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-38>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-29>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-79>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-44>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-36>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-2>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-47>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-62>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-14>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-56>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-13>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-24>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-34>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-10>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-21>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-45>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-51>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-39>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-15>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-64>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-72>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-32>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-68>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-3>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-37>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-83>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-41>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-40>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-63>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-73>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-60>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-69>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-61>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-65>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-84>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-30>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-67>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-26>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-48>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-75>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-28>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-82>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-49>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-80>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-54>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-52>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-78>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-71>,
    <http://purl.uniprot.org/unirules/MF_01153#construct-template-76>, <http://purl.uniprot.org/unirules/MF_01153#construct-template-74>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_01153#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_01153#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:402984 up:source unirule:MF_01153 .
  _:402985 up:source unirule:MF_01153 .
  _:402986 up:source unirule:MF_01153 .
  _:402987 up:source unirule:MF_01153 .
  _:402988 up:source unirule:MF_01153 .
  _:402989 up:source unirule:MF_01153 .
  _:402990 up:source unirule:MF_01153 .
  _:402991 up:source unirule:MF_01153 .
  _:402992 up:source unirule:MF_01153 .
  _:402993 up:source unirule:MF_01153 .
  _:402994 up:source unirule:MF_01153 .
  _:402995 up:source unirule:MF_01153 .
  _:402996 up:source unirule:MF_01153 .
  _:402997 up:source unirule:MF_01153 .
  _:402998 up:source unirule:MF_01153 .
  _:402999 up:source unirule:MF_01153 .
  ?this up:annotation ?annotation2 ,
      ?annotation3 ,
      ?annotation4 ,
      ?annotation6 ;
    up:classifiedWith GO:0005886 ,
      keyword:1003 ,
      keyword:1133 ,
      keyword:143 ,
      keyword:472 ,
      keyword:812 ,
      keyword:997 ;
    up:recommendedName ?name0 .
  ?name0 up:fullName 'Co-chaperone protein DjlA' ;
    rdf:type up:Structured_Name .
  ?gene1 skos:prefLabel 'djlA' .
  ?annotation2 a up:Function_Annotation ;
    rdfs:comment 'Regulatory DnaK co-chaperone. Direct interaction between DnaK and DjlA is needed for the induction of the wcaABCDE operon, involved in the synthesis of a colanic acid polysaccharide capsule, possibly through activation of the RcsB/RcsC phosphotransfer signaling pathway. The colanic acid capsule may help the bacterium survive conditions outside the host.' .
  ?annotation3 a up:Subunit_Annotation ;
    rdfs:comment 'Homodimer.' .
  ?annotation4 a up:Subcellular_Location_Annotation .
  ?annotation4li5 up:cellularComponent <http://purl.uniprot.org/locations/null>.
  ?annotation6 a up:Domain_Annotation ;
    rdfs:comment 'The transmembrane domain is a dimerization domain.' .
  ?pfs7 up:annotation ?annotation8 .
  ?annotation8 faldo:begin ?pfsb9 ;
    faldo:end ?pfse10 ;
    rdf:type up:Topological_Domain_Annotation ;
    rdfs:comment 'Periplasmic' .
  ?pfsb9 faldo:position ?thisPositionOn11 ;
    rdf:type faldo:ExactPosition .
  ?pfse10 faldo:position ?thisPositionOn12 ;
    rdf:type faldo:ExactPosition .
  ?pfs13 up:annotation ?annotation14 .
  ?annotation14 faldo:begin ?pfsb15 ;
    faldo:end ?pfse16 ;
    rdf:type up:Transmembrane_Annotation ;
    rdfs:comment 'Helical' .
  ?pfsb15 faldo:position ?thisPositionOn17 ;
    rdf:type faldo:ExactPosition .
  ?pfse16 faldo:position ?thisPositionOn18 ;
    rdf:type faldo:ExactPosition .
  ?pfs19 up:annotation ?annotation20 .
  ?annotation20 faldo:begin ?pfsb21 ;
    faldo:end ?pfse22 ;
    rdf:type up:Topological_Domain_Annotation ;
    rdfs:comment 'Cytoplasmic' .
  ?pfsb21 faldo:position ?thisPositionOn23 ;
    rdf:type faldo:ExactPosition .
  ?pfse22 faldo:position ?thisPositionOn24 ;
    rdf:type faldo:ExactPosition .
  _:403000 a rdf:Statement ;
    up:attribution _:402984 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:403001 a rdf:Statement ;
    up:attribution _:402985 ;
    rdf:subject ?gene1 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene1 .
  _:403002 a rdf:Statement ;
    up:attribution _:402986 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation2 .
  _:403003 a rdf:Statement ;
    up:attribution _:402987 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:403004 a rdf:Statement ;
    up:attribution _:402988 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation4 .
  _:403005 a rdf:Statement ;
    up:attribution _:402989 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation6 .
  _:403006 a rdf:Statement ;
    up:attribution _:402990 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:143 .
  _:403007 a rdf:Statement ;
    up:attribution _:402991 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:472 .
  _:403008 a rdf:Statement ;
    up:attribution _:402992 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:1003 .
  _:403009 a rdf:Statement ;
    up:attribution _:402993 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:997 .
  _:403010 a rdf:Statement ;
    up:attribution _:402994 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:812 .
  _:403011 a rdf:Statement ;
    up:attribution _:402995 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:1133 .
  _:403012 a rdf:Statement ;
    up:attribution _:402996 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0005886 .
  _:403013 a rdf:Statement ;
    up:source unirule:MF_01153 ;
    rdf:subject ?pfs7 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation8 .
  _:403014 a rdf:Statement ;
    up:attribution _:402997 ;
    rdf:subject ?pfs7 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation8 .
  _:403015 a rdf:Statement ;
    up:source unirule:MF_01153 ;
    rdf:subject ?pfs13 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation14 .
  _:403016 a rdf:Statement ;
    up:attribution _:402998 ;
    rdf:subject ?pfs13 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation14 .
  _:403017 a rdf:Statement ;
    up:source unirule:MF_01153 ;
    rdf:subject ?pfs19 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation20 .
  _:403018 a rdf:Statement ;
    up:attribution _:402999 ;
    rdf:subject ?pfs19 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation20 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_01153
  #Rule MF_01153 Created by:? on:2005-02-28 Modified by:Edouard de Castro on:2019-11-19
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_01153 .
  ?thisOrganism rdfs:subClassOf+ taxon:1236 .
  BIND(URI(CONCAT(STR(?this), '#MF_01153a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_01153a2')) AS ?annotation2) .
  BIND(URI(CONCAT(STR(?this), '#MF_01153a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_01153a4')) AS ?annotation4) .
  BIND(URI(CONCAT(STR(?this), '#MF_01153a6')) AS ?annotation6) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch29 faldo:location ?templateMotifSequenceMatchRegionP3168030 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP3168032 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP31680MF_0115325 .
    ?templateMotifSequenceMatchRegionP3168030 faldo:begin ?templateMotifSequenceMatchBeginP3168031 .
    ?templateMotifSequenceMatchBeginP3168031 faldo:position ?templateMotifSequenceMatchBeginPositionP3168026 ;
      faldo:reference isoform:P31680-1 .
    ?templateMotifSequenceProfileAlignmentOperationP3168032 edam:has_input signature:MF_01153 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch33 faldo:location ?targetMotifMatchRegionMatch34 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0115336 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP31680MF_0115327 .
    ?targetMotifMatchRegionMatch34 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0115335 .
    ?targetMotifMatchRegionMatchBeginMF_0115335 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0115328 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0115336 edam:has_input signature:MF_01153 ;
      rdf:type edam:operation_0300 .
    BIND(1 AS ?thisPositionOn11) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP31680MF_0115325, 1, (STRLEN(?templateMotifCigarP31680MF_0115325) - STRLEN(REPLACE(?templateMotifCigarP31680MF_0115325, CONCAT('^(?:-*[^-]){', STR(((6 - ?templateMotifSequenceMatchBeginPositionP3168026) + 1)), '}'), '')))), '[a-z]', '')) AS ?step137) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP31680MF_0115327, 1, (STRLEN(?targetMotifMatchCigarP31680MF_0115327) - STRLEN(REPLACE(?targetMotifMatchCigarP31680MF_0115327, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step137), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP31680MF_0115327, 1, (STRLEN(?targetMotifMatchCigarP31680MF_0115327) - STRLEN(REPLACE(?targetMotifMatchCigarP31680MF_0115327, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step137), '}'), '')))), '[^-]', ''))) AS ?step238) .
    BIND(((?step238 + ?targetMotifMatchRegionMatchBeginPositionMF_0115328) - 1) AS ?thisPositionOn12) .
    BIND(?this AS ?pfs1t39) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn11))) AS ?pfsb9) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn12))) AS ?pfse10) .
    FILTER ((BOUND(?thisPositionOn11) && BOUND(?thisPositionOn12))) .
    BIND(URI(CONCAT(STR(?this), '#MF_01153a8')) AS ?annotation8) .
    BIND(?this AS ?pfs7) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch44 faldo:location ?templateMotifSequenceMatchRegionP3168045 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP3168047 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP31680MF_0115340 .
    ?templateMotifSequenceMatchRegionP3168045 faldo:begin ?templateMotifSequenceMatchBeginP3168046 .
    ?templateMotifSequenceMatchBeginP3168046 faldo:position ?templateMotifSequenceMatchBeginPositionP3168041 ;
      faldo:reference isoform:P31680-1 .
    ?templateMotifSequenceProfileAlignmentOperationP3168047 edam:has_input signature:MF_01153 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch48 faldo:location ?targetMotifMatchRegionMatch49 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0115351 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP31680MF_0115342 .
    ?targetMotifMatchRegionMatch49 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0115350 .
    ?targetMotifMatchRegionMatchBeginMF_0115350 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0115343 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0115351 edam:has_input signature:MF_01153 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP31680MF_0115340, 1, (STRLEN(?templateMotifCigarP31680MF_0115340) - STRLEN(REPLACE(?templateMotifCigarP31680MF_0115340, CONCAT('^(?:-*[^-]){', STR(((7 - ?templateMotifSequenceMatchBeginPositionP3168041) + 1)), '}'), '')))), '[a-z]', '')) AS ?step152) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP31680MF_0115342, 1, (STRLEN(?targetMotifMatchCigarP31680MF_0115342) - STRLEN(REPLACE(?targetMotifMatchCigarP31680MF_0115342, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step152), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP31680MF_0115342, 1, (STRLEN(?targetMotifMatchCigarP31680MF_0115342) - STRLEN(REPLACE(?targetMotifMatchCigarP31680MF_0115342, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step152), '}'), '')))), '[^-]', ''))) AS ?step253) .
    BIND(((?step253 + ?targetMotifMatchRegionMatchBeginPositionMF_0115343) - 1) AS ?thisPositionOn17) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP31680MF_0115340, 1, (STRLEN(?templateMotifCigarP31680MF_0115340) - STRLEN(REPLACE(?templateMotifCigarP31680MF_0115340, CONCAT('^(?:-*[^-]){', STR(((31 - ?templateMotifSequenceMatchBeginPositionP3168041) + 1)), '}'), '')))), '[a-z]', '')) AS ?step154) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP31680MF_0115342, 1, (STRLEN(?targetMotifMatchCigarP31680MF_0115342) - STRLEN(REPLACE(?targetMotifMatchCigarP31680MF_0115342, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step154), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP31680MF_0115342, 1, (STRLEN(?targetMotifMatchCigarP31680MF_0115342) - STRLEN(REPLACE(?targetMotifMatchCigarP31680MF_0115342, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step154), '}'), '')))), '[^-]', ''))) AS ?step255) .
    BIND(((?step255 + ?targetMotifMatchRegionMatchBeginPositionMF_0115343) - 1) AS ?thisPositionOn18) .
    BIND(?this AS ?pfs1t56) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn17))) AS ?pfsb15) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn18))) AS ?pfse16) .
    FILTER ((BOUND(?thisPositionOn17) && BOUND(?thisPositionOn18))) .
    BIND(URI(CONCAT(STR(?this), '#MF_01153a14')) AS ?annotation14) .
    BIND(?this AS ?pfs13) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch61 faldo:location ?templateMotifSequenceMatchRegionP3168062 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP3168064 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP31680MF_0115357 .
    ?templateMotifSequenceMatchRegionP3168062 faldo:begin ?templateMotifSequenceMatchBeginP3168063 .
    ?templateMotifSequenceMatchBeginP3168063 faldo:position ?templateMotifSequenceMatchBeginPositionP3168058 ;
      faldo:reference isoform:P31680-1 .
    ?templateMotifSequenceProfileAlignmentOperationP3168064 edam:has_input signature:MF_01153 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch65 faldo:location ?targetMotifMatchRegionMatch66 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0115368 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP31680MF_0115359 .
    ?targetMotifMatchRegionMatch66 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0115367 .
    ?targetMotifMatchRegionMatchBeginMF_0115367 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0115360 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0115368 edam:has_input signature:MF_01153 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP31680MF_0115357, 1, (STRLEN(?templateMotifCigarP31680MF_0115357) - STRLEN(REPLACE(?templateMotifCigarP31680MF_0115357, CONCAT('^(?:-*[^-]){', STR(((32 - ?templateMotifSequenceMatchBeginPositionP3168058) + 1)), '}'), '')))), '[a-z]', '')) AS ?step169) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP31680MF_0115359, 1, (STRLEN(?targetMotifMatchCigarP31680MF_0115359) - STRLEN(REPLACE(?targetMotifMatchCigarP31680MF_0115359, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step169), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP31680MF_0115359, 1, (STRLEN(?targetMotifMatchCigarP31680MF_0115359) - STRLEN(REPLACE(?targetMotifMatchCigarP31680MF_0115359, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step169), '}'), '')))), '[^-]', ''))) AS ?step270) .
    BIND(((?step270 + ?targetMotifMatchRegionMatchBeginPositionMF_0115360) - 1) AS ?thisPositionOn23) .
    BIND(STRLEN(?thisSequenceValue) AS ?thisPositionOn24) .
    BIND(?this AS ?pfs1t71) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn23))) AS ?pfsb21) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn24))) AS ?pfse22) .
    FILTER ((BOUND(?thisPositionOn23) && BOUND(?thisPositionOn24))) .
    BIND(URI(CONCAT(STR(?this), '#MF_01153a20')) AS ?annotation20) .
    BIND(?this AS ?pfs19) .
  }
}
""" .

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