@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_00683#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_00683#construct-template-0>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-31>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-32>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-27>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-7>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-21>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-16>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-17>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-19>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-20>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-11>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-6>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-13>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-18>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-28>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-9>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-25>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-5>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-30>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-22>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-26>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-14>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-2>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-3>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-23>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-4>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-1>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-34>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-12>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-15>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-24>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-29>,
    <http://purl.uniprot.org/unirules/MF_00683#construct-template-10>, <http://purl.uniprot.org/unirules/MF_00683#construct-template-33>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_00683#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_00683#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:256197 up:source unirule:MF_00683 .
  _:256198 up:source unirule:MF_00683 .
  _:256199 up:source unirule:MF_00683 .
  _:256200 up:source unirule:MF_00683 .
  _:256201 up:source unirule:MF_00683 .
  _:256202 up:source unirule:MF_00683 .
  _:256203 up:source unirule:MF_00683 .
  _:256204 up:source unirule:MF_00683 .
  ?this up:annotation ?annotation2 ,
      ?annotation3 ;
    up:classifiedWith GO:0005737 ,
      GO:0032880 ,
      keyword:963 ;
    up:recommendedName ?name0 .
  ?name0 up:fullName 'Pole-localizer protein TmaR' ;
    rdf:type up:Structured_Name .
  ?gene1 skos:prefLabel 'tmaR' .
  ?annotation2 a up:Function_Annotation ;
    rdfs:comment 'Pole-localizer protein involved in the regulation of several cellular processes.' .
  ?annotation3 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the pole-localizer TmaR family.' .
  ?sam6 up:classifiedWith keyword:175 .
  ?coiledCoil7 faldo:begin ?coiledCoilb8 ;
    faldo:end ?coiledCoile9 .
  ?coiledCoilb8 faldo:position ?coiledCoilbp10 .
  ?coiledCoile9 faldo:position ?coiledCoilep11 .
  ?keyword12 up:range ?coiledCoil7 .
  _:256205 a rdf:Statement ;
    up:attribution _:256197 ;
    rdf:subject ?this ;
    rdf:predicate up:recommendedName ;
    rdf:object ?name0 .
  _:256206 a rdf:Statement ;
    up:attribution _:256198 ;
    rdf:subject ?gene1 ;
    rdf:predicate up:encodedBy ;
    rdf:object ?gene1 .
  _:256207 a rdf:Statement ;
    up:attribution _:256199 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation2 .
  _:256208 a rdf:Statement ;
    up:attribution _:256200 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation3 .
  _:256209 a rdf:Statement ;
    up:attribution _:256201 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:963 .
  _:256210 a rdf:Statement ;
    up:attribution _:256202 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0032880 .
  _:256211 a rdf:Statement ;
    up:attribution _:256203 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0005737 .
  _:256212 a rdf:Statement ;
    up:attribution _:256204 ;
    rdf:subject ?sam6 ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:175 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_00683
  #Rule MF_00683 Created by:? on:2005-02-28 Modified by:Catherine Rivoire on:2025-03-11
  VALUES ?supertaxon13 {taxon:1236 taxon:32066}
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_00683 .
  ?thisOrganism rdfs:subClassOf+ ?supertaxon13 .
  BIND(URI(CONCAT(STR(?this), '#MF_00683a0')) AS ?name0) .
  BIND(URI(CONCAT(STR(?this), '#MF_00683a2')) AS ?annotation2) .
  BIND(URI(CONCAT(STR(?this), '#MF_00683a3')) AS ?annotation3) .
  OPTIONAL {
    ?this a up:Protein .
    VALUES ?supertaxon14 {taxon:561 taxon:620 taxon:590}
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ ?supertaxon14 .
    BIND(?this AS ?case4) .
  }
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    FILTER (! (EXISTS {
      VALUES ?supertaxon15 {taxon:561 taxon:620 taxon:590}
      ?thisOrganism rdfs:subClassOf+ ?supertaxon15 .
    })) .
    BIND(?this AS ?case5) .
  }
  OPTIONAL {
    ?this up:annotation ?samcc16 ;
      up:sequence ?thisSequence .
    ?samcc16 up:range ?samccr17 ;
      rdf:type up:Coiled_Coil_Annotation .
    ?samccr17 faldo:begin ?samccb18 ;
      faldo:end ?samcce19 .
    ?samccb18 faldo:position ?samccbp20 ;
      faldo:reference ?thisSequence .
    ?samcce19 faldo:position ?samccep21 ;
      faldo:reference ?thisSequence .
    BIND(?this AS ?sam6) .
  }
  BIND(URI(CONCAT(STR(?this), '#MF_00683a12')) AS ?keyword12) .
}
""" .

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