https://w3id.org/np/RAMLciMnYDO2_dl8Ar9ibJcPQx4JY3yAQWn6PivCxkT9o
.trig | .trig.txt | .jelly | .jelly.txt | .jsonld | .jsonld.txt | .nq | .nq.txt | .xml | .xml.txt
@prefix this: <https://w3id.org/np/RAMLciMnYDO2_dl8Ar9ibJcPQx4JY3yAQWn6PivCxkT9o> .
@prefix sub: <https://w3id.org/np/RAMLciMnYDO2_dl8Ar9ibJcPQx4JY3yAQWn6PivCxkT9o/> .
@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-presentation-details a grlc:grlc-query;
dct:description "Returns the details of a presentation or poster, laid out for reading rather than as a raw property dump: authors (and speakers) are resolved to names and joined into a single row, and the start and end date/time are combined into one 'When' value - a plain date and time range when both fall on the same day, both dates spelled out when they do not. Legacy predicates (dct:date, dct:creator, and the http://schema.org/ forms) are recognised alongside the current ones, and any predicate not recognised is still listed, so nothing in the assertion is hidden. Known properties are shown first.";
dct:license <http://www.apache.org/licenses/LICENSE-2.0>;
rdfs:label "Get presentation details";
grlc:endpoint <https://w3id.org/np/l/nanopub-query-1.1/repo/full>;
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 wd: <http://www.wikidata.org/entity/>
prefix schema: <https://schema.org/>
prefix pav: <http://purl.org/pav/>
prefix foaf: <http://xmlns.com/foaf/0.1/>
prefix gen: <https://w3id.org/kpxl/gen/terms/>
select ?property ?property_label ?value ?value_label where {
bind(?_resourceNp_iri as ?np)
graph npa:graph {
?np npa:hasValidSignatureForPublicKeyHash ?pubkey .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
?np np:hasAssertion ?a .
?np npx:introduces ?_resource_iri .
}
{
graph ?a { ?_resource_iri rdf:type ?value }
bind(0 as ?sort) bind(rdf:type as ?property) bind(\"Type\" as ?property_label)
bind(if(?value = wd:Q604733, \"Presentation\",
if(?value = gen:PosterPresentation, \"Poster presentation\", \"\")) as ?value_label)
} union {
graph ?a { ?_resource_iri rdfs:label ?value }
bind(1 as ?sort) bind(rdfs:label as ?property) bind(\"Title\" as ?property_label)
} union {
select ?sort ?property ?property_label
(group_concat(distinct ?who ; separator=\", \") as ?value)
where {
graph npa:graph { ?_resourceNp_iri np:hasAssertion ?spa ; np:hasPublicationInfo ?sppi . }
graph ?spa { ?_resource_iri wd:P823 ?person }
optional { graph ?sppi { ?person foaf:name ?pname } }
optional { graph ?spa { ?person rdfs:label ?plabel } }
bind(coalesce(?pname, ?plabel, str(?person)) as ?who)
bind(2 as ?sort) bind(wd:P823 as ?property) bind(\"Speaker\" as ?property_label)
} group by ?sort ?property ?property_label
} union {
select ?sort ?property ?property_label
(group_concat(distinct ?who ; separator=\", \") as ?value)
where {
graph npa:graph { ?_resourceNp_iri np:hasAssertion ?aua ; np:hasPublicationInfo ?aupi . }
values ?authorPred { pav:authoredBy dct:creator }
graph ?aua { ?_resource_iri ?authorPred ?person }
optional { graph ?aupi { ?person foaf:name ?pname } }
optional { graph ?aua { ?person rdfs:label ?plabel } }
bind(coalesce(?pname, ?plabel, str(?person)) as ?who)
bind(3 as ?sort) bind(pav:authoredBy as ?property) bind(\"Authors\" as ?property_label)
} group by ?sort ?property ?property_label
} union {
values ?startPred { schema:startDate <http://schema.org/startDate> dct:date }
graph ?a { ?_resource_iri ?startPred ?s }
optional {
values ?endPred { schema:endDate <http://schema.org/endDate> }
graph ?a { ?_resource_iri ?endPred ?e }
}
bind(4 as ?sort) bind(?startPred as ?property) bind(\"When\" as ?property_label)
bind(\"January February March April May June July August SeptemberOctober November December \" as ?mtab)
bind(replace(substr(?mtab, (month(?s) - 1) * 9 + 1, 9), \" +$\", \"\") as ?smon)
bind(concat(str(day(?s)), \" \", ?smon, \" \", str(year(?s))) as ?sdate)
bind(if(contains(str(?s), \"T\"), substr(str(?s), 12, 5), \"\") as ?stime)
bind(if(?stime = \"\", ?sdate, concat(?sdate, \", \", ?stime)) as ?sfull)
bind(if(bound(?e), replace(substr(?mtab, (month(?e) - 1) * 9 + 1, 9), \" +$\", \"\"), \"\") as ?emon)
bind(if(bound(?e), concat(str(day(?e)), \" \", ?emon, \" \", str(year(?e))), \"\") as ?edate)
bind(if(bound(?e), if(contains(str(?e), \"T\"), substr(str(?e), 12, 5), \"\"), \"\") as ?etime)
bind(if(bound(?e), if(?etime = \"\", ?edate, concat(?edate, \", \", ?etime)), \"\") as ?efull)
bind(if(!bound(?e), ?sfull,
if(?sfull = ?efull, ?sfull,
if(?sdate = ?edate,
if(?stime = \"\" || ?etime = \"\", ?sdate, concat(?sdate, \", \", ?stime, \"–\", ?etime)),
concat(?sfull, \" – \", ?efull)))) as ?value)
} union {
values ?locPred { schema:location <http://schema.org/location> }
graph ?a { ?_resource_iri ?locPred ?value }
bind(5 as ?sort) bind(?locPred as ?property) bind(\"Room\" as ?property_label)
optional { graph ?a { ?value rdfs:label ?value_label } }
} union {
graph ?a { ?_resource_iri dct:isPartOf ?value }
bind(6 as ?sort) bind(dct:isPartOf as ?property) bind(\"Part of\" as ?property_label)
optional { graph ?a { ?value rdfs:label ?value_label } }
} union {
graph ?a { ?_resource_iri dct:description ?value }
bind(7 as ?sort) bind(dct:description as ?property) bind(\"Description\" as ?property_label)
} union {
values ?aboutPred { schema:about <http://schema.org/about> }
graph ?a { ?_resource_iri ?aboutPred ?value }
bind(8 as ?sort) bind(?aboutPred as ?property) bind(\"Topic\" as ?property_label)
optional { graph ?a { ?value rdfs:label ?value_label } }
} union {
graph ?a { ?_resource_iri rdfs:seeAlso ?value }
bind(9 as ?sort) bind(rdfs:seeAlso as ?property) bind(\"Link\" as ?property_label)
} union {
graph ?a { ?_resource_iri ?pred ?value }
filter(?pred not in (rdf:type, rdfs:label, rdfs:seeAlso, wd:P823, pav:authoredBy, dct:creator,
dct:date, dct:isPartOf, dct:description,
schema:startDate, schema:endDate, schema:location, schema:about,
<http://schema.org/startDate>, <http://schema.org/endDate>,
<http://schema.org/location>, <http://schema.org/about>))
bind(99 as ?sort) bind(?pred as ?property) bind(str(?pred) as ?property_label)
optional { graph ?a { ?value rdfs:label ?value_label } }
}
}
order by ?sort ?property ?value""" .
}
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-09-07T08:06:12Z"^^xsd:dateTime;
dct:creator orcid:0000-0002-1267-0234;
dct:license <https://creativecommons.org/licenses/by/4.0/>;
npx:embeds sub:get-presentation-details;
npx:supersedes <https://w3id.org/np/RAnIK9yRZrmpJjCqrmyb_Dt--89qjEO2Jkt0EJrPVINzs>;
rdfs:label "Get presentation details";
nt:wasCreatedFromProvenanceTemplate <https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU>;
nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RA-N4_kFxcruvBTlo1yJv29E4SLOXsx5KO_th69PprMrA>,
<https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8>, <https://w3id.org/np/RARJj78P72NR5edKOnu_f4ePE9NYYuW2m2pM-fEoobMBk>,
<https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw>;
nt:wasCreatedFromTemplate <https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k> .
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
npx:hasSignature "Hj9yhEozXlt5yKJBsk15q0ixstoJXuerZBEhzm4DKptmiktmLlvlX4G7hm310HMkP74gsqm77GX4ylPbttp4Q+zvjEtrGj6KGjs1UbayfZZBEIVYXqCazy8MptHvcU+vV8lVGwEMg7QAdnPjiPqPjT2a6On3XRX2tkD1g9Kq4nM=";
npx:hasSignatureTarget this:;
npx:signedBy orcid:0000-0002-1267-0234 .
}