Skip to content

foaf purpose #3311

Answered by barthanssens
bogdanaanei asked this question in Q&A
Aug 19, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

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/firstName

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. 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)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bogdanaanei
Comment options

@barthanssens
Comment options

@bogdanaanei
Comment options

Answer selected by abrokenjester
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants