@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_03197#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_03197#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-6>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-25>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-26>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-36>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-38>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-134>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-12>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-110>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-16>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-31>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-9>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-18>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-59>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-111>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-52>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-11>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-8>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-35>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-3>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-13>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-131>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-60>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-58>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-27>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-10>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-34>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-132>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-133>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-33>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-57>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-20>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-32>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-30>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-29>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-56>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-114>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-44>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-7>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-115>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-55>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-79>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-53>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-54>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-112>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-78>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-17>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-48>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-77>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-113>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-50>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-22>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-40>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-21>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-19>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-62>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-46>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-41>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-130>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-15>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-39>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-61>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-14>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-23>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-37>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-24>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-43>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-4>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-63>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-0>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-28>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-118>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-88>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-86>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-87>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-119>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-45>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-2>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-85>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-116>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-84>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-117>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-83>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-51>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-82>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-81>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-80>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-42>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-121>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-122>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-47>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-123>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-120>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-69>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-126>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-102>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-68>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-127>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-67>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-103>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-100>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-66>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-124>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-64>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-65>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-101>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-89>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-125>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-49>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-91>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-90>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-75>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-106>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-76>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-74>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-107>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-99>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-73>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-97>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-104>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-128>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-98>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-72>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-96>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-105>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-129>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-95>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-71>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-94>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-70>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-93>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-108>,
    <http://purl.uniprot.org/unirules/MF_03197#construct-template-92>, <http://purl.uniprot.org/unirules/MF_03197#construct-template-109>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_03197#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_03197#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:875285 up:source unirule:MF_03197 .
  _:875286 up:source unirule:MF_03197 .
  _:875287 up:source unirule:MF_03197 .
  _:875288 up:source unirule:MF_03197 .
  _:875289 up:source unirule:MF_03197 .
  _:875290 up:source unirule:MF_03197 .
  _:875291 up:source unirule:MF_03197 .
  _:875292 up:source unirule:MF_03197 .
  _:875293 up:source unirule:MF_03197 .
  _:875294 up:source unirule:MF_03197 .
  _:875295 up:source unirule:MF_03197 .
  _:875296 up:source unirule:MF_03197 .
  _:875297 up:source unirule:MF_03197 .
  _:875298 up:source unirule:MF_03197 .
  _:875299 up:source unirule:MF_03197 .
  _:875300 up:source unirule:MF_03197 .
  _:875301 up:source unirule:MF_03197 .
  _:875302 up:source unirule:MF_03197 .
  _:875303 up:source unirule:MF_03197 .
  _:875304 up:source unirule:MF_03197 .
  ?this up:annotation ?annotation2 ,
      ?annotation3 ,
      ?annotation5 ,
      ?annotation6 ,
      ?annotation8 ;
    up:classifiedWith GO:0004659 ,
      GO:0005739 ,
      keyword:285 ,
      keyword:288 ,
      keyword:496 ,
      keyword:637 ,
      keyword:808 ;
    up:recommendedName ?name0 .
  ?name0 up:ecName '2.5.1.129' ;
    up:fullName 'Flavin prenyltransferase PAD1, mitochondrial' ;
    rdf:type up:Structured_Name .
  ?gene1 skos:prefLabel 'PAD1' .
  ?annotation2 a up:Function_Annotation ;
    rdfs:comment 'Flavin prenyltransferase that catalyzes the synthesis of the prenylated FMN cofactor (prenyl-FMN) for the ferulic acid decarboxylase FDC1. 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:Subunit_Annotation ;
    rdfs:comment 'Oligomer.' .
  ?annotation6 a up:Subcellular_Location_Annotation .
  ?annotation6li7 up:cellularComponent <http://purl.uniprot.org/locations/null>.
  ?annotation8 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the UbiX/PAD1 family.' .
  ?pfs9 up:annotation ?annotation10 .
  ?annotation10 faldo:begin ?pfsb11 ;
    faldo:end ?pfse12 ;
    up:ligand ?ligand13 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb11 faldo:position ?thisPositionOn14 ;
    rdf:type faldo:ExactPosition .
  ?pfse12 faldo:position ?thisPositionOn15 ;
    rdf:type faldo:ExactPosition .
  ?ligand13 rdfs:subClassOf chebi:58210 .
  ?pfs16 up:annotation ?annotation17 .
  ?annotation17 faldo:begin ?pfsb18 ;
    faldo:end ?pfse19 ;
    up:ligand ?ligand20 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb18 faldo:position ?thisPositionOn21 ;
    rdf:type faldo:ExactPosition .
  ?pfse19 faldo:position ?thisPositionOn22 ;
    rdf:type faldo:ExactPosition .
  ?ligand20 rdfs:subClassOf chebi:58210 .
  ?pfs23 up:annotation ?annotation24 .
  ?annotation24 faldo:begin ?pfsb25 ;
    faldo:end ?pfse26 ;
    up:ligand ?ligand27 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb25 faldo:position ?thisPositionOn28 ;
    rdf:type faldo:ExactPosition .
  ?pfse26 faldo:position ?thisPositionOn29 ;
    rdf:type faldo:ExactPosition .
  ?ligand27 rdfs:subClassOf chebi:58210 .
  ?pfs30 up:annotation ?annotation31 .
  ?annotation31 faldo:begin ?pfsb32 ;
    faldo:end ?pfse33 ;
    up:ligand ?ligand34 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb32 faldo:position ?thisPositionOn35 ;
    rdf:type faldo:ExactPosition .
  ?pfse33 faldo:position ?thisPositionOn36 ;
    rdf:type faldo:ExactPosition .
  ?ligand34 rdfs:subClassOf chebi:58210 .
  ?pfs37 up:annotation ?annotation38 .
  ?annotation38 faldo:begin ?pfsb39 ;
    faldo:end ?pfse40 ;
    up:ligand ?ligand41 ;
    rdf:type up:Binding_Site_Annotation .
  ?pfsb39 faldo:position ?thisPositionOn42 ;
    rdf:type faldo:ExactPosition .
  ?pfse40 faldo:position ?thisPositionOn43 ;
    rdf:type faldo:ExactPosition .
  ?ligand41 rdfs:subClassOf chebi:88052 .
  ?pfs44 up:annotation ?annotation45 .
  ?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:88052 .
  _:875305 a rdf:Statement ;
    up:attribution _:875285 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:875306 a rdf:Statement ;
    up:attribution _:875286 ;
    rdf:subject ?gene1 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene1 .
  _:875307 a rdf:Statement ;
    up:attribution _:875287 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation2 .
  _:875308 a rdf:Statement ;
    up:attribution _:875288 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:875309 a rdf:Statement ;
    up:attribution _:875289 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation5 .
  _:875310 a rdf:Statement ;
    up:attribution _:875290 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation6 .
  _:875311 a rdf:Statement ;
    up:attribution _:875291 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation8 .
  _:875312 a rdf:Statement ;
    up:attribution _:875292 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:285 .
  _:875313 a rdf:Statement ;
    up:attribution _:875293 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:288 .
  _:875314 a rdf:Statement ;
    up:attribution _:875294 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:496 .
  _:875315 a rdf:Statement ;
    up:attribution _:875295 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:637 .
  _:875316 a rdf:Statement ;
    up:attribution _:875296 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:808 .
  _:875317 a rdf:Statement ;
    up:attribution _:875297 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0005739 .
  _:875318 a rdf:Statement ;
    up:attribution _:875298 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0004659 .
  _:875319 a rdf:Statement ;
    up:source unirule:MF_03197 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation10 .
  _:875320 a rdf:Statement ;
    up:attribution _:875299 ;
    rdf:subject ?pfs9 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation10 .
  _:875321 a rdf:Statement ;
    up:source unirule:MF_03197 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation17 .
  _:875322 a rdf:Statement ;
    up:attribution _:875300 ;
    rdf:subject ?pfs16 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation17 .
  _:875323 a rdf:Statement ;
    up:source unirule:MF_03197 ;
    rdf:subject ?pfs23 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation24 .
  _:875324 a rdf:Statement ;
    up:attribution _:875301 ;
    rdf:subject ?pfs23 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation24 .
  _:875325 a rdf:Statement ;
    up:source unirule:MF_03197 ;
    rdf:subject ?pfs30 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation31 .
  _:875326 a rdf:Statement ;
    up:attribution _:875302 ;
    rdf:subject ?pfs30 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation31 .
  _:875327 a rdf:Statement ;
    up:source unirule:MF_03197 ;
    rdf:subject ?pfs37 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation38 .
  _:875328 a rdf:Statement ;
    up:attribution _:875303 ;
    rdf:subject ?pfs37 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation38 .
  _:875329 a rdf:Statement ;
    up:source unirule:MF_03197 ;
    rdf:subject ?pfs44 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation45 .
  _:875330 a rdf:Statement ;
    up:attribution _:875304 ;
    rdf:subject ?pfs44 ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation45 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_03197
  #Rule MF_03197 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:4751 .
    FILTER (! (EXISTS {
      ?this rdfs:seeAlso signature:MF_01986 .
    })) .
  } UNION {
    ?this up:organism ?thisOrganism ;
      rdfs:seeAlso signature:MF_01984 .
    ?thisOrganism rdfs:subClassOf+ taxon:4751 .
    FILTER (! (EXISTS {
      ?thisOrganism rdfs:subClassOf+ taxon:2 .
    })) .
  }
  BIND(URI(CONCAT(STR(?this), '#MF_03197a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_03197a2')) AS ?annotation2) .
  BIND(URI(CONCAT(STR(?this), '#MF_03197a3')) AS ?annotation3) .
  BIND(URI(CONCAT(STR(?this), '#MF_03197a5')) AS ?annotation5) .
  BIND(URI(CONCAT(STR(?this), '#MF_03197a6')) AS ?annotation6) .
  BIND(URI(CONCAT(STR(?this), '#MF_03197a8')) AS ?annotation8) .
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch55 faldo:location ?templateMotifSequenceMatchRegionP3375156 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP3375158 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP33751MF_0198451 .
    ?templateMotifSequenceMatchRegionP3375156 faldo:begin ?templateMotifSequenceMatchBeginP3375157 .
    ?templateMotifSequenceMatchBeginP3375157 faldo:position ?templateMotifSequenceMatchBeginPositionP3375152 ;
      faldo:reference isoform:P33751-1 .
    ?templateMotifSequenceProfileAlignmentOperationP3375158 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch59 faldo:location ?targetMotifMatchRegionMatch60 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0198462 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP33751MF_0198453 .
    ?targetMotifMatchRegionMatch60 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0198461 .
    ?targetMotifMatchRegionMatchBeginMF_0198461 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0198454 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0198462 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP33751MF_0198451, 1, (STRLEN(?templateMotifCigarP33751MF_0198451) - STRLEN(REPLACE(?templateMotifCigarP33751MF_0198451, CONCAT('^(?:-*[^-]){', STR(((63 - ?templateMotifSequenceMatchBeginPositionP3375152) + 1)), '}'), '')))), '[a-z]', '')) AS ?step163) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP33751MF_0198453, 1, (STRLEN(?targetMotifMatchCigarP33751MF_0198453) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_0198453, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step163), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP33751MF_0198453, 1, (STRLEN(?targetMotifMatchCigarP33751MF_0198453) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_0198453, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step163), '}'), '')))), '[^-]', ''))) AS ?step264) .
    BIND(((?step264 + ?targetMotifMatchRegionMatchBeginPositionMF_0198454) - 1) AS ?thisPositionOn14) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP33751MF_0198451, 1, (STRLEN(?templateMotifCigarP33751MF_0198451) - STRLEN(REPLACE(?templateMotifCigarP33751MF_0198451, CONCAT('^(?:-*[^-]){', STR(((65 - ?templateMotifSequenceMatchBeginPositionP3375152) + 1)), '}'), '')))), '[a-z]', '')) AS ?step165) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP33751MF_0198453, 1, (STRLEN(?targetMotifMatchCigarP33751MF_0198453) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_0198453, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step165), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP33751MF_0198453, 1, (STRLEN(?targetMotifMatchCigarP33751MF_0198453) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_0198453, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step165), '}'), '')))), '[^-]', ''))) AS ?step266) .
    BIND(((?step266 + ?targetMotifMatchRegionMatchBeginPositionMF_0198454) - 1) AS ?thisPositionOn15) .
    BIND(?this AS ?pfs1t67) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn14))) AS ?pfsb11) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn15))) AS ?pfse12) .
    FILTER (REGEX('G[AGS][ST]', SUBSTR(?thisSequenceValue, ?thisPositionOn14, (?thisPositionOn15 - ?thisPositionOn14)))) .
    BIND(URI(CONCAT(STR(?this), '#MF_03197a10')) AS ?annotation10) .
    BIND(?this AS ?pfs9) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch72 faldo:location ?templateMotifSequenceMatchRegionP3375173 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP3375175 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP33751MF_0198468 .
    ?templateMotifSequenceMatchRegionP3375173 faldo:begin ?templateMotifSequenceMatchBeginP3375174 .
    ?templateMotifSequenceMatchBeginP3375174 faldo:position ?templateMotifSequenceMatchBeginPositionP3375169 ;
      faldo:reference isoform:P33751-1 .
    ?templateMotifSequenceProfileAlignmentOperationP3375175 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch76 faldo:location ?targetMotifMatchRegionMatch77 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0198479 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP33751MF_0198470 .
    ?targetMotifMatchRegionMatch77 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0198478 .
    ?targetMotifMatchRegionMatchBeginMF_0198478 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0198471 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0198479 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP33751MF_0198468, 1, (STRLEN(?templateMotifCigarP33751MF_0198468) - STRLEN(REPLACE(?templateMotifCigarP33751MF_0198468, CONCAT('^(?:-*[^-]){', STR(((140 - ?templateMotifSequenceMatchBeginPositionP3375169) + 1)), '}'), '')))), '[a-z]', '')) AS ?step180) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP33751MF_0198470, 1, (STRLEN(?targetMotifMatchCigarP33751MF_0198470) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_0198470, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step180), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP33751MF_0198470, 1, (STRLEN(?targetMotifMatchCigarP33751MF_0198470) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_0198470, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step180), '}'), '')))), '[^-]', ''))) AS ?step281) .
    BIND(((?step281 + ?targetMotifMatchRegionMatchBeginPositionMF_0198471) - 1) AS ?thisPositionOn21) .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP33751MF_0198468, 1, (STRLEN(?templateMotifCigarP33751MF_0198468) - STRLEN(REPLACE(?templateMotifCigarP33751MF_0198468, CONCAT('^(?:-*[^-]){', STR(((143 - ?templateMotifSequenceMatchBeginPositionP3375169) + 1)), '}'), '')))), '[a-z]', '')) AS ?step182) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP33751MF_0198470, 1, (STRLEN(?targetMotifMatchCigarP33751MF_0198470) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_0198470, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step182), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP33751MF_0198470, 1, (STRLEN(?targetMotifMatchCigarP33751MF_0198470) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_0198470, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step182), '}'), '')))), '[^-]', ''))) AS ?step283) .
    BIND(((?step283 + ?targetMotifMatchRegionMatchBeginPositionMF_0198471) - 1) AS ?thisPositionOn22) .
    BIND(?this AS ?pfs1t84) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn21))) AS ?pfsb18) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn22))) AS ?pfse19) .
    FILTER (REGEX('[ST][ARNDCQEGHILKMFPSTWYVBZJUOX]{2)[ST]', SUBSTR(?thisSequenceValue, ?thisPositionOn21, (?thisPositionOn22 - ?thisPositionOn21)))) .
    BIND(URI(CONCAT(STR(?this), '#MF_03197a17')) AS ?annotation17) .
    BIND(?this AS ?pfs16) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch89 faldo:location ?templateMotifSequenceMatchRegionP3375190 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP3375192 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP33751MF_0198485 .
    ?templateMotifSequenceMatchRegionP3375190 faldo:begin ?templateMotifSequenceMatchBeginP3375191 .
    ?templateMotifSequenceMatchBeginP3375191 faldo:position ?templateMotifSequenceMatchBeginPositionP3375186 ;
      faldo:reference isoform:P33751-1 .
    ?templateMotifSequenceProfileAlignmentOperationP3375192 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch93 faldo:location ?targetMotifMatchRegionMatch94 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_0198496 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP33751MF_0198487 .
    ?targetMotifMatchRegionMatch94 faldo:begin ?targetMotifMatchRegionMatchBeginMF_0198495 .
    ?targetMotifMatchRegionMatchBeginMF_0198495 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_0198488 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_0198496 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP33751MF_0198485, 1, (STRLEN(?templateMotifCigarP33751MF_0198485) - STRLEN(REPLACE(?templateMotifCigarP33751MF_0198485, CONCAT('^(?:-*[^-]){', STR(((89 - ?templateMotifSequenceMatchBeginPositionP3375186) + 1)), '}'), '')))), '[a-z]', '')) AS ?step197) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP33751MF_0198487, 1, (STRLEN(?targetMotifMatchCigarP33751MF_0198487) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_0198487, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step197), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP33751MF_0198487, 1, (STRLEN(?targetMotifMatchCigarP33751MF_0198487) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_0198487, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step197), '}'), '')))), '[^-]', ''))) AS ?step298) .
    BIND(((?step298 + ?targetMotifMatchRegionMatchBeginPositionMF_0198488) - 1) AS ?thisPositionOn28) .
    BIND(?thisPositionOn28 AS ?thisPositionOn29) .
    BIND(?this AS ?pfs1t99) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn28))) AS ?pfsb25) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn29))) AS ?pfse26) .
    FILTER (REGEX('[ST]', SUBSTR(?thisSequenceValue, ?thisPositionOn28, 1))) .
    BIND(URI(CONCAT(STR(?this), '#MF_03197a24')) AS ?annotation24) .
    BIND(?this AS ?pfs23) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch104 faldo:location ?templateMotifSequenceMatchRegionP33751105 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP33751107 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP33751MF_01984100 .
    ?templateMotifSequenceMatchRegionP33751105 faldo:begin ?templateMotifSequenceMatchBeginP33751106 .
    ?templateMotifSequenceMatchBeginP33751106 faldo:position ?templateMotifSequenceMatchBeginPositionP33751101 ;
      faldo:reference isoform:P33751-1 .
    ?templateMotifSequenceProfileAlignmentOperationP33751107 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch108 faldo:location ?targetMotifMatchRegionMatch109 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01984111 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP33751MF_01984102 .
    ?targetMotifMatchRegionMatch109 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01984110 .
    ?targetMotifMatchRegionMatchBeginMF_01984110 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01984103 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01984111 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP33751MF_01984100, 1, (STRLEN(?templateMotifCigarP33751MF_01984100) - STRLEN(REPLACE(?templateMotifCigarP33751MF_01984100, CONCAT('^(?:-*[^-]){', STR(((175 - ?templateMotifSequenceMatchBeginPositionP33751101) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1112) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP33751MF_01984102, 1, (STRLEN(?targetMotifMatchCigarP33751MF_01984102) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_01984102, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1112), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP33751MF_01984102, 1, (STRLEN(?targetMotifMatchCigarP33751MF_01984102) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_01984102, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1112), '}'), '')))), '[^-]', ''))) AS ?step2113) .
    BIND(((?step2113 + ?targetMotifMatchRegionMatchBeginPositionMF_01984103) - 1) AS ?thisPositionOn35) .
    BIND(?thisPositionOn35 AS ?thisPositionOn36) .
    BIND(?this AS ?pfs1t114) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn35))) AS ?pfsb32) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn36))) AS ?pfse33) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn35, 1) = 'R')) .
    BIND(URI(CONCAT(STR(?this), '#MF_03197a31')) AS ?annotation31) .
    BIND(?this AS ?pfs30) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch119 faldo:location ?templateMotifSequenceMatchRegionP33751120 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP33751122 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP33751MF_01984115 .
    ?templateMotifSequenceMatchRegionP33751120 faldo:begin ?templateMotifSequenceMatchBeginP33751121 .
    ?templateMotifSequenceMatchBeginP33751121 faldo:position ?templateMotifSequenceMatchBeginPositionP33751116 ;
      faldo:reference isoform:P33751-1 .
    ?templateMotifSequenceProfileAlignmentOperationP33751122 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch123 faldo:location ?targetMotifMatchRegionMatch124 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01984126 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP33751MF_01984117 .
    ?targetMotifMatchRegionMatch124 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01984125 .
    ?targetMotifMatchRegionMatchBeginMF_01984125 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01984118 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01984126 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP33751MF_01984115, 1, (STRLEN(?templateMotifCigarP33751MF_01984115) - STRLEN(REPLACE(?templateMotifCigarP33751MF_01984115, CONCAT('^(?:-*[^-]){', STR(((205 - ?templateMotifSequenceMatchBeginPositionP33751116) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1127) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP33751MF_01984117, 1, (STRLEN(?targetMotifMatchCigarP33751MF_01984117) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_01984117, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1127), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP33751MF_01984117, 1, (STRLEN(?targetMotifMatchCigarP33751MF_01984117) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_01984117, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1127), '}'), '')))), '[^-]', ''))) AS ?step2128) .
    BIND(((?step2128 + ?targetMotifMatchRegionMatchBeginPositionMF_01984118) - 1) AS ?thisPositionOn42) .
    BIND(?thisPositionOn42 AS ?thisPositionOn43) .
    BIND(?this AS ?pfs1t129) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn42))) AS ?pfsb39) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn43))) AS ?pfse40) .
    FILTER ((SUBSTR(?thisSequenceValue, ?thisPositionOn42, 1) = 'Y')) .
    BIND(URI(CONCAT(STR(?this), '#MF_03197a38')) AS ?annotation38) .
    BIND(?this AS ?pfs37) .
  }
  OPTIONAL {
    ?this up:sequence ?thisSequence .
    ?thisSequence rdf:value ?thisSequenceValue .
    ?templateMotifMatch134 faldo:location ?templateMotifSequenceMatchRegionP33751135 ;
      edam:is_output_of ?templateMotifSequenceProfileAlignmentOperationP33751137 ;
      rdf:type edam:data_0869 ;
      rdf:value ?templateMotifCigarP33751MF_01984130 .
    ?templateMotifSequenceMatchRegionP33751135 faldo:begin ?templateMotifSequenceMatchBeginP33751136 .
    ?templateMotifSequenceMatchBeginP33751136 faldo:position ?templateMotifSequenceMatchBeginPositionP33751131 ;
      faldo:reference isoform:P33751-1 .
    ?templateMotifSequenceProfileAlignmentOperationP33751137 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    ?targetMotifMatch138 faldo:location ?targetMotifMatchRegionMatch139 ;
      edam:is_output_of ?targetMotifSequenceAlignmentOperationMF_01984141 ;
      rdf:type edam:data_0869 ;
      rdf:value ?targetMotifMatchCigarP33751MF_01984132 .
    ?targetMotifMatchRegionMatch139 faldo:begin ?targetMotifMatchRegionMatchBeginMF_01984140 .
    ?targetMotifMatchRegionMatchBeginMF_01984140 faldo:position ?targetMotifMatchRegionMatchBeginPositionMF_01984133 ;
      faldo:reference ?thisSequence .
    ?targetMotifSequenceAlignmentOperationMF_01984141 edam:has_input signature:MF_01984 ;
      rdf:type edam:operation_0300 .
    BIND(STRLEN(REPLACE(SUBSTR(?templateMotifCigarP33751MF_01984130, 1, (STRLEN(?templateMotifCigarP33751MF_01984130) - STRLEN(REPLACE(?templateMotifCigarP33751MF_01984130, CONCAT('^(?:-*[^-]){', STR(((221 - ?templateMotifSequenceMatchBeginPositionP33751131) + 1)), '}'), '')))), '[a-z]', '')) AS ?step1142) .
    BIND((STRLEN(SUBSTR(?targetMotifMatchCigarP33751MF_01984132, 1, (STRLEN(?targetMotifMatchCigarP33751MF_01984132) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_01984132, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1142), '}'), ''))))) - STRLEN(REPLACE(SUBSTR(?targetMotifMatchCigarP33751MF_01984132, 1, (STRLEN(?targetMotifMatchCigarP33751MF_01984132) - STRLEN(REPLACE(?targetMotifMatchCigarP33751MF_01984132, CONCAT('^(?:[a-z]*(?:[A-Z]|-)){', STR(?step1142), '}'), '')))), '[^-]', ''))) AS ?step2143) .
    BIND(((?step2143 + ?targetMotifMatchRegionMatchBeginPositionMF_01984133) - 1) AS ?thisPositionOn49) .
    BIND(?thisPositionOn49 AS ?thisPositionOn50) .
    BIND(?this AS ?pfs1t144) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn49))) AS ?pfsb46) .
    BIND(URI(CONCAT(STR(?thisSequence), '#position', STR(?thisPositionOn50))) AS ?pfse47) .
    FILTER (REGEX('[RK]', SUBSTR(?thisSequenceValue, ?thisPositionOn49, 1))) .
    BIND(URI(CONCAT(STR(?this), '#MF_03197a45')) AS ?annotation45) .
    BIND(?this AS ?pfs44) .
  }
}
""" .

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