Which predicates to use:

(let's use Turtle syntax)

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix file: <http://domain.I.own/my_rdf_space_for_file_ids/> .
@prefix q?: <predicates and entifies I am looking for>

   dc:title "Example Site with Video" ;
   q?:downloaded_from "http://url_to_size/video_xyz12345"
   q?:has_hash [
     q?:hash_type q?:sha256;
     q?:hash_value "literal_with_hash_value_01234ACBDEF"
   ] .

The more standard/canonical predicates, the better :)

( @prefix dc: <http://purl.org/dc/elements/1.1/> . ? Schema.org ?).

Use case:

  • I have url of site of given video, let it be some vimeo video.
  • URL does not result to file directly
  • However main content is video
  • Which I can stream of download in various resolutioms
  • So I downloades on of those for offline view
  • And got file with given hash
  • Now I'd like to make assisting '.ttl' file, with annotation that given hash is hasg of given type and payload comes from site od given url.

1 Answer 1


Use Wikipedia urls to identify the hash type. (That's 5 star out of the box)

For your other questions use Linked Open Vocabularies.

If that fails, use your own URLs (5 star please) and if you later on discover, that there are more appropriate URLs for it, add and distribute owl:sameAs or rdfs:subPropertyOf triples alongside your data (depending on what level formality you use).

  • Ok, so you've suggested rdf:object to be wikipedia or wikidata url. What about rdf:predicate, which I noted as :has_hash ? Jun 28, 2017 at 20:55
  • Also what about defining source "X comes_from webpage_Y" ? Jun 28, 2017 at 20:56
  • Have a look at the PROV (provenance) ontology for your second comment. I don't get the first, though (Sorry have been offline from OpenData for a while)
    – Grimaldi
    Sep 2, 2017 at 18:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.