@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_01984#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_01984#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-92>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-6>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-4>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-108>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-91>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-109>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-70>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-94>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-0>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-93>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-2>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-104>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-128>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-105>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-129>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-90>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-106>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-107>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-3>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-76>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-100>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-124>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-52>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-99>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-101>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-125>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-75>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-51>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-78>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-54>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-102>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-30>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-126>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-77>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-103>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-127>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-53>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-96>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-72>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-120>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-71>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-95>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-98>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-121>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-122>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-74>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-50>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-123>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-97>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-73>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-12>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-36>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-35>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-11>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-59>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-38>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-14>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-13>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-37>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-56>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-32>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-79>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-55>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-34>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-10>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-58>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-57>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-33>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-19>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-16>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-39>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-15>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-18>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-17>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-80>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-82>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-9>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-81>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-8>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-116>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-7>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-117>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-118>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-119>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-88>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-112>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-64>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-40>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-87>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-113>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-63>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-66>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-114>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-42>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-89>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-65>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-41>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-115>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-131>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-60>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-84>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-83>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-86>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-62>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-110>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-111>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-85>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-61>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-24>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-48>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-23>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-47>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-26>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-49>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-130>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-25>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-68>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-44>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-20>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-67>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-43>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-46>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-22>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-45>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-21>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-69>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-28>, <http://purl.uniprot.org/unirules/MF_01984#construct-template-27>,
    <http://purl.uniprot.org/unirules/MF_01984#construct-template-29>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_01984#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_01984#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:700053 up:source unirule:MF_01984 .
  _:700054 up:source unirule:MF_01984 .
  _:700055 up:source unirule:MF_01984 .
  _:700056 up:source unirule:MF_01984 .
  _:700057 up:source unirule:MF_01984 .
  _:700058 up:source unirule:MF_01984 .
  _:700059 up:source unirule:MF_01984 .
  _:700060 up:source unirule:MF_01984 .
  _:700061 up:source unirule:MF_01984 .
  _:700062 up:source unirule:MF_01984 .
  _:700063 up:source unirule:MF_01984 .
  _:700064 up:source unirule:MF_01984 .
  _:700065 up:source unirule:MF_01984 .
  _:700066 up:source unirule:MF_01984 .
  _:700067 up:source unirule:MF_01984 .
  _:700068 up:source unirule:MF_01984 .
  _:700069 up:source unirule:MF_01984 .
  ?this up:annotation ?annotation2 ,
      ?annotation3 ,
      ?annotation5 ;
    up:classifiedWith GO:0004659 ,
      keyword:285 ,
      keyword:288 ,
      keyword:637 ,
      keyword:808 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '2.5.1.129' ;
    up:fullName 'Flavin prenyltransferase UbiX' ;
    rdf:type up:Structured_Name .
  ?gene1 skos:prefLabel 'ubiX' .
  ?annotation2 a up:Function_Annotation ;
    rdfs:comment 'Flavin prenyltransferase that catalyzes the synthesis of the prenylated FMN cofactor (prenyl-FMN) for 4-hydroxy-3-polyprenylbenzoic acid decarboxylase UbiD. The prenyltransferase is metal-independent and links a dimethylallyl moiety from dimethylallyl monophosphate (DMAP) to the flavin N5 and C6 atoms of FMN.' .
  ?annotation3 up:activity ?activity4 ;
    rdf:type up:Catalytic_Activity_Annotation .
  ?activity4 up:catalyticActivity <http://rdf.rhea-db.org/37743>;
    up:enzymeClass <http://purl.uniprot.org/enzyme/2.5.1.129>.
  ?annotation5 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the UbiX/PAD1 family.' .
  ?pfs6 up:annotation ?annotation7 .
  ?annotation7 faldo:begin ?pfsb8 ;
    faldo:end ?pfse9 ;
    up:ligand ?ligand10 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb8 faldo:position ?thisPositionOn11 ;
    rdf:type faldo:ExactPosition .
  ?pfse9 faldo:position ?thisPositionOn12 ;
    rdf:type faldo:ExactPosition .
  ?ligand10 rdfs:subClassOf chebi:58210 .
  ?pfs13 up:annotation ?annotation14 .
  ?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:58210 .
  ?pfs20 up:annotation ?annotation21 .
  ?annotation21 faldo:begin ?pfsb22 ;
    faldo:end ?pfse23 ;
    up:ligand ?ligand24 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb22 faldo:position ?thisPositionOn25 ;
    rdf:type faldo:ExactPosition .
  ?pfse23 faldo:position ?thisPositionOn26 ;
    rdf:type faldo:ExactPosition .
  ?ligand24 rdfs:subClassOf chebi:58210 .
  ?pfs27 up:annotation ?annotation28 .
  ?annotation28 faldo:begin ?pfsb29 ;
    faldo:end ?pfse30 ;
    up:ligand ?ligand31 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb29 faldo:position ?thisPositionOn32 ;
    rdf:type faldo:ExactPosition .
  ?pfse30 faldo:position ?thisPositionOn33 ;
    rdf:type faldo:ExactPosition .
  ?ligand31 rdfs:subClassOf chebi:58210 .
  ?pfs34 up:annotation ?annotation35 .
  ?annotation35 faldo:begin ?pfsb36 ;
    faldo:end ?pfse37 ;
    up:ligand ?ligand38 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb36 faldo:position ?thisPositionOn39 ;
    rdf:type faldo:ExactPosition .
  ?pfse37 faldo:position ?thisPositionOn40 ;
    rdf:type faldo:ExactPosition .
  ?ligand38 rdfs:subClassOf chebi:58210 .
  ?pfs41 up:annotation ?annotation42 .
  ?annotation42 faldo:begin ?pfsb43 ;
    faldo:end ?pfse44 ;
    up:ligand ?ligand45 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb43 faldo:position ?thisPositionOn46 ;
    rdf:type faldo:ExactPosition .
  ?pfse44 faldo:position ?thisPositionOn47 ;
    rdf:type faldo:ExactPosition .
  ?ligand45 rdfs:subClassOf chebi:88052 .
  ?pfs48 up:annotation ?annotation49 .
  ?annotation49 faldo:begin ?pfsb50 ;
    faldo:end ?pfse51 ;
    up:ligand ?ligand52 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb50 faldo:position ?thisPositionOn53 ;
    rdf:type faldo:ExactPosition .
  ?pfse51 faldo:position ?thisPositionOn54 ;
    rdf:type faldo:ExactPosition .
  ?ligand52 rdfs:subClassOf chebi:88052 .
  _:700070 a rdf:Statement ;
    up:attribution _:700053 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:700071 a rdf:Statement ;
    up:attribution _:700054 ;
    rdf:subject ?gene1 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene1 .
  _:700072 a rdf:Statement ;
    up:attribution _:700055 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation2 .
  _:700073 a rdf:Statement ;
    up:attribution _:700056 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:700074 a rdf:Statement ;
    up:attribution _:700057 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation5 .
  _:700075 a rdf:Statement ;
    up:attribution _:700058 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:285 .
  _:700076 a rdf:Statement ;
    up:attribution _:700059 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:288 .
  _:700077 a rdf:Statement ;
    up:attribution _:700060 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:637 .
  _:700078 a rdf:Statement ;
    up:attribution _:700061 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:808 .
  _:700079 a rdf:Statement ;
    up:attribution _:700062 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0004659 .
  _:700080 a rdf:Statement ;
    up:source unirule:MF_01984 ;
    rdf:subject ?pfs6 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation7 .
  _:700081 a rdf:Statement ;
    up:attribution _:700063 ;
    rdf:subject ?pfs6 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation7 .
  _:700082 a rdf:Statement ;
    up:source unirule:MF_01984 ;
    rdf:subject ?pfs13 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation14 .
  _:700083 a rdf:Statement ;
    up:attribution _:700064 ;
    rdf:subject ?pfs13 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation14 .
  _:700084 a rdf:Statement ;
    up:source unirule:MF_01984 ;
    rdf:subject ?pfs20 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation21 .
  _:700085 a rdf:Statement ;
    up:attribution _:700065 ;
    rdf:subject ?pfs20 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation21 .
  _:700086 a rdf:Statement ;
    up:source unirule:MF_01984 ;
    rdf:subject ?pfs27 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation28 .
  _:700087 a rdf:Statement ;
    up:attribution _:700066 ;
    rdf:subject ?pfs27 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation28 .
  _:700088 a rdf:Statement ;
    up:source unirule:MF_01984 ;
    rdf:subject ?pfs34 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation35 .
  _:700089 a rdf:Statement ;
    up:attribution _:700067 ;
    rdf:subject ?pfs34 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation35 .
  _:700090 a rdf:Statement ;
    up:source unirule:MF_01984 ;
    rdf:subject ?pfs41 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation42 .
  _:700091 a rdf:Statement ;
    up:attribution _:700068 ;
    rdf:subject ?pfs41 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation42 .
  _:700092 a rdf:Statement ;
    up:source unirule:MF_01984 ;
    rdf:subject ?pfs48 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation49 .
  _:700093 a rdf:Statement ;
    up:attribution _:700069 ;
    rdf:subject ?pfs48 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation49 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_01984
  #Rule MF_01984 Created by:? on:2015-09-01 Modified by:Edouard de Castro on:2024-09-19
  {
    ?this up:organism ?thisOrganism ;
      rdfs:seeAlso signature:MF_01984 .
    ?thisOrganism rdfs:subClassOf+ taxon:2 .
    FILTER (! (EXISTS {
      ?this rdfs:seeAlso signature:MF_01986 .
    })) .
  } UNION {
    ?this up:organism ?thisOrganism ;
      rdfs:seeAlso signature:MF_01984 .
    ?thisOrganism rdfs:subClassOf+ taxon:2 .
    FILTER (! (EXISTS {
      ?thisOrganism rdfs:subClassOf+ taxon:2 .
    })) .
  } UNION {
    ?this up:organism ?thisOrganism ;
      rdfs:seeAlso signature:MF_01984 .
    ?thisOrganism rdfs:subClassOf+ taxon:2157 .
    FILTER (! (EXISTS {
      ?this rdfs:seeAlso signature:MF_01986 .
    })) .
  } UNION {
    ?this up:organism ?thisOrganism ;
      rdfs:seeAlso signature:MF_01984 .
    ?thisOrganism rdfs:subClassOf+ taxon:2157 .
    FILTER (! (EXISTS {
      ?thisOrganism rdfs:subClassOf+ taxon:2 .
    })) .
  }
  BIND(URI(CONCAT(STR(?this), '#MF_01984a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_01984a2')) AS ?annotation2) .
  BIND(URI(CONCAT(STR(?this), '#MF_01984a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_01984a5')) AS ?annotation5) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch59 faldo:location ?templateMotifSequenceMatchRegionQ9HX0860 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ9HX0862 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ9HX08MF_0198455 .
    ?templateMotifSequenceMatchRegionQ9HX0860 faldo:begin ?templateMotifSequenceMatchBeginQ9HX0861 .
    ?templateMotifSequenceMatchBeginQ9HX0861 faldo:position ?templateMotifSequenceMatchBeginPositionQ9HX0856 ;
      faldo:reference isoform:Q9HX08-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ9HX0862 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch63 faldo:location ?targetMotifMatchRegionMatch64 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0198466 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ9HX08MF_0198457 .
    ?targetMotifMatchRegionMatch64 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0198465 .
    ?targetMotifMatchRegionMatchBeginMF_0198465 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0198458 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0198466 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ9HX08MF_0198455, 1, (STRLEN(?templateMotifCigarQ9HX08MF_0198455) - STRLEN(REPLACE(?templateMotifCigarQ9HX08MF_0198455, CONCAT('^(?:-*[^-]){', STR(((13 - ?templateMotifSequenceMatchBeginPositionQ9HX0856) + 1)), '}'), '')))), '[a-z]', '')) AS ?step167) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ9HX08MF_0198457, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_0198457) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_0198457, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step167), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ9HX08MF_0198457, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_0198457) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_0198457, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step167), '}'), '')))), '[^-]', ''))) AS ?step268) .
    BIND(((?step268 + ?targetMotifMatchRegionMatchBeginPositionMF_0198458) - 1) AS ?thisPositionOn11) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ9HX08MF_0198455, 1, (STRLEN(?templateMotifCigarQ9HX08MF_0198455) - STRLEN(REPLACE(?templateMotifCigarQ9HX08MF_0198455, CONCAT('^(?:-*[^-]){', STR(((15 - ?templateMotifSequenceMatchBeginPositionQ9HX0856) + 1)), '}'), '')))), '[a-z]', '')) AS ?step169) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ9HX08MF_0198457, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_0198457) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_0198457, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step169), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ9HX08MF_0198457, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_0198457) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_0198457, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step169), '}'), '')))), '[^-]', ''))) AS ?step270) .
    BIND(((?step270 + ?targetMotifMatchRegionMatchBeginPositionMF_0198458) - 1) AS ?thisPositionOn12) .
    BIND(?this AS ?pfs1t71) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn11))) AS ?pfsb8) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn12))) AS ?pfse9) .
    FILTER (REGEX('G[AGS][ST]', SUBSTR(?thisSequenceValue, ?thisPositionOn11, (?thisPositionOn12 - ?thisPositionOn11)))) .
    BIND(URI(CONCAT(STR(?this), '#MF_01984a7')) AS ?annotation7) .
    BIND(?this AS ?pfs6) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch76 faldo:location ?templateMotifSequenceMatchRegionQ9HX0877 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ9HX0879 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ9HX08MF_0198472 .
    ?templateMotifSequenceMatchRegionQ9HX0877 faldo:begin ?templateMotifSequenceMatchBeginQ9HX0878 .
    ?templateMotifSequenceMatchBeginQ9HX0878 faldo:position ?templateMotifSequenceMatchBeginPositionQ9HX0873 ;
      faldo:reference isoform:Q9HX08-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ9HX0879 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch80 faldo:location ?targetMotifMatchRegionMatch81 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0198483 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ9HX08MF_0198474 .
    ?targetMotifMatchRegionMatch81 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0198482 .
    ?targetMotifMatchRegionMatchBeginMF_0198482 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0198475 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0198483 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ9HX08MF_0198472, 1, (STRLEN(?templateMotifCigarQ9HX08MF_0198472) - STRLEN(REPLACE(?templateMotifCigarQ9HX08MF_0198472, CONCAT('^(?:-*[^-]){', STR(((104 - ?templateMotifSequenceMatchBeginPositionQ9HX0873) + 1)), '}'), '')))), '[a-z]', '')) AS ?step184) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ9HX08MF_0198474, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_0198474) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_0198474, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step184), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ9HX08MF_0198474, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_0198474) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_0198474, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step184), '}'), '')))), '[^-]', ''))) AS ?step285) .
    BIND(((?step285 + ?targetMotifMatchRegionMatchBeginPositionMF_0198475) - 1) AS ?thisPositionOn18) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ9HX08MF_0198472, 1, (STRLEN(?templateMotifCigarQ9HX08MF_0198472) - STRLEN(REPLACE(?templateMotifCigarQ9HX08MF_0198472, CONCAT('^(?:-*[^-]){', STR(((107 - ?templateMotifSequenceMatchBeginPositionQ9HX0873) + 1)), '}'), '')))), '[a-z]', '')) AS ?step186) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ9HX08MF_0198474, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_0198474) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_0198474, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step186), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ9HX08MF_0198474, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_0198474) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_0198474, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step186), '}'), '')))), '[^-]', ''))) AS ?step287) .
    BIND(((?step287 + ?targetMotifMatchRegionMatchBeginPositionMF_0198475) - 1) AS ?thisPositionOn19) .
    BIND(?this AS ?pfs1t88) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn18))) AS ?pfsb15) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn19))) AS ?pfse16) .
    FILTER (REGEX('[ST][ARNDCQEGHILKMFPSTWYVBZJUOX]{2)[ST]', SUBSTR(?thisSequenceValue, ?thisPositionOn18, (?thisPositionOn19 - ?thisPositionOn18)))) .
    BIND(URI(CONCAT(STR(?this), '#MF_01984a14')) AS ?annotation14) .
    BIND(?this AS ?pfs13) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch93 faldo:location ?templateMotifSequenceMatchRegionQ9HX0894 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ9HX0896 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ9HX08MF_0198489 .
    ?templateMotifSequenceMatchRegionQ9HX0894 faldo:begin ?templateMotifSequenceMatchBeginQ9HX0895 .
    ?templateMotifSequenceMatchBeginQ9HX0895 faldo:position ?templateMotifSequenceMatchBeginPositionQ9HX0890 ;
      faldo:reference isoform:Q9HX08-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ9HX0896 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch97 faldo:location ?targetMotifMatchRegionMatch98 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01984100 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ9HX08MF_0198491 .
    ?targetMotifMatchRegionMatch98 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0198499 .
    ?targetMotifMatchRegionMatchBeginMF_0198499 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0198492 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01984100 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ9HX08MF_0198489, 1, (STRLEN(?templateMotifCigarQ9HX08MF_0198489) - STRLEN(REPLACE(?templateMotifCigarQ9HX08MF_0198489, CONCAT('^(?:-*[^-]){', STR(((39 - ?templateMotifSequenceMatchBeginPositionQ9HX0890) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1101) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ9HX08MF_0198491, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_0198491) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_0198491, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1101), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ9HX08MF_0198491, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_0198491) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_0198491, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1101), '}'), '')))), '[^-]', ''))) AS ?step2102) .
    BIND(((?step2102 + ?targetMotifMatchRegionMatchBeginPositionMF_0198492) - 1) AS ?thisPositionOn25) .
    BIND(?thisPositionOn25 AS ?thisPositionOn26) .
    BIND(?this AS ?pfs1t103) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn25))) AS ?pfsb22) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn26))) AS ?pfse23) .
    FILTER (REGEX('[ST]', SUBSTR(?thisSequenceValue, ?thisPositionOn25, 1))) .
    BIND(URI(CONCAT(STR(?this), '#MF_01984a21')) AS ?annotation21) .
    BIND(?this AS ?pfs20) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch108 faldo:location ?templateMotifSequenceMatchRegionQ9HX08109 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ9HX08111 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ9HX08MF_01984104 .
    ?templateMotifSequenceMatchRegionQ9HX08109 faldo:begin ?templateMotifSequenceMatchBeginQ9HX08110 .
    ?templateMotifSequenceMatchBeginQ9HX08110 faldo:position ?templateMotifSequenceMatchBeginPositionQ9HX08105 ;
      faldo:reference isoform:Q9HX08-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ9HX08111 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch112 faldo:location ?targetMotifMatchRegionMatch113 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01984115 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ9HX08MF_01984106 .
    ?targetMotifMatchRegionMatch113 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01984114 .
    ?targetMotifMatchRegionMatchBeginMF_01984114 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01984107 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01984115 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ9HX08MF_01984104, 1, (STRLEN(?templateMotifCigarQ9HX08MF_01984104) - STRLEN(REPLACE(?templateMotifCigarQ9HX08MF_01984104, CONCAT('^(?:-*[^-]){', STR(((116 - ?templateMotifSequenceMatchBeginPositionQ9HX08105) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1116) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ9HX08MF_01984106, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_01984106) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_01984106, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1116), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ9HX08MF_01984106, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_01984106) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_01984106, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1116), '}'), '')))), '[^-]', ''))) AS ?step2117) .
    BIND(((?step2117 + ?targetMotifMatchRegionMatchBeginPositionMF_01984107) - 1) AS ?thisPositionOn32) .
    BIND(?thisPositionOn32 AS ?thisPositionOn33) .
    BIND(?this AS ?pfs1t118) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn32))) AS ?pfsb29) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn33))) AS ?pfse30) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn32, 1) = 'C')) .
    BIND(URI(CONCAT(STR(?this), '#MF_01984a28')) AS ?annotation28) .
    BIND(?this AS ?pfs27) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch123 faldo:location ?templateMotifSequenceMatchRegionQ9HX08124 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ9HX08126 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ9HX08MF_01984119 .
    ?templateMotifSequenceMatchRegionQ9HX08124 faldo:begin ?templateMotifSequenceMatchBeginQ9HX08125 .
    ?templateMotifSequenceMatchBeginQ9HX08125 faldo:position ?templateMotifSequenceMatchBeginPositionQ9HX08120 ;
      faldo:reference isoform:Q9HX08-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ9HX08126 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch127 faldo:location ?targetMotifMatchRegionMatch128 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01984130 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ9HX08MF_01984121 .
    ?targetMotifMatchRegionMatch128 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01984129 .
    ?targetMotifMatchRegionMatchBeginMF_01984129 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01984122 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01984130 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ9HX08MF_01984119, 1, (STRLEN(?templateMotifCigarQ9HX08MF_01984119) - STRLEN(REPLACE(?templateMotifCigarQ9HX08MF_01984119, CONCAT('^(?:-*[^-]){', STR(((139 - ?templateMotifSequenceMatchBeginPositionQ9HX08120) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1131) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ9HX08MF_01984121, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_01984121) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_01984121, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1131), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ9HX08MF_01984121, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_01984121) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_01984121, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1131), '}'), '')))), '[^-]', ''))) AS ?step2132) .
    BIND(((?step2132 + ?targetMotifMatchRegionMatchBeginPositionMF_01984122) - 1) AS ?thisPositionOn39) .
    BIND(?thisPositionOn39 AS ?thisPositionOn40) .
    BIND(?this AS ?pfs1t133) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn39))) AS ?pfsb36) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn40))) AS ?pfse37) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn39, 1) = 'R')) .
    BIND(URI(CONCAT(STR(?this), '#MF_01984a35')) AS ?annotation35) .
    BIND(?this AS ?pfs34) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch138 faldo:location ?templateMotifSequenceMatchRegionQ9HX08139 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ9HX08141 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ9HX08MF_01984134 .
    ?templateMotifSequenceMatchRegionQ9HX08139 faldo:begin ?templateMotifSequenceMatchBeginQ9HX08140 .
    ?templateMotifSequenceMatchBeginQ9HX08140 faldo:position ?templateMotifSequenceMatchBeginPositionQ9HX08135 ;
      faldo:reference isoform:Q9HX08-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ9HX08141 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch142 faldo:location ?targetMotifMatchRegionMatch143 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01984145 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ9HX08MF_01984136 .
    ?targetMotifMatchRegionMatch143 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01984144 .
    ?targetMotifMatchRegionMatchBeginMF_01984144 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01984137 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01984145 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ9HX08MF_01984134, 1, (STRLEN(?templateMotifCigarQ9HX08MF_01984134) - STRLEN(REPLACE(?templateMotifCigarQ9HX08MF_01984134, CONCAT('^(?:-*[^-]){', STR(((169 - ?templateMotifSequenceMatchBeginPositionQ9HX08135) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1146) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ9HX08MF_01984136, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_01984136) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_01984136, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1146), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ9HX08MF_01984136, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_01984136) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_01984136, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1146), '}'), '')))), '[^-]', ''))) AS ?step2147) .
    BIND(((?step2147 + ?targetMotifMatchRegionMatchBeginPositionMF_01984137) - 1) AS ?thisPositionOn46) .
    BIND(?thisPositionOn46 AS ?thisPositionOn47) .
    BIND(?this AS ?pfs1t148) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn46))) AS ?pfsb43) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn47))) AS ?pfse44) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn46, 1) = 'Y')) .
    BIND(URI(CONCAT(STR(?this), '#MF_01984a42')) AS ?annotation42) .
    BIND(?this AS ?pfs41) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch153 faldo:location ?templateMotifSequenceMatchRegionQ9HX08154 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationQ9HX08156 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarQ9HX08MF_01984149 .
    ?templateMotifSequenceMatchRegionQ9HX08154 faldo:begin ?templateMotifSequenceMatchBeginQ9HX08155 .
    ?templateMotifSequenceMatchBeginQ9HX08155 faldo:position ?templateMotifSequenceMatchBeginPositionQ9HX08150 ;
      faldo:reference isoform:Q9HX08-1 .
    ?templateMotifSequenceProfileAlignmentOperationQ9HX08156 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch157 faldo:location ?targetMotifMatchRegionMatch158 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01984160 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarQ9HX08MF_01984151 .
    ?targetMotifMatchRegionMatch158 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01984159 .
    ?targetMotifMatchRegionMatchBeginMF_01984159 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01984152 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01984160 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarQ9HX08MF_01984149, 1, (STRLEN(?templateMotifCigarQ9HX08MF_01984149) - STRLEN(REPLACE(?templateMotifCigarQ9HX08MF_01984149, CONCAT('^(?:-*[^-]){', STR(((185 - ?templateMotifSequenceMatchBeginPositionQ9HX08150) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1161) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarQ9HX08MF_01984151, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_01984151) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_01984151, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1161), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarQ9HX08MF_01984151, 1, (STRLEN(?targetMotifMatchCigarQ9HX08MF_01984151) - STRLEN(REPLACE(?targetMotifMatchCigarQ9HX08MF_01984151, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1161), '}'), '')))), '[^-]', ''))) AS ?step2162) .
    BIND(((?step2162 + ?targetMotifMatchRegionMatchBeginPositionMF_01984152) - 1) AS ?thisPositionOn53) .
    BIND(?thisPositionOn53 AS ?thisPositionOn54) .
    BIND(?this AS ?pfs1t163) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn53))) AS ?pfsb50) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn54))) AS ?pfse51) .
    FILTER (REGEX('[RK]', SUBSTR(?thisSequenceValue, ?thisPositionOn53, 1))) .
    BIND(URI(CONCAT(STR(?this), '#MF_01984a49')) AS ?annotation49) .
    BIND(?this AS ?pfs48) .
  }
}
""" .

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