Matches in Nanopublications for { <https://w3id.org/np/RA4s708TGiO6GXcj7kT2uSgiR72ZKOFqSflgxdHo4F3ZU/get-instances-simple> ?p ?o ?g. }
Showing items 1 to 7 of
7
with 100 items per page.
- get-instances-simple type grlc-query assertion.
- get-instances-simple label "Get instances for class (simple result)" assertion.
- get-instances-simple description "This query returns the instances assigned to the given class." assertion.
- get-instances-simple 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 ?instance ?instance_label ?date ?np where { graph ?g { ?instance a ?_class_iri . } 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 { graph ?g { ?instance rdfs:label ?instanceLabel1 . } } optional { graph ?g { ?instance dct:title ?instanceLabel2 . } } optional { graph ?i { ?instance rdfs:label ?instanceLabel3 . } } optional { graph ?i { ?instance nt:hasLabelFromApi ?instanceLabel4 . } } bind(coalesce(?instanceLabel1, ?instanceLabel2, ?instanceLabel3, ?instanceLabel4) as ?instance_label) } order by desc(?date)" assertion.
- get-instances-simple endpoint full assertion.
- get-instances-simple license LICENSE-2.0 assertion.
- get-instances-simple hasLabelFromApi "Get instances for class (simple result) - This query returns the instances assigned to the given class." pubinfo.