foaf purpose #3311
-
Hello, In documentation, is described the rdf triple for “Picasso’s first name is Pablo” as http://example.org/Picasso foaf:firstName "Pablo" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, the As mentioned in the documentation, the idea of using RDF is to clearly define what a property means, and to reuse definitions from existing "vocabularies" like Friend-of-a-Friend, so other people can easily check what is meant by e.g. It's not mandatory to write |
Beta Was this translation helpful? Give feedback.
Hi,
the
foaf:
is a namespace prefix (shorthand) for "http://xmlns.com/foaf/0.1/", so the full predicate (property) becomes http://xmlns.com/foaf/0.1/firstNameAs mentioned in the documentation, the idea of using RDF is to clearly define what a property means, and to reuse definitions from existing "vocabularies" like Friend-of-a-Friend, so other people can easily check what is meant by e.g.
firstName
.You can use other vocabularies, or create your own vocabulary, but for the sake of this example foaf: is a good choice.
It's not mandatory to write
foaf:firstName
, (http://xmlns.com/foaf/0.1/firstName would also work)