Status: 
| part | subject | predicate | object | published by | date | |
|---|---|---|---|---|---|---|
|
Assertion
|
|
|||||
|
Assertion
|
Get glossary for a resource
|
|
||||
|
Assertion
|
|
|||||
|
Assertion
|
Given a resource, this query returns the glossary of terms it references: SKOS concepts linked from the resource via dct:references. Each row reports the term (identified by its Wikidata URI) with its preferred label, the human-readable definition, and a link to the nanopublication that defines the concept.
|
|
||||
|
Assertion
|
|
|||||
|
Assertion
|
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 skos: <http://www.w3.org/2004/02/skos/core#>
select distinct (?concept as ?term) ?term_label ?definition ?np ("^" as ?np_label) where {
graph npa:graph { ?np np:hasAssertion ?a . }
graph ?a {
?_resource_iri dct:references ?concept .
?concept a skos:Concept ;
rdfs:label ?term_label ;
skos:definition ?definition .
}
graph npa:graph { ?np npa:hasValidSignatureForPublicKey ?pk . }
filter not exists { graph npa:graph { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pk . } }
}
order by ?term_label
|
|
||||
|
PublicationInfo
|
|
|||||
|
Assertion
|
|