Debian Codegraph @

lib/tests/testsuite/valid/signed/nanobench_hasRead-template-v5.trig

raw
1 @prefix this: <http://purl.org/np/RA_wPjlqWv3zBwQMDMGBq2q2WLZmj6O8o5hGVCtxb3o8M> .
2 @prefix sub: <http://purl.org/np/RA_wPjlqWv3zBwQMDMGBq2q2WLZmj6O8o5hGVCtxb3o8M#> .
3 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
4 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
5 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
6 @prefix dct: <http://purl.org/dc/terms/> .
7 @prefix pav: <http://purl.org/pav/> .
8 @prefix prov: <http://www.w3.org/ns/prov#> .
9 @prefix np: <http://www.nanopub.org/nschema#> .
10 @prefix orcid: <https://orcid.org/> .
11 @prefix nt: <https://w3id.org/np/o/ntemplate/> .
12 @prefix pc: <http://purl.org/petapico/o/paperclub#> .
13 @prefix npx: <http://purl.org/nanopub/x/> .
14
15 sub:Head {
16 this: np:hasAssertion sub:assertion;
17 np:hasProvenance sub:provenance;
18 np:hasPublicationInfo sub:pubinfo;
19 a np:Nanopublication .
20 }
21
22 sub:assertion {
23 sub:assertion a nt:AssertionTemplate;
24 rdfs:label "Announcing a paper that I have read";
25 nt:hasStatement sub:st1, sub:st2 .
26
27 sub:comment a nt:LiteralPlaceholder;
28 rdfs:label "comment text" .
29
30 sub:paper a nt:UriPlaceholder;
31 rdfs:label "DOI for the paper starting with '10.'";
32 nt:hasPrefix "https://doi.org/";
33 nt:hasPrefixLabel "the paper with DOI";
34 nt:hasRegex "10.(\\d)+/(\\S)+" .
35
36 sub:st1 rdf:object sub:paper;
37 rdf:predicate pc:hasRead;
38 rdf:subject nt:CREATOR;
39 a rdf:Statement;
40 nt:statementOrder 1 .
41
42 sub:st2 rdf:object sub:comment;
43 rdf:predicate rdfs:comment;
44 rdf:subject sub:paper;
45 a nt:OptionalStatement;
46 nt:statementOrder 2 .
47
48 pc:hasRead rdfs:label "have read the paper" .
49
50 rdfs:comment rdfs:label "has my comment" .
51 }
52
53 sub:provenance {
54 sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 .
55 }
56
57 sub:pubinfo {
58 sub:sig npx:hasAlgorithm "RSA";
59 npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
60 npx:hasSignature "GJs6X2F9V9bRnL+DGujqWDUwlNVFM2KAGJQGjw2bUjaIn/irTQRGwGmaBJ8YEzIOQxlZqTbwCSxnWx5J8tqgg2QuPRvyLw+IKR20IdjWeupNkLeSrJqHOhcj6Fn7iPlxgHkduzHSt2mzBJ/BFt9qSZsZWFjrkJIBqwoRMsSrVQ8=";
61 npx:hasSignatureTarget this: .
62
63 this: dct:created "2020-04-27T14:57:06.343+02:00"^^xsd:dateTime;
64 npx:supersedes <http://purl.org/np/RAeyFN1C7zRfcPoEmGdwWHHgrE8vJHBONVgpq4JHDGyX0>,
65 <http://purl.org/np/RAz2LI_DNLC8GAJBKmaEzvgY5-pKlRC7Ph3mJ44LMzkEI>;
66 pav:createdBy orcid:0000-0002-1267-0234 .
67 }