RAzvMgI9cO
Full identifier: https://w3id.org/np/RAzvMgI9cOluLNDCfOT2GVbgXdH0kwnq7DgOcOtYZiHGA
Searching for classes... 
Nanopublication
Get 3PFF Events
grlc-query
This is a local identifier minted within the nanopublication.
https://w3id.org/np/RAzvMgI9cO...#get-3pff-events
get-3pff-events
https://w3id.org/kpxl/grlc/sparql
has the query
(this is a literal)
"prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix np: <http://www.nanopub.org/nschema#>
prefix npa: <http://purl.org/nanopub/admin/>
prefix npx: <http://purl.org/nanopub/x/>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix dct: <http://purl.org/dc/terms/>
prefix prov: <http://www.w3.org/ns/prov#>
prefix tpff: <https://w3id.org/fair/3pff/>
select ?event ?eventSeries ?eventName ?eventShortName ?eventLongName ?eventType ?eventTypeName ?eventDate ?eventOrganizer ?eventOrganizerLabel (min(?eventFacilitator) as ?eventFacilitator1) (if(count(?eventFacilitator)>1,"et al.","") as ?eventFacilitatorEtAl) ?eventMoreInfoLink ?eventMoreInfoLinkLabel ?np ?npCreator ?npDate where {
graph npa:graph {
?np npa:hasValidSignatureForPublicKey ?pubkey .
?np dct:created ?npDate .
?np dct:creator ?npCreator .
?np np:hasAssertion ?assertion .
?np npx:introduces ?event .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }
}
graph ?assertion {
?event a tpff:3PFF-event .
?event rdfs:label ?eventName .
bind(replace(str(?eventName), ' ?\\|.*$', '') as ?eventShortName)
bind(replace(str(?eventName), '^([A-Z0-9]{2,3}).*$', '$1') as ?eventSeries)
bind(replace(str(?eventName), '^.*\\| ?(.*)$', '$1') as ?eventLongName)
?event dct:date ?eventDate .
optional {
?event tpff:has-event-organizer ?eventOrganizer .
bind(replace(str(?eventOrganizer), '^.*[/#]([^#/\\?]+)[#/]?(\\?.*)?$', '$1') as ?eventOrganizerLabel)
}
optional {
?event tpff:has-event-facilitator ?eventFacilitator .
bind(replace(str(?eventFacilitator), '^.*[/#]([^#/\\?]+)[#/]?(\\?.*)?$', '$1') as ?eventFacilitatorLabel)
}
optional {
values ?eventType { tpff:In-Person-Event tpff:Hybrid-Event tpff:Virtual-Event }
?event a ?eventType .
bind(replace(str(?eventType), '^.*/', '') as ?eventTypeName)
}
optional {
?event rdfs:seeAlso ?eventMoreInfoLink .
bind(replace(str(?eventMoreInfoLink), '^.*[/#]([^#/\\?]+)[#/]?(\\?.*)?$', '$1') as ?eventMoreInfoLinkLabel)
}
}
}
group by ?event ?eventSeries ?eventName ?eventShortName ?eventLongName ?eventType ?eventTypeName ?eventDate ?eventOrganizer ?eventOrganizerLabel ?eventMoreInfoLink ?eventMoreInfoLinkLabel ?np ?npCreator ?npDate
order by ?eventSeries desc(?eventDate)"
.
Tobias Kuhn,
12 Aug 2024, 07:57:01 UTC
References