Skip to content

Instantly share code, notes, and snippets.

@stain
Last active December 15, 2015 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stain/5262169 to your computer and use it in GitHub Desktop.
Save stain/5262169 to your computer and use it in GitHub Desktop.
Example of using PAV
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix pav: <http://purl.org/pav/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix : <http://example.com/blog#> .
<http://example.com/blog.html>
pav:createdBy :alice ;
pav:createdWith :wordpress ;
pav:importedFrom <http://example.com/data.csv> ;
pav:importedBy :csv2html ;
pav:authoredBy :bob ;
pav:curatedBy :charlie ;
pav:authoredOn "2012-12-24T15:15:15Z"^^xsd:dateTime ;
pav:importedOn "2013-03-27T10:06:17Z"^^xsd:dateTime .
:alice foaf:name "Alice" .
:bob foaf:name "Bob" .
:charlie foaf:name "Charlie" .
:csv2html a prov:SoftwareAgent ;
foaf:homepage <https://github.com/mrc/csv2html> .
:wordpress a prov:SoftwareAgent ;
foaf:homepage <http://wordpress.org/> .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment