🔗 References (max. 100)

show query show view
part subject predicate object published by date
Assertion
Assertion
Get reads by reader
Assertion
PublicationInfo
Get reads by reader - This query returns the items a given user has read, covering both schema:Read...
PublicationInfo
Get reads by reader - This query returns the items a given user has read, covering both schema:ReadAction and paperclub:hasRead nanopubs.
Assertion
This query returns the items a given user has read, covering both schema:ReadAction and paperclub:hasRead nanopubs.
Assertion
Assertion
prefix schema: <http://schema.org/> prefix pc: <http://purl.org/petapico/o/paperclub#> 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 xsd: <http://www.w3.org/2001/XMLSchema#> select distinct ?item ?item_label ?date ?comment ?np ("^" as ?np_label) where { { graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np np:hasAssertion ?a . ?np dct:created ?created . } graph ?a { ?ra a schema:ReadAction ; schema:agent ?_reader_iri ; schema:object ?item . optional { ?item rdfs:label ?item_label } optional { ?ra schema:endTime ?d } optional { ?ra rdfs:comment ?comment } } bind(coalesce(?d, substr(str(?created), 1, 10)) as ?date) } union { bind(iri(concat("https://w3id.org/np/l/nanopub-query-1.1/repo/type/", sha256(str(pc:hasRead)))) as ?hasread_repo) service ?hasread_repo { graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np np:hasAssertion ?a . ?np npx:signedBy ?_reader_iri . ?np dct:created ?created . } graph ?a { ?_reader_iri pc:hasRead ?item . optional { ?item rdfs:comment ?comment } } } bind(substr(str(?created), 1, 10) as ?date) } } order by desc(?date)
PublicationInfo
Assertion