-
Notifications
You must be signed in to change notification settings - Fork 6
Examples
Tobias Kuhn edited this page Apr 30, 2014
·
3 revisions
(paste your examples here)
(...)
From the guidelines document:
@prefix : <http://example.org/pub1#> .
@prefix ex: <http://example.org/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
ex:pub1 {
ex:pub1 a np:Nanopublication .
ex:pub1 np:hasAssertion :assertion .
ex:pub1 np:hasProvenance :provenance .
ex:pub1 np:hasPublicationInfo :pubInfo .
}
:assertion {
ex:trastuzumab ex:is-indicated-for ex:breast-cancer .
}
:provenance {
:assertion prov:generatedAtTime "2012-02-03T14:38:00Z"^^xsd:dateTime .
:assertion prov:wasDerivedFrom :experiment .
:assertion prov:wasAttributedTo :experimentScientist .
}
:pubInfo {
ex:pub1 prov:wasAttributedTo ex:paul .
ex:pub1 prov:generatedAtTime "2012-10-26T12:45:00Z"^^xsd:dateTime .
}
(...)
A nanopub identified by a trusty URI:
@prefix this: <http://example.org/pub1.RAMpNCWcf06zJ90J94bAqVy-4LNfsWPJK3s7xKCC6QEaE> .
@prefix sub: <http://example.org/pub1.RAMpNCWcf06zJ90J94bAqVy-4LNfsWPJK3s7xKCC6QEaE#> .
@prefix ex: <http://example.org/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
this: {
this: a np:Nanopublication .
this: np:hasAssertion sub:assertion .
this: np:hasProvenance sub:provenance .
this: np:hasPublicationInfo sub:pubInfo .
}
sub:assertion {
ex:trastuzumab ex:is-indicated-for ex:breast-cancer .
}
sub:provenance {
sub:assertion prov:generatedAtTime "2012-02-03T14:38:00Z"^^xsd:dateTime .
sub:assertion prov:wasAttributedTo sub:experimentScientist .
sub:assertion prov:wasDerivedFrom sub:experiment .
}
sub:pubInfo {
this: prov:wasAttributedTo ex:paul .
this: prov:generatedAtTime "2012-10-26T12:45:00Z"^^xsd:dateTime .
}
(...)