| part | subject | predicate | object | published by | date | |
|---|---|---|---|---|---|---|
|
Assertion
|
|
|||||
|
Assertion
|
Get thanks
|
|
||||
|
Assertion
|
|
|||||
|
PublicationInfo
|
Get thanks - This query returns all thanks, possibly restricted by thanker, thanked, and/o...
|
|
||||
|
Assertion
|
This query returns all thanks, possibly restricted by thanker, thanked, and/or thank reason.
|
|
||||
|
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 thank: <https://w3id.org/spaces/nanopub/r/thank/>
select (?__thanker_iri as ?thanker) (?__thanked_iri as ?thanked) (?__thankReason_iri as ?thank_reason) ?comment ?date ?np ("^" as ?np_label) where {
graph npa:graph {
?np npa:hasValidSignatureForPublicKeyHash ?pubkey .
filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }
?np dct:created ?date .
?np npx:signedBy ?__thanker_iri .
?np np:hasAssertion ?a .
}
graph ?a {
?thanks a thank:Thanks .
?thanks thank:hasThanked ?__thanked_iri .
?thanks thank:hasThanker ?__thanker_iri .
?thanks thank:thanksFor ?__thankReason_iri .
optional { ?thanks rdfs:comment ?comment . }
}
}
order by desc(?date)
|
|
||||
|
PublicationInfo
|
|
|||||
|
Assertion
|
|