https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/Head
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
http://www.nanopub.org/nschema#hasAssertion
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/assertion
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
http://www.nanopub.org/nschema#hasProvenance
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/provenance
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
http://www.nanopub.org/nschema#hasPublicationInfo
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/pubinfo
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.nanopub.org/nschema#Nanopublication
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/assertion
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/get-space-info
http://purl.org/dc/terms/description
Returns basic key-value facts about a given space (type, alternative IDs, start and end date for time-limited spaces, and the latest and root definition nanopubs). The space's latest-definition nanopub is passed in as the 'spaceNp' parameter; type, alternative IDs and dates are read from that definition, and its space-ref's root definition is resolved from the spaces repository. This scopes every fact to a single space-ref (identity = space IRI + root definition), so spaces whose IRI is claimed by several refs no longer mix. Each property occupies exactly one row: the Value column is a multi-value (IRI or literal) cell, so a property with several values (e.g. multiple types or alternative IDs) lists them all in a single row rather than spawning a row per value. Each multi-valued property is aggregated in its own subquery so the values never cross-multiply across rows. Both columns use the '_noheader' convention so the redundant header row is dropped.
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/get-space-info
http://purl.org/dc/terms/license
http://www.apache.org/licenses/LICENSE-2.0
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/get-space-info
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
https://w3id.org/kpxl/grlc/grlc-query
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/get-space-info
http://www.w3.org/2000/01/rdf-schema#label
Get space info
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/get-space-info
https://w3id.org/kpxl/grlc/endpoint
https://w3id.org/np/l/nanopub-query-1.1/repo/full
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/get-space-info
https://w3id.org/kpxl/grlc/sparql
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
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 schema: <http://schema.org/>
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix gen: <https://w3id.org/kpxl/gen/terms/>
select distinct ?Property_noheader ?Property_label ?Value_multi_val_noheader ?Value_label_multi where {
values ?_space_multi_iri {}
graph npa:graph { ?_spaceNp_iri np:hasAssertion ?a . }
graph ?a { ?_space_multi_iri a gen:Space . }
optional {
select (group_concat(?typeIri; separator="\n") as ?typeVal) (group_concat(?typeLocal; separator="\n") as ?typeLabel) where {
values ?_space_multi_iri {}
graph npa:graph { ?_spaceNp_iri np:hasAssertion ?at . }
graph ?at { ?_space_multi_iri a ?typeIri . filter(?typeIri != gen:Space) }
bind(replace(str(?typeIri), '^.*[/#]', '') as ?typeLocal)
} having (count(?typeIri) > 0)
}
optional {
select (group_concat(str(?altIri); separator="\n") as ?altVal) where {
values ?_space_multi_iri {}
graph npa:graph { ?_spaceNp_iri np:hasAssertion ?aa . }
graph ?aa { ?_space_multi_iri owl:sameAs ?altIri . }
} having (count(?altIri) > 0)
}
optional {
select (group_concat(str(?sd); separator="\n") as ?startVal) where {
values ?_space_multi_iri {}
graph npa:graph { ?_spaceNp_iri np:hasAssertion ?asd . }
graph ?asd { ?_space_multi_iri schema:startDate ?sd . }
} having (count(?sd) > 0)
}
optional {
select (group_concat(str(?ed); separator="\n") as ?endVal) where {
values ?_space_multi_iri {}
graph npa:graph { ?_spaceNp_iri np:hasAssertion ?aed . }
graph ?aed { ?_space_multi_iri schema:endDate ?ed . }
} having (count(?ed) > 0)
}
optional {
service <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
graph npa:spacesGraph {
?def npa:viaNanopub ?_spaceNp_iri ; npa:forSpaceRef ?ref .
?ref npa:rootNanopub ?rootNp .
}
}
}
values (?key ?Property_noheader ?Property_label) {
('Type' rdf:type 'Type:')
('Alternative IDs' owl:sameAs 'Alternative IDs:')
('Start date' schema:startDate 'Start date:')
('End date' schema:endDate 'End date:')
('Latest definition' npa:viaNanopub 'Latest definition:')
('Root definition' gen:hasRootDefinition 'Root definition:')
}
bind(if(?key='Type', ?typeVal, if(?key='Alternative IDs', ?altVal, if(?key='Start date', ?startVal, if(?key='End date', ?endVal, if(?key='Latest definition', str(?_spaceNp_iri), str(?rootNp)))))) as ?Value_multi_val_noheader)
filter(bound(?Value_multi_val_noheader))
bind(if(?key='Type', ?typeLabel, if(?key='Latest definition', substr(strafter(str(?_spaceNp_iri), '/np/'), 1, 10), if(?key='Root definition', substr(strafter(str(?rootNp), '/np/'), 1, 10), ''))) as ?Value_label_multi)
}
order by (if(?key='Type', 1, if(?key='Alternative IDs', 2, if(?key='Start date', 3, if(?key='End date', 4, if(?key='Latest definition', 5, 6))))))
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/provenance
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/assertion
http://www.w3.org/ns/prov#wasAttributedTo
https://orcid.org/0000-0002-1267-0234
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/pubinfo
https://orcid.org/0000-0002-1267-0234
http://xmlns.com/foaf/0.1/name
Tobias Kuhn
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
http://purl.org/dc/terms/created
2026-06-24T13:45:59Z
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
http://purl.org/dc/terms/creator
https://orcid.org/0000-0002-1267-0234
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
http://purl.org/dc/terms/license
https://creativecommons.org/licenses/by/4.0/
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
http://purl.org/nanopub/x/embeds
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/get-space-info
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
http://purl.org/nanopub/x/supersedes
https://w3id.org/np/RAGJ7RYDsLqhFN5l9GYnbPjEQp3-uamftlJbUK9xiW9pw
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
http://www.w3.org/2000/01/rdf-schema#label
Get space info
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate
https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate
https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate
https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/sig
http://purl.org/nanopub/x/hasAlgorithm
RSA
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/sig
http://purl.org/nanopub/x/hasPublicKey
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/sig
http://purl.org/nanopub/x/hasSignature
AQcZarbK1N2xFzyJRJ9nhjZumftuAjh4EdLS7pHpDnM7VK5tiUb9LuX8/iPAxyCH+vZAYLFH2dA/gYwliKWwlqD5A6NCdb84c8+9s6/YVeaB9s99qSM4EvPBCofAGLgIid8zF+o+gYNN36YhuH4XU3VUPd/ysUiiS4TqnLB5lWY=
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/sig
http://purl.org/nanopub/x/hasSignatureTarget
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw
https://w3id.org/np/RA7RGUAYbx0OSoZ0puQrnOGMPHWVZEjIclFOQgP1friyw/sig
http://purl.org/nanopub/x/signedBy
https://orcid.org/0000-0002-1267-0234