Matches in Nanopublications for { <https://w3id.org/np/RAH06iUwnvj_pRARY15ayJAY5tuJau3rCvHhPPhe49fVI#get-classes-for-thing> ?p ?o ?g. }
Showing items 1 to 6 of
6
with 100 items per page.
- get-classes-for-thing type grlc-query assertion.
- get-classes-for-thing label "Get the classes assigned to a thing" assertion.
- get-classes-for-thing description "This query returns the classes that have been assigned to the thing of the given URI." assertion.
- get-classes-for-thing sparql "prefix dct: <http://purl.org/dc/terms/> 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 nt: <https://w3id.org/np/o/ntemplate/> select ?class ?classLabel ?np ?npLabel ?date ?pubkey where { graph ?g { ?_thing_iri a ?class . } graph npa:graph { ?np npa:hasValidSignatureForPublicKey ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . } ?np npa:hasGraph ?g . ?np np:hasPublicationInfo ?i . ?np dct:created ?date . optional { ?np rdfs:label ?npLabel } } optional { graph ?g { ?class rdfs:label ?classLabel1 . } } optional { graph ?g { ?class dct:title ?classLabel2 . } } optional { graph ?i { ?class rdfs:label ?classLabel3 . } } optional { graph ?i { ?class nt:hasLabelFromApi ?classLabel4 . } } bind(coalesce(?classLabel1, ?classLabel2, ?classLabel3, ?classLabel4) as ?classLabel) } limit 1000" assertion.
- get-classes-for-thing endpoint full assertion.
- get-classes-for-thing license LICENSE-2.0 assertion.