timrdf / provenanceweb

Linked Data infrastructure behind http://provenanceweb.org
2 stars 2 forks source link

map to http://purl.org/NET/mediatypes/text/html #4

Closed timrdf closed 10 years ago

timrdf commented 10 years ago

https://gist.github.com/stain/4635250#file-mediatypes-ttl

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dcam: <http://purl.org/dc/dcam/> .

<http://example.com/page.html> dcterms:format <http://purl.org/NET/mediatypes/text/html> .

<http://purl.org/NET/mediatypes/text/html> a dcterms:FileFormat ;
  dcam:memberOf dcterms:IMT ;
  rdf:value "text/html" ;
  rdfs:isDefinedBy <http://mediatypes.appspot.com/dump.rdf> ;
  rdfs:label "HTML document" .
timrdf commented 10 years ago

stub for other use case is already at https://github.com/timrdf/provenanceweb/tree/master/data/source/provenanceweb/file-format-mappings/version/latest

timrdf commented 10 years ago

Pushed on this, but the HTML scraped broke and they now offer XML and CSV of the listing... will need to drop the transmission and start from scratch.

timrdf commented 10 years ago

Done with https://github.com/timrdf/provenanceweb/commit/6b70701544165125e0e79292eeffb43ad8d574fd