Nanopublication

< Home

ID

https://w3id.org/np/RA1saJ6qsQ5dXvFX6vii5eji_DVuTbBAmLziuFfa_0RbI

Formats

.trig | .trig.txt | .jelly | .jelly.txt | .jsonld | .jsonld.txt | .nq | .nq.txt | .xml | .xml.txt

Content

@prefix this: <https://w3id.org/np/RA1saJ6qsQ5dXvFX6vii5eji_DVuTbBAmLziuFfa_0RbI> .
@prefix sub: <https://w3id.org/np/RA1saJ6qsQ5dXvFX6vii5eji_DVuTbBAmLziuFfa_0RbI/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix grlc: <https://w3id.org/kpxl/grlc/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix nt: <https://w3id.org/np/o/ntemplate/> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix orcid: <https://orcid.org/> .
@prefix ns1: <http://purl.org/np/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

sub:Head {
  this: a np:Nanopublication;
    np:hasAssertion sub:assertion;
    np:hasProvenance sub:provenance;
    np:hasPublicationInfo sub:pubinfo .
}

sub:assertion {
  sub:get-presentations-for-event a grlc:grlc-query;
    dct:description "Returns all presentations of the given event, with label, date, time, location, presenter, and nanopub link.";
    dct:license <http://www.apache.org/licenses/LICENSE-2.0>;
    rdfs:label "Get presentations for event";
    grlc:endpoint <https://w3id.org/np/l/nanopub-query-1.1/repo/type/3952cad1a6d2561f045d33e5e79c03e7264b0a492b8becf6c62656c596cf398c>;
    grlc:sparql """prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix dct: <http://purl.org/dc/terms/>
prefix np: <http://www.nanopub.org/nschema#>
prefix npa: <http://purl.org/nanopub/admin/>
prefix npx: <http://purl.org/nanopub/x/>
prefix wd: <http://www.wikidata.org/entity/>
prefix schema: <https://schema.org/>

select ?presentation ?presentation_label ?date ?time ?location ?speaker ?np (\"^\" as ?np_label) where {
  graph npa:graph {
    ?np npa:hasValidSignatureForPublicKeyHash ?pubkey .
    filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
    filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }
    ?np dct:created ?npdate .
    ?np np:hasAssertion ?a .
    ?np npx:introduces ?presentation .
  }
  values ?_event_multi_iri {}
  graph ?a {
    ?presentation a wd:Q604733 .
    ?presentation dct:isPartOf ?_event_multi_iri .
    ?presentation wd:P823 ?speaker .
  }
  optional { graph ?a { ?presentation rdfs:label ?presentation_label . } }
  optional { graph ?a { ?presentation dct:date ?olddate . } }
  optional { graph ?a { ?presentation schema:startDate ?startDate . } }
  optional { graph ?a { ?presentation schema:endDate ?endDate . } }
  optional { graph ?a { ?presentation schema:location ?location . } }
  bind(coalesce(strbefore(str(?startDate), \"T\"), str(?olddate)) as ?date)
  bind(substr(strafter(str(?startDate), \"T\"), 1, 5) as ?starttime)
  bind(substr(strafter(str(?endDate), \"T\"), 1, 5) as ?endtime)
  bind(coalesce(concat(?starttime, \"\\u2013\", ?endtime), ?starttime) as ?time)
  bind(coalesce(str(?startDate), str(?olddate)) as ?sortkey)
} order by desc(?sortkey)""" .
}

sub:provenance {
  sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 .
}

sub:pubinfo {
  orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" .
  
  this: dct:created "2026-08-19T13:21:17Z"^^xsd:dateTime;
    dct:creator orcid:0000-0002-1267-0234;
    dct:license <https://creativecommons.org/licenses/by/4.0/>;
    npx:embeds sub:get-presentations-for-event;
    prov:wasDerivedFrom <https://w3id.org/np/RAumk_6pLPHg00vXXJXCjUDfdhQDqUqy9ZzO9PCaMdZec>;
    nt:wasCreatedFromProvenanceTemplate ns1:RAcm8OurwUk15WOgBM9wySo-T3a5h6as4K8YR5MBrrxUc;
    nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8>,
      <https://w3id.org/np/RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ>, <https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI>;
    nt:wasCreatedFromTemplate <https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k> .
  
  sub:sig npx:hasAlgorithm "RSA";
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
    npx:hasSignature "pCeo/nmGdQvnTTETot1S0tdldxnyvvTFqTkEkkDZALeZUPl14/p7aWwXqGlBPWJviiuFN9AHgi9bbapR03fVoYgqmvb20EIzFKN/R9BLR4Lpf2TvPOEiChntJholidtdrC9BKb7JNWXATFmmEjai3faM41N6+CRcDAVl1ZQlUaQ=";
    npx:hasSignatureTarget this:;
    npx:signedBy orcid:0000-0002-1267-0234 .
}