@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_04156#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_04156#construct-template-9>,
    <http://purl.uniprot.org/unirules/MF_04156#construct-template-1>, <http://purl.uniprot.org/unirules/MF_04156#construct-template-19>,
    <http://purl.uniprot.org/unirules/MF_04156#construct-template-24>, <http://purl.uniprot.org/unirules/MF_04156#construct-template-2>,
    <http://purl.uniprot.org/unirules/MF_04156#construct-template-16>, <http://purl.uniprot.org/unirules/MF_04156#construct-template-8>,
    <http://purl.uniprot.org/unirules/MF_04156#construct-template-13>, <http://purl.uniprot.org/unirules/MF_04156#construct-template-6>,
    <http://purl.uniprot.org/unirules/MF_04156#construct-template-21>, <http://purl.uniprot.org/unirules/MF_04156#construct-template-15>,
    <http://purl.uniprot.org/unirules/MF_04156#construct-template-22>, <http://purl.uniprot.org/unirules/MF_04156#construct-template-3>,
    <http://purl.uniprot.org/unirules/MF_04156#construct-template-7>, <http://purl.uniprot.org/unirules/MF_04156#construct-template-20>,
    <http://purl.uniprot.org/unirules/MF_04156#construct-template-12>, <http://purl.uniprot.org/unirules/MF_04156#construct-template-14>,
    <http://purl.uniprot.org/unirules/MF_04156#construct-template-26>, <http://purl.uniprot.org/unirules/MF_04156#construct-template-0>,
    <http://purl.uniprot.org/unirules/MF_04156#construct-template-17>, <http://purl.uniprot.org/unirules/MF_04156#construct-template-5>,
    <http://purl.uniprot.org/unirules/MF_04156#construct-template-10>, <http://purl.uniprot.org/unirules/MF_04156#construct-template-4>,
    <http://purl.uniprot.org/unirules/MF_04156#construct-template-25>, <http://purl.uniprot.org/unirules/MF_04156#construct-template-11>,
    <http://purl.uniprot.org/unirules/MF_04156#construct-template-23>, <http://purl.uniprot.org/unirules/MF_04156#construct-template-18>;
  <http://www.w3.org/ns/shacl#prefixes> <http://purl.uniprot.org/unirules/>;
  <http://spinrdf.org/sp#where> <http://purl.uniprot.org/unirules/MF_04156#construct-where-list-0>;
  <http://spinrdf.org/sp#templates> <http://purl.uniprot.org/unirules/MF_04156#construct-template-list-0>;
  <http://www.w3.org/ns/shacl#construct> """CONSTRUCT {
  _:977980 up:source unirule:MF_04156 .
  _:977981 up:source unirule:MF_04156 .
  _:977982 up:source unirule:MF_04156 .
  _:977983 up:source unirule:MF_04156 .
  _:977984 up:source unirule:MF_04156 .
  _:977985 up:source unirule:MF_04156 .
  _:977986 up:source unirule:MF_04156 .
  ?this up:annotation ?annotation0 ,
      ?annotation1 ,
      ?annotation2 ;
    up:classifiedWith GO:0003677 ,
      GO:0039693 ,
      keyword:1194 ,
      keyword:238 .
  ?annotation0 a up:Function_Annotation ;
    rdfs:comment 'DNA helicase loader protein that participates in viral DNA replication, recombination, and repair. At the fork, required for loading of the replicative helicase onto DNA protected by the ssDNA-binding protein. Coordinates simultaneous synthesis of leading- and lagging-strands.' .
  ?annotation1 a up:Subunit_Annotation ;
    rdfs:comment 'Monomer. Homohexamer; when associated with DNA. Interacts (via C-terminus) with the DnaB-like replicative helicase (via C-terminus); this interaction brings about the rapid assembly of the helicase onto ssDNA. Interacts (via C-terminus) with the single-stranded DNA-binding protein; a ternary complex between the helicase assembly protein, the single-stranded DNA-binding protein and ssDNA is an obligatory intermediate in the helicase loading mechanism. Interacts with the viral DNA polymerase. Binds to single and double-stranded DNA. Part of the replicase complex that includes the DNA polymerase, the polymerase clamp, the clamp loader complex, the single-stranded DNA binding protein (SSB), the primase, the DnaB-like replicative helicase and the helicase assembly factor.' .
  ?annotation2 a up:Similarity_Annotation ;
    rdfs:comment 'Belongs to the Tequatrovirus DNA helicase assembly protein family.' .
  _:977987 a rdf:Statement ;
    up:attribution _:977980 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation0 .
  _:977988 a rdf:Statement ;
    up:attribution _:977981 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation1 .
  _:977989 a rdf:Statement ;
    up:attribution _:977982 ;
    rdf:subject ?this ;
    rdf:predicate up:annotation ;
    rdf:object ?annotation2 .
  _:977990 a rdf:Statement ;
    up:attribution _:977983 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:1194 .
  _:977991 a rdf:Statement ;
    up:attribution _:977984 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object keyword:238 .
  _:977992 a rdf:Statement ;
    up:attribution _:977985 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0003677 .
  _:977993 a rdf:Statement ;
    up:attribution _:977986 ;
    rdf:subject ?this ;
    rdf:predicate up:classifiedWith ;
    rdf:object GO:0039693 .
}
WHERE {
  #baseURI: http://purl.uniprot.org/unirule/MF_04156
  #Rule MF_04156 Created by:? on:2021-02-26 Modified by:ipedruzz on:2021-03-31
  ?this up:organism ?thisOrganism ;
    rdfs:seeAlso signature:MF_04156 .
  ?thisOrganism rdfs:subClassOf+ taxon:10665 .
  BIND(URI(CONCAT(STR(?this), '#MF_04156a0')) AS ?annotation0) .
  BIND(URI(CONCAT(STR(?this), '#MF_04156a1')) AS ?annotation1) .
  BIND(URI(CONCAT(STR(?this), '#MF_04156a2')) AS ?annotation2) .
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    ?thisOrganism rdfs:subClassOf+ taxon:10663 .
    BIND(?this AS ?case3) .
  }
  OPTIONAL {
    ?this a up:Protein .
    ?this up:organism ?thisOrganism .
    FILTER (! (EXISTS {
      ?thisOrganism rdfs:subClassOf+ taxon:10663 .
    })) .
    BIND(?this AS ?case4) .
  }
}
""" .

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