Nanopublication

< Home

ID

https://w3id.org/np/RAQap1t5Pnr2KN9HtriiZz9XprX7M4sbLGc3uhnUUCjHQ

Formats

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

Content

@prefix this: <https://w3id.org/np/RAQap1t5Pnr2KN9HtriiZz9XprX7M4sbLGc3uhnUUCjHQ> .
@prefix sub: <https://w3id.org/np/RAQap1t5Pnr2KN9HtriiZz9XprX7M4sbLGc3uhnUUCjHQ/> .
@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 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-workshops-for-conference a grlc:grlc-query;
    dct:description "Lists the sub-spaces of a given conference Space, one row each, each linked to its own page, with whether it is a Workshop or a Tutorial (conference-ontology), and its day, time and room, ordered by when it starts. Sub-space membership is read from the validated current space state; the descriptive triples come from each sub-space's current defining nanopublication, with superseded and invalidated versions filtered out. Reads both the http:// and https:// schema.org namespaces.";
    dct:license <http://www.apache.org/licenses/LICENSE-2.0>;
    rdfs:label "Get workshops and tutorials of a conference";
    grlc:endpoint <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces>;
    grlc:sparql """prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
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 gen: <https://w3id.org/kpxl/gen/terms/>
prefix conf: <https://w3id.org/scholarlydata/ontology/conference-ontology.owl#>
prefix schema: <http://schema.org/>
prefix schemanew: <https://schema.org/>
prefix foaf: <http://xmlns.com/foaf/0.1/>

select ?title_iri ?title_iri_label ?kind ?day ?time ?room ?np ?np_label (?np as ?override_target)
where {
  {
    select ?title_iri ?np ?a ?start where {
      values ?_space_multi_iri {}
      graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?state }
      graph ?state { ?title_iri npa:isSubSpaceOf ?_space_multi_iri }
      graph npa:graph {
        ?np npa:hasValidSignatureForPublicKeyHash ?pubkey ;
            np:hasAssertion ?a ;
            npx:introduces ?title_iri .
        filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
      }
      filter not exists { graph npa:graph { ?newer npx:supersedes ?np . } }
      optional { graph ?a { ?title_iri schema:startDate ?startA . } }
      optional { graph ?a { ?title_iri schemanew:startDate ?startB . } }
      bind(coalesce(?startA, ?startB) as ?start)
    }
  }
  graph ?a { ?title_iri rdfs:label ?title_iri_label . }
  optional {
    graph ?a { ?title_iri rdf:type ?t . }
    filter(?t in (conf:Workshop, conf:Tutorial))
  }
  optional { graph ?a { ?title_iri schema:endDate ?endA . } }
  optional { graph ?a { ?title_iri schemanew:endDate ?endB . } }
  optional { graph ?a { ?title_iri schema:location ?roomA . } }
  optional { graph ?a { ?title_iri schemanew:location ?roomB . } }
  bind(coalesce(?endA, ?endB) as ?end)
  bind(coalesce(str(?roomA), str(?roomB), \"\") as ?room)
  bind(if(bound(?t), replace(str(?t), \"^.*#\", \"\"), \"\") as ?kind)
  bind(if(bound(?start), substr(str(?start), 1, 10), \"\") as ?day)
  bind(if(bound(?start),
          concat(substr(str(?start), 12, 5),
                 if(bound(?end), concat(\"-\", substr(str(?end), 12, 5)), \"\")),
          \"\") as ?time)
  bind(\"^\" as ?np_label)
}
order by ?day ?time ?title_iri_label""" .
}

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-31T10:41:30Z"^^xsd:dateTime;
    dct:creator orcid:0000-0002-1267-0234;
    dct:license <https://creativecommons.org/licenses/by/4.0/>;
    npx:embeds sub:get-workshops-for-conference;
    rdfs:label "Get workshops and tutorials of a conference";
    nt:wasCreatedFromProvenanceTemplate <http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM>;
    nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RA-N4_kFxcruvBTlo1yJv29E4SLOXsx5KO_th69PprMrA>,
      <https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8>, <https://w3id.org/np/RARJj78P72NR5edKOnu_f4ePE9NYYuW2m2pM-fEoobMBk>;
    nt:wasCreatedFromTemplate <https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k> .
  
  sub:sig npx:hasAlgorithm "RSA";
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
    npx:hasSignature "LF0imIZFWa+0GWBcxDhpxPMjKCgVSk+TgKKWtGGiESBq4ZdTo2pcSPlfv6wb1+B1SLUc6i9cmCUaqd9SnAr2pVCkjgzRRZiTc6FML8v4ZEVVsFT0VKQWFpkBGwDBMvjuamVGoRDnDQ6UviEY6Qe+yNznir+KGkVyvuMUlIGfXy0=";
    npx:hasSignatureTarget this:;
    npx:signedBy orcid:0000-0002-1267-0234 .
}