I am using a schema from freebase.com to describe a movie in rdf format.

The schema is presented in the following link: http://www.freebase.com/schema/film/film This schema is available also in rdf format so I assume that I can use it as vocabulary. The problem is that if I want to be consistent most of the properties expect as a value a class. An example is the film:genre. Because I want to keep things simple and not creating an instance of the class for each film genre is it possible to assign a text as a value of film:genre? for example:

:URI a film:film;
     film:genre "Horror".

if not a solution using a blank node for every movie genre and using the property foaf:title inside the genre blank node is valid?

asked 19 Feb '13, 18:24

nikosdi's gravatar image

nikosdi
855
accept rate: 0%

2

Freebase actually lists a whole number of pre-baked resource URIs for film genres. I can imagine you don't want to create your own, but why don't you simply reuse those?

(19 Feb '13, 23:22) Jeen Broekstra ♦ Jeen%20Broekstra's gravatar image

Thank for your hint.So for example can I use as a value in my triplet the URI of an existing freebase topic? In another rdf instance from a different website I saw they added a text value on the triplet which was expecting a class "Person".This isn't inconsistent? Generally it is a good tactic to use the URI of existing vocabularies (eg freebase)?

(20 Feb '13, 06:18) nikosdi nikosdi's gravatar image

I would say that it is still recommended that you use instances of class Genre for the values of property film:genre. However, depending on your application, you might also use data values (literals) instead, say, if you want to only focus on the knowledge representation of movies, not the genres. So, your triples example is still a valid RDF graph, but the usage of the literals as values for film:genre is just not really recommended.

permanent link

answered 20 Feb '13, 12:50

fadirra's gravatar image

fadirra
1.2k310
accept rate: 21%

So I am able to use movie:URI film:genre "Horror".It is better to use movie:URI film:genre freebase:Horror freebase: is the URI of the freebase genre instances? I have found different properties that I need from freebase,dbpedia,etc For the instances is ok to use properties from those vocabularies with text values in some that I dont want to mess with classes?For example the genre?

(20 Feb '13, 19:32) nikosdi nikosdi's gravatar image
2

Yes, you can use text as values. But if somebody wants to reuse your data, they will expect the values to be instances since that's what the Freebase standard said.

(21 Feb '13, 12:16) fadirra fadirra's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×885
×146
×102

question asked: 19 Feb '13, 18:24

question was seen: 1,277 times

last updated: 21 Feb '13, 12:16