TDBを使う22010-03-05 23:19:20

URLから直接RDFを読み込む.

import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.RDFWriter;
import com.hp.hpl.jena.tdb.TDBFactory;

public class TDBEx002 {
public static void main(String[] args) {
		String assemblerFile = "Store/tdb-assembler.ttl";
		Model model = TDBFactory.assembleModel(assemblerFile);
		// URLから直接RDFを読み込める.
		String strURL = "http://api.flickr.com/services/feeds/geo/?id=7950417@N07&lang=en-us&format=rdf";
		model.read(strURL);

		// リソースを画面に表示する.
		RDFWriter writer = model.getWriter("RDF/XML-ABBREV");
		writer.setProperty("showXMLDeclaration", "true");
		writer.write(model, System.out, "");

		model.close();

	}

}

コメント

_ What Causes Foot Pain ― 2015-06-21 03:28:14

Great blog! Do you have any helpful hints for aspiring writers? I'm hoping to start my own blog soon but I'm a little lost on everything. Would you suggest starting with a free platform like Wordpress or go for a paid option? There are so many choices out there that I'm totally overwhelmed .. Any suggestions? Cheers!

_ Ball Of Foot Pain causes ― 2015-06-21 21:18:22

It's the best time to make some plans for the longer term and it is time to be happy. I've read this post and if I could I desire to recommend you some fascinating issues or suggestions. Perhaps you could write subsequent articles referring to this article. I want to read more things about it!

_ metatarsalgiaHuman Height ― 2015-06-28 06:48:49

This design is steller! You certainly know how to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost...HaHa!) Wonderful job. I really enjoyed what you had to say, and more than that, how you presented it. Too cool!

_ Bones Of The Foot ― 2015-06-29 19:55:28

Every weekend i used to pay a visit this site, as i want enjoyment, as this this web page conations genuinely good funny information too.

_ Height Growth Plus ― 2015-07-01 13:44:39

Howdy! Do you know if they make any plugins to safeguard against hackers? I'm kinda paranoid about losing everything I've worked hard on. Any recommendations?

_ Ball Of Foot Pain symptoms ― 2015-07-02 07:22:59

Very nice article, just what I needed.

_ Shin Pain causes ― 2015-07-04 07:48:51

My brother suggested I might like this website. He was entirely right. This post actually made my day. You can not imagine simply how much time I had spent for this info! Thanks!

_ Shin Pain ― 2015-07-05 12:32:47

Hi, I do believe this is an excellent blog. I stumbledupon it ;) I am going to return once again since I saved as a favorite it. Money and freedom is the best way to change, may you be rich and continue to guide others.

_ Mortons Neuroma ― 2015-07-19 12:02:56

Right away I am going away to do my breakfast, after having my breakfast coming over again to read additional news.

_ How To Grow Taller ― 2015-08-22 03:58:07

Thanks for finally writing about >TDBを使う2: 日々精進 <Loved it!

_ Heel Pain ― 2015-08-23 00:30:17

Nice post. I was checking constantly this blog and I'm impressed! Very useful information specifically the last part :) I care for such information much. I was seeking this certain information for a long time. Thank you and good luck.

_ Insoles For High Arch ― 2015-08-24 22:09:50

Aw, this was an exceptionally nice post. Taking the time and actual effort to produce a superb article� but what can I say� I put things off a lot and don't seem to get anything done.

_ Height Exercise ― 2015-08-25 02:50:55

Thanks for ones marvelous posting! I definitely enjoyed reading it, you happen to be a great author.I will be sure to bookmark your blog and may come back very soon. I want to encourage one to continue your great work, have a nice afternoon!

_ Look Taller ― 2015-08-26 02:27:44

Ahaa, its pleasant dialogue concerning this piece of writing here at this blog, I have read all that, so at this time me also commenting here.

_ quest bars ― 2015-08-30 20:34:58

Hi! I could have sworn I've visited your blog before but after going through a few of the articles I realized it's new to me. Regardless, I'm definitely pleased I discovered it and I'll be bookmarking it and checking back frequently!

_ quest bars ― 2015-08-31 10:52:45

It's hard to come by educated people on this topic, however, you seem like you know what you're talking about! Thanks

_ quest bars ― 2015-08-31 20:44:29

Awesome article.

_ quest bars ― 2015-09-01 08:43:38

Hello, just wanted to tell you, I loved this post. It was inspiring. Keep on posting!

_ quest bars ― 2015-09-01 20:18:07

I feel this is one of the such a lot significant info for me. And i'm satisfied studying your article. However should commentary on few common things, The website style is ideal, the articles is actually nice : D. Good activity, cheers

_ Match.com Free Trial ― 2015-09-29 10:22:25

We're a group of volunteers and starting a new scheme in our community. Your site offered us with valuable information to work on. You have done a formidable job and our entire community will be thankful to you.

_ Pof Edmonton Login ― 2015-10-17 22:57:30

Saved as a favorite, I really like your website!

_ plenty of fish dating site of free dating ― 2015-11-06 07:42:47

Hi there! I could have sworn I&#39;ve been to this website before but after reading through some of the post I realized it&#39;s new to
me. Anyhow, I&#39;m definitely delighted I found it and I&#39;ll be bookmarking
and checking back often!

_ plenty of fish dating site of free dating ― 2015-11-07 02:42:01

Hello there, I believe your web site may be having browser compatibility issues.

When I look at your blog in Safari, it looks
fine however, if opening in I.E., it&#39;s got some
overlapping issues. I merely wanted to provide you
with a quick heads up! Apart from that,
wonderful blog!

_ plenty of fish dating site of free dating ― 2015-11-07 15:05:36

Your method of explaining all in this post is truly pleasant, every
one be capable of simply know it, Thanks a lot.

_ match.com free trial ― 2015-11-08 18:09:20

Thanks on your marvelous posting! I genuinely enjoyed reading it, you
could be a great author. I will be sure to bookmark your blog and may
come back someday. I want to encourage you to continue your great posts,
have a nice evening!

_ justin bieber dating ― 2015-11-09 10:00:41

It is really a great and useful piece of information. I am glad that
you shared this useful information with us. Please stay us informed
like this. Thank you for sharing.

_ krogerfeedback.com ― 2015-11-11 18:57:36

I visited multiple sites however the audio quality for audio songs
current at this web site is in fact marvelous.

_ krogerfeedback.com ― 2015-11-12 15:18:00

I am really enjoying the theme/design of your blog.
Do you ever run into any browser compatibility problems? A number of
my blog visitors have complained about my blog not operating
correctly in Explorer but looks great in Safari. Do you
have any tips to help fix this problem?

_ quest bar ― 2015-11-18 03:43:48

Heya i&#39;m for the primary time here. I came across this board and I
find It truly helpful &amp; it helped me out much. I hope to present something again and help others like you helped me.

_ krogerfeedback.com ― 2015-12-06 14:32:44

Thanks very interesting blog!

_ shoe lifts ― 2016-09-14 22:29:06

Greᥱtings! This is my first comment here so І just wanted to
giѵe a quick shout ouut ɑnnd tell уou Ӏ genuinely
enjoy reading уour posts. Can you ѕᥙggest any other blogѕ/websіtes/forums that deal wigҺ the ssame topics?
Ꭺppreciate it!

_ BHW ― 2017-04-12 18:49:28

Hi there! I could have sworn I&#39;ve been to this site before but after reading through some of the
post I realized it&#39;s new to me. Nonetheless, I&#39;m definitely delighted I
found it and I&#39;ll be book-marking and checking back frequently!

_ BHW ― 2017-04-16 18:13:29

Hmm is anyone else having problems with the pictures on this blog loading?
I&#39;m trying to determine if its a problem on my end or if it&#39;s
the blog. Any suggestions would be greatly appreciated.

_ seo vancouver ― 2018-06-04 15:58:29

wow, awesome article.Really looking forward to read more. Great.

_ sex toys manhattan ― 2018-06-04 17:53:00

this excellent applying. After my best spouse in addition to i dugg an variety of individuals post while cogitated everybody were thinking regarding useful practical

_ sex toys for men ― 2018-06-04 19:48:35

ppi claims What as the best way to copyright a website and all its contents? Copyright poetry?

_ sex toys ― 2018-06-04 21:41:47

Wow! Thank you! I always wanted to write on my site something like that. Can I include a portion of your post to my blog?

_ sex toys ― 2018-06-04 23:38:17

Wow, great article post.Much thanks again. Want more.

_ lingerie ― 2018-06-05 01:32:30

Im thankful for the post.Much thanks again. Great.

_ lingerie nyc ― 2018-06-05 03:25:47

Im grateful for the blog article. Awesome.

_ nyc lingerie ― 2018-06-05 05:21:21

Thanks for the post.Really thank you! Really Cool.

_ nyc sex toys ― 2018-06-05 07:16:26

Nice blog here! Also your site loads up very fast! What host are you using? Can I get your affiliate link to your host? I wish my site loaded up as quickly as yours lol

_ seo vancouver ― 2018-06-05 09:10:12

We stumbled over here by a different page and thought I might check things out. I like what I see so now i am following you. Look forward to looking at your web page for a second time.

_ Vancouver Dispensary ― 2018-06-05 11:04:26

Wir freuen uns auf Ihren Anruf oder Ihren Besuch.

_ Dispensary Vancouver ― 2018-06-05 12:57:02

That is a great tip especially to those fresh to the blogosphere. Brief but very accurate info Many thanks for sharing this one. A must read article!

_ Dispensary ― 2018-06-05 14:50:15

Thanks for sharing, this is a fantastic article.Much thanks again. Awesome.

_ Dispensary BC ― 2018-06-05 16:42:47

Really appreciate you sharing this article post. Will read on

_ dispensary vancouver bc ― 2018-06-05 18:36:41

The new Zune browser is surprisingly good, but not as good as the iPod as. It works well, but isn at as fast as Safari, and has a clunkier interface.

_ bc dispensary ― 2018-06-05 20:32:41

Its hard to find good help I am regularly proclaiming that its difficult to procure quality help, but here is

_ N&#226;ng Mu&#771;i Ha&#768;n Qu&#244;&#769;c ― 2018-06-06 00:37:58

This site is the greatest. You have a new fan! I can at wait for the next update, bookmarked!

※コメントの受付件数を超えているため、この記事にコメントすることができません。

トラックバック

このエントリのトラックバックURL: http://mhrz.asablo.jp/blog/2010/03/05/4925470/tb