June 25, 2003

Using foaf:weblog in your FOAF file

Here's how to add a foaf:weblog property to a FOAF document.

Anywhere there is an element describing a Person (or for that matter a company, group etc), you can include a sub-element that mentions their weblog(s):

So, if you start out with markup like this:

(Nicole just asked me how to do this, so she gets to be the example...)

<foaf:Person>
  <foaf:name>Nicole Sullivan</foaf:name>
  <foaf:homepage rdf:resource="http://www.apocalypse.org/~nicole/"/>
</foaf:Person>

...and add a weblog property of the Person described, it should look like this:

<foaf:Person>
  <foaf:name>Nicole Sullivan</foaf:name>
  <foaf:homepage rdf:resource="http://www.apocalypse.org/~nicole/"/>
  <foaf:weblog rdf:resource="http://www.stubbornella.org/"/>
</foaf:Person>

It doesn't matter exactly where you put the foaf:weblog entry, so long as it is immediately 'inside' the foaf:Person element. You can have the foaf:homepage bit first, or foaf:img, foaf:workplaceHomepage etc. there too., all alongside each other in any order.

This same technique works if you are describing your friends and collaborators in a FOAF file; just add in a foaf:weblog property inside the foaf:Person section that describes them.

That's all there is to it. Your FOAF file now describes the address of your weblog, making it easier to find for FOAF and other Semantic Web tools.

Note that If you have multiple weblogs, list them each separately, one after another. Note also that each foaf:weblog described in FOAF has to be the weblog of one 'thing' (whether Person, Company or whatever). So describing collaboratively edited weblogs is a topic I'll come back to in a future article.

Posted by danbri at June 25, 2003 11:48 AM | TrackBack
Comments

Great_Blog_I_agree_with_you_completely

Posted by: online basketball betting sports betting on January 17, 2004 04:58 PM

Great_Blog_I_agree_with_you_completely

Posted by: basketball betting line sports betting on January 17, 2004 04:59 PM

Great_Blog_I_agree_with_you_completely

Posted by: college basketball betting line on January 17, 2004 04:59 PM

Great_Blog_I_agree_with_you_completely

Posted by: march madness bet on January 17, 2004 04:59 PM

Great_Blog_I_agree_with_you_completely

Posted by: ncaa basketball odds on January 17, 2004 04:59 PM

Great_Blog_I_agree_with_you_completely

Posted by: ncaa basketball point spread bet on January 17, 2004 05:00 PM

Great_Blog_I_agree_with_you_completely

Posted by: college basketball betting on January 17, 2004 05:00 PM

Great_Blog_I_agree_with_you_completely

Posted by: college basketball betting line on January 17, 2004 05:00 PM

Nice_Blog_Come_visit_us

Posted by: basketballs betting line sports betting on January 17, 2004 05:00 PM

Great_Blog_I_agree_with_you_completely

Posted by: online basketball betting on January 17, 2004 05:00 PM

Great_Blog_I_agree_with_you_completely

Posted by: basketball gambling line on January 17, 2004 05:01 PM

Great_Blog_I_agree_with_you_completely

Posted by: college basketball betting on January 17, 2004 05:01 PM

Great_Blog_I_agree_with_you_completely

Posted by: online basketball betting on January 17, 2004 05:01 PM

Great_Blog_I_agree_with_you_completely

Posted by: march madness odds on January 17, 2004 05:01 PM

Great_Blog_I_agree_with_you_completely

Posted by: bet march madness bet on January 17, 2004 05:02 PM

Great_Blog_I_agree_with_you_completely

Posted by: ncaa march madness on January 17, 2004 05:02 PM

Great_Blog_I_agree_with_you_completely

Posted by: online basketball betting on January 17, 2004 05:02 PM

Nice_Blog_Come_visit_us

Posted by: ibet royal sports betting on January 17, 2004 05:02 PM

Great_Blog_I_agree_with_you_completely

Posted by: Online Casinos bonus matching service on January 17, 2004 05:02 PM

Nice_Blog_Come_visit_us

Posted by: online casinos slots machines on January 17, 2004 05:03 PM

Great_Blog_I_agree_with_you_completely

Posted by: Free slot machines online on January 17, 2004 05:03 PM

Nice_Blog_Come_visit_us

Posted by: Online Casino on January 17, 2004 05:03 PM

Great_Blog_I_agree_with_you_completely

Posted by: Online Casinos Affiliate Program on January 17, 2004 05:03 PM

Nice_Blog_Come_visit_us

Posted by: Online Casino on January 17, 2004 05:04 PM

Online Casinos Betting Online Gambling

Posted by: Online Casinos Affiliate Program on January 17, 2004 05:04 PM

Online Casinos Betting Online Gambling

Posted by: Online Sports Betting on January 17, 2004 05:04 PM

Online Casinos Betting Online Gambling

Posted by: Online Sports Betting on January 17, 2004 05:04 PM

Online Casinos Betting Online Gambling

Posted by: Sports Betting on January 17, 2004 05:04 PM

Great_Blog_I_agree_with_you_completely

Posted by: Online Casinos on January 17, 2004 05:12 PM

Great_Blog_I_agree_with_you_completely

Posted by: Online Casinos on January 17, 2004 05:13 PM

Great_Blog_I_agree_with_you_completely

Posted by: Sports Betting on January 17, 2004 05:14 PM

Great_Blog_I_agree_with_you_completely

Posted by: Sports Betting on January 17, 2004 05:15 PM

Great_Blog_I_agree_with_you_completely

Posted by: Sports Betting on January 17, 2004 05:15 PM

Great_Blog_I_agree_with_you_completely

Posted by: Sports Betting on January 17, 2004 05:15 PM

Great_Blog_I_agree_with_you_completely

Posted by: Sports Betting on January 17, 2004 05:15 PM

Great_Blog_I_agree_with_you_completely

Posted by: Sports Betting on January 17, 2004 05:15 PM

Great_Blog_I_agree_with_you_completely

Posted by: Sports Betting on January 17, 2004 05:16 PM

Great_Blog_I_agree_with_you_completely

Posted by: Sports Betting on January 17, 2004 05:16 PM

Great_Blog_I_agree_with_you_completely

Posted by: Sports Betting on January 17, 2004 05:16 PM

Great_Blog_I_agree_with_you_completely

Posted by: Sports Betting on January 17, 2004 05:16 PM

Great_Blog_I_agree_with_you_completely

Posted by: Online Casinos on January 17, 2004 05:17 PM

Great_Blog_I_agree_with_you_completely

Posted by: Casino Affiliates Programs on January 17, 2004 05:17 PM

Great_Blog_I_agree_with_you_completely

Posted by: Internet Casinos on January 17, 2004 05:17 PM

Great_Blog_I_agree_with_you_completely

Posted by: Sports Betting on January 17, 2004 05:17 PM

That gives us a pretty good starting point to understand a lot more about variables, and that's what we'll be examining next lesson. Those new variable types I promised last lesson will finally make an appearance, and we'll examine a few concepts that we'll use to organize our data into more meaningful structures, a sort of precursor to the objects that Cocoa works with. And we'll delve a little bit more into the fun things we can do by looking at those ever-present bits in a few new ways.

Posted by: Emmanuel on January 20, 2004 08:04 AM

Note first that favoriteNumbers type changed. Instead of our familiar int, we're now using int*. The asterisk here is an operator, which is often called the "star operator". You will remember that we also use an asterisk as a sign for multiplication. The positioning of the asterisk changes its meaning. This operator effectively means "this is a pointer". Here it says that favoriteNumber will be not an int but a pointer to an int. And instead of simply going on to say what we're putting in that int, we have to take an extra step and create the space, which is what does. This function takes an argument that specifies how much space you need and then returns a pointer to that space. We've passed it the result of another function, , which we pass int, a type. In reality, is a macro, but for now we don't have to care: all we need to know is that it tells us the size of whatever we gave it, in this case an int. So when is done, it gives us an address in the heap where we can put an integer. It is important to remember that the data is stored in the heap, while the address of that data is stored in a pointer on the stack.

Posted by: Newton on January 20, 2004 08:05 AM

Being able to understand that basic idea opens up a vast amount of power that can be used and abused, and we're going to look at a few of the better ways to deal with it in this article.

Posted by: Machutus on January 20, 2004 08:06 AM

That gives us a pretty good starting point to understand a lot more about variables, and that's what we'll be examining next lesson. Those new variable types I promised last lesson will finally make an appearance, and we'll examine a few concepts that we'll use to organize our data into more meaningful structures, a sort of precursor to the objects that Cocoa works with. And we'll delve a little bit more into the fun things we can do by looking at those ever-present bits in a few new ways.

Posted by: Zachary on January 20, 2004 08:06 AM

When a variable is finished with it's work, it does not go into retirement, and it is never mentioned again. Variables simply cease to exist, and the thirty-two bits of data that they held is released, so that some other variable may later use them.

Posted by: Bartholomew on January 20, 2004 08:07 AM

Seth Roby graduated in May of 2003 with a double major in English and Computer Science, the Macintosh part of a three-person Macintosh, Linux, and Windows graduating triumvirate.

Posted by: Lambert on January 20, 2004 08:08 AM

Inside each stack frame is a slew of useful information. It tells the computer what code is currently executing, where to go next, where to go in the case a return statement is found, and a whole lot of other things that are incredible useful to the computer, but not very useful to you most of the time. One of the things that is useful to you is the part of the frame that keeps track of all the variables you're using. So the first place for a variable to live is on the Stack. This is a very nice place to live, in that all the creation and destruction of space is handled for you as Stack Frames are created and destroyed. You seldom have to worry about making space for the variables on the stack. The only problem is that the variables here only live as long as the stack frame does, which is to say the length of the function those variables are declared in. This is often a fine situation, but when you need to store information for longer than a single function, you are instantly out of luck.

Posted by: James on January 20, 2004 08:09 AM

This is another function provided for dealing with the heap. After you've created some space in the Heap, it's yours until you let go of it. When your program is done using it, you have to explicitly tell the computer that you don't need it anymore or the computer will save it for your future use (or until your program quits, when it knows you won't be needing the memory anymore). The call to simply tells the computer that you had this space, but you're done and the memory can be freed for use by something else later on.

Posted by: Jasper on January 20, 2004 08:09 AM

This code should compile and run just fine, and you should see no changes in how the program works. So why did we do all of that?

Posted by: Faith on January 20, 2004 08:12 AM

I like this website to play bingo at as it has none of those annoying pop ups that always get in the way when I am doing things. They have a generous signup bonus and very friendly people who like to chat about bingo and life in general. It is a very relaxing atmosphere. I find it easy to make new friends here at Play Cash Bingo Online.

Posted by: Play Cash Bingo Online on January 21, 2004 05:44 PM

http://free-girls-sex-usa.prosexhost.com/index2252.html
http://free-girls-sex-usa.prosexhost.com/index2253.html
http://free-girls-sex-usa.prosexhost.com/index2254.html
http://free-girls-sex-usa.prosexhost.com/index2255.html
http://free-girls-sex-usa.prosexhost.com/index2256.html
http://free-girls-sex-usa.prosexhost.com/index2257.html
http://free-girls-sex-usa.prosexhost.com/index2258.html
http://free-girls-sex-usa.prosexhost.com/index2259.html
http://free-girls-sex-usa.prosexhost.com/index2260.html
http://free-girls-sex-usa.prosexhost.com/index2261.html
http://free-girls-sex-usa.prosexhost.com/index2262.html
http://free-girls-sex-usa.prosexhost.com/index2263.html
http://free-girls-sex-usa.prosexhost.com/index2264.html
http://free-girls-sex-usa.prosexhost.com/index2265.html
http://free-girls-sex-usa.prosexhost.com/index2266.html
http://free-girls-sex-usa.prosexhost.com/index2267.html
http://free-girls-sex-usa.prosexhost.com/index2268.html
http://free-girls-sex-usa.prosexhost.com/index2269.html
http://free-girls-sex-usa.prosexhost.com/index2270.html
http://free-girls-sex-usa.prosexhost.com/index2271.html
http://free-girls-sex-usa.prosexhost.com/index2272.html
http://free-girls-sex-usa.prosexhost.com/index2273.html
http://free-girls-sex-usa.prosexhost.com/index2274.html
http://free-girls-sex-usa.prosexhost.com/index2275.html
http://free-girls-sex-usa.prosexhost.com/index2276.html
http://free-girls-sex-usa.prosexhost.com/index2277.html
http://free-girls-sex-usa.prosexhost.com/index2278.html
http://free-girls-sex-usa.prosexhost.com/index2279.html
http://free-girls-sex-usa.prosexhost.com/index2280.html
http://free-girls-sex-usa.prosexhost.com/index2281.html
http://free-girls-sex-usa.prosexhost.com/index2282.html
http://free-girls-sex-usa.prosexhost.com/index2283.html
http://free-girls-sex-usa.prosexhost.com/index2284.html
http://free-girls-sex-usa.prosexhost.com/index2285.html
http://free-girls-sex-usa.prosexhost.com/index2286.html
http://free-girls-sex-usa.prosexhost.com/index2287.html
http://free-girls-sex-usa.prosexhost.com/index2288.html
http://free-girls-sex-usa.prosexhost.com/index2289.html
http://free-girls-sex-usa.prosexhost.com/index2290.html
http://free-girls-sex-usa.prosexhost.com/index2291.html
http://free-girls-sex-usa.prosexhost.com/index2292.html
http://free-girls-sex-usa.prosexhost.com/index2293.html
http://free-girls-sex-usa.prosexhost.com/index2294.html
http://free-girls-sex-usa.prosexhost.com/index2295.html
http://free-girls-sex-usa.prosexhost.com/index2296.html
http://free-girls-sex-usa.prosexhost.com/index2297.html
http://free-girls-sex-usa.prosexhost.com/index2298.html
http://free-girls-sex-usa.prosexhost.com/index2299.html
http://free-girls-sex-usa.prosexhost.com/index2200.html
http://free-girls-sex-usa.prosexhost.com/index2201.html
http://free-girls-sex-usa.prosexhost.com/index2202.html
http://free-girls-sex-usa.prosexhost.com/index2203.html
http://free-girls-sex-usa.prosexhost.com/index2204.html
http://free-girls-sex-usa.prosexhost.com/index2205.html
http://free-girls-sex-usa.prosexhost.com/index2206.html
http://free-girls-sex-usa.prosexhost.com/index2207.html
http://free-girls-sex-usa.prosexhost.com/index2208.html
http://free-girls-sex-usa.prosexhost.com/index2209.html
http://free-girls-sex-usa.prosexhost.com/index2210.html
http://free-girls-sex-usa.prosexhost.com/index2211.html
http://free-girls-sex-usa.prosexhost.com/index2212.html
http://free-girls-sex-usa.prosexhost.com/index2213.html
http://free-girls-sex-usa.prosexhost.com/index2213.html
http://free-girls-sex-usa.prosexhost.com/index2215.html
http://free-girls-sex-usa.prosexhost.com/index2216.html
http://free-girls-sex-usa.prosexhost.com/index2217.html
http://free-girls-sex-usa.prosexhost.com/index2218.html
http://free-girls-sex-usa.prosexhost.com/index2213.html
http://free-girls-sex-usa.prosexhost.com/index2220.html
http://free-girls-sex-usa.prosexhost.com/index2221.html
http://free-girls-sex-usa.prosexhost.com/index2222.html
http://free-girls-sex-usa.prosexhost.com/index2223.html
http://free-girls-sex-usa.prosexhost.com/index2224.html
http://free-girls-sex-usa.prosexhost.com/index2225.html
http://free-girls-sex-usa.prosexhost.com/index2226.html
http://free-girls-sex-usa.prosexhost.com/index2227.html
http://free-girls-sex-usa.prosexhost.com/index2228.html
http://free-girls-sex-usa.prosexhost.com/index2229.html
http://free-girls-sex-usa.prosexhost.com/index2230.html
http://free-girls-sex-usa.prosexhost.com/index2231.html
http://free-girls-sex-usa.prosexhost.com/index2232.html
http://free-girls-sex-usa.prosexhost.com/index2233.html
http://free-girls-sex-usa.prosexhost.com/index2234.html
http://free-girls-sex-usa.prosexhost.com/index2235.html
http://free-girls-sex-usa.prosexhost.com/index2236.html
http://free-girls-sex-usa.prosexhost.com/index2237.html
http://free-girls-sex-usa.prosexhost.com/index2238.html
http://free-girls-sex-usa.prosexhost.com/index2239.html
http://free-girls-sex-usa.prosexhost.com/index2240.html
http://free-girls-sex-usa.prosexhost.com/index2241.html
http://free-girls-sex-usa.prosexhost.com/index2242.html
http://free-girls-sex-usa.prosexhost.com/index2243.html
http://free-girls-sex-usa.prosexhost.com/index2244.html
http://free-girls-sex-usa.prosexhost.com/index2245.html
http://free-girls-sex-usa.prosexhost.com/index2246.html
http://free-girls-sex-usa.prosexhost.com/index2247.html
http://free-girls-sex-usa.prosexhost.com/index2248.html
http://free-girls-sex-usa.prosexhost.com/index2249.html
http://free-girls-sex-usa.prosexhost.com/index2252.html
http://free-girls-sex-usa.prosexhost.com/index2251.html
http://free-girls-sex-usa.prosexhost.com/index2250.html

Re: Re: <a href=' http://free-girls-sex-usa.prosexhost.com/index2250.html'

Posted by: rgerhgrt on January 24, 2004 04:33 PM
Post a comment