Full identifier: https://w3id.org/np/RAjt1H9rCSr6A9VGzlhye00zPdH69JdGc3kd_2VjDmzVg#get-instances
Assigned to 1 class:
Described in 1 nanopublication:
| Nanopublication | Part | Subject | Predicate | Object | Published By | Published On |
|---|---|---|---|---|---|---|
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-instances
|
Tobias Kuhn
|
2024-11-29T09:00:19.432Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-instances
|
Get instances for class
|
Tobias Kuhn
|
2024-11-29T09:00:19.432Z
|
||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-instances
|
Tobias Kuhn
|
2024-11-29T09:00:19.432Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-instances
|
This query returns the instances assigned to the given class.
|
Tobias Kuhn
|
2024-11-29T09:00:19.432Z
|
||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-instances
|
Tobias Kuhn
|
2024-11-29T09:00:19.432Z
|
|||
|
links a nanopublication to its assertion
http://www.nanopub.org/nschema#hasAssertion
assertion
|
get-instances
|
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 ?instanceLabel ?np ?npLabel ?date ?pubkey 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 { ?np rdfs:label ?npLabel . }
}
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 ?instanceLabel)
} limit 1000
|
Tobias Kuhn
|
2024-11-29T09:00:19.432Z
|
||
|
links a nanopublication to its pubinfo
http://www.nanopub.org/nschema#hasPublicationInfo
pubinfo
|
get-instances
|
Tobias Kuhn
|
2024-11-29T09:00:19.432Z
|