niyue

Archive for the ‘semanticweb’ Category

语义网技术用例

In semanticweb on 10月 7, 2006 at 9:48 上午

什么时候能够恰如其分的应用语义网技术、什么时候应该应用语义网技术,这一直是个困扰我的问题。John Black给出了他的答案

In cases where the data needed to operate effectively is distributed widely, changes rapidly, and can not or must not be combined in any way that would allow it to be controlled, semantic web technologies are essential. In such circumstances, all of the data needed must be created and maintained by the separate parties involved. But the most valuable results will be obtained by combining it all together, in real time. Problems of this sort are what the semantic web vision addresses.

向一无所知的人解释语义网

In semanticweb on 12月 17, 2005 at 2:58 上午

原文: Semantic Web for Dummies

看到了Andreas Blumauer 的这篇文章,想起来好像原来在bbs.xml.org.cn中看到过谁问过怎么向对语义网没有了解的人解释语义网,这里举的例子不错,翻译给大家分享一下.

有一个很严重的问题:如果某人问你,语义网究竟是用来干嘛的,同时此人又对语义网一无所知,我们可不应该结结巴巴回答不出.

所以我准备了一个小故事,用它来开场是个不错的选择:

“假设你有一个闹钟,它与你的电子日程相连,从而知道你早上的第一个会议是几点开始的.它还可以通过查询你所在城市的公交电子计划知道你所在城市的交通状况.因此,这个小装置能够很轻易的知道什么时候应该在你耳边响起,而你还能够准时到达会议.如果这个语义闹钟还能够知道你所处的睡眠阶段,从而等到合适的时间再将你叫醒,那它就是一个完美的闹钟了”.
这里并不需要你使用像”RSS, ambient intelligence, Web Services, SOAP”等的词组或者术语,但是你还是能够明白,对吗?

未来才刚刚开始: http://www.axbo.com/

SN元数据相关资料

In learningsemanticweb on 8月 18, 2005 at 1:01 下午

稍微看了一些关于现在正兴起使用的社会网络方面的元数据相关的资料,现整理如下:

  1. XFN(Xhtml Friends Network)基于Xhtml的朋友网络
  2. Why Attention.xml Could Change PR Forever
  3. Attention.xml初探

语义网简介

In semanticweb on 7月 9, 2005 at 3:34 下午

语义网简介:

A No-Nonsense Guide to Semantic Web Specs for XML People [Part I]
本文主要的引子是RDF和xml两大阵营对于元数据标注所持的不同观点.不过接下来的解释其实是对语义网Layer Cake的第二层和第三层,也是最重要的两层做了一个简要的介绍,对于入门的读者值得一看.

看完该文后我还想到,现在RSS产生的无数的标准是不是也可以看成是这两个阵营的一个纷争的表现呢,因为RSS 1.0其实是以RDF为数据模型的,而到了RSS 2.0则又走回了0.9x的老路,使用xml schema了.关于RSS的版本的一些信息,可以参见xml.com:What’s RSS?

一天构建语义网

In semanticweb on 7月 2, 2005 at 4:06 下午

一天时间可以构建一个语义Web吗?一般的答案是不行,不过可以看看The Semantic Web in One Day,这里会告诉你是为什么。不是像什么《21天精通Java》之类的夸大,而是类似一种特殊的头脑风暴。和这个有些联系的,今天还看到了另一篇文章,也很有意思。更主要的是讲述的是一种管理学方面的策略吧。Joe Kraus(JotSpot的CEO,也是Excite的创始人之一)写了一篇blog,Keeping Innovation Alive – The Hackathon,介绍了Hackathon这种方法,基本的思想就是让所有的开发者都抽出一天,用这一天的时间专门来实现自己的想法。其实上面的Semantic Web in One Day也是用类似的一种方法,看起来很有吸引力的样子,不过,一天真的来得及实现一个想法吗?

JADE 3.3的bug

In javaprogrammingsemanticweb on 5月 13, 2005 at 9:34 上午

这段在做一个Agent的原型系统,希望能够做成一个rss的搜索引擎.Agent的平台用的是JADE,现在已经出到3.3版了,应该算满成熟了吧,不过我使用的过程中发现似乎还是有bug.在创建Agent容器的时候发生错误:ContainerController containerController = runtime.createAgentContainer(profile);

一直想不出这里为什么会找不到主容器,看了JADE的源代码,发现这里可以把日志输出到文件,仔细看了一下才发现原来是JADE的url的解析似乎有些问题,目录中包含的空格被当作了url的分隔符~,解决方法:将目录中的空格去掉^_^

jade.core.IMTPException: RMI exception [nested RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.net.MalformedURLException: no protocol: 5.5/webapps/agent/WEB-INF/classes/]

RSS自动发现

In semanticweb on 4月 17, 2005 at 1:53 下午

如果你的Blog提供了RSS源

More on RSS discovery

用RSS来整合内容以满足不同的需要

RDF的一些工具集

In semanticweb on 3月 3, 2005 at 4:27 上午

Storing RDF and RDFS in Sesame Repository

In programmingsemanticweb on 2月 7, 2005 at 8:18 上午

Male jeen
Sesame developer

If you store the files in seperate repositories, you will not be able to do queries that return information from both files (since a query is always evaluated against a single repository). On the other hand, if you keep them seperate it is easier to modify one file without disturbing the other.

So it depends on what you want to do. In most cases where querying is involved, putting files in a single repository is the most logical choice though.

Sesame Repository 配置

In semanticweb on 2月 6, 2005 at 1:12 下午

Sesame Repository使用id和title来进行标识,id是Sesame中区repository的唯一标识符,而title则是让人容易识别的一个标
记。Sesame
Repository的配置主要是Sail栈的配置,通过Sail栈的配置,可以对repository的持续层存储、是否进行推理、安全和版本问题等等
进行配置。
Sail栈是一种自顶向下的结构,base sail一共有六种:

  • org.openrdf.sesame.sailimpl.rdbms.RdfRepository:
    an non-inferencing driver for relational database storage.
  • org.openrdf.sesame.sailimpl.omm.versioning.VersioningRdbmsSail:
    an inferencing driver for relational database storage that
    supports change tracking.
  • org.openrdf.sesame.sailimpl.memory.RdfRepository:
    a non-inferencing driver for storage in main memory.
  • org.openrdf.sesame.sailimpl.memory.RdfSchemaRepository:
    an inferencing driver for storage in main memory that support RDF and RDF
    Schema entailment.
  • org.openrdf.sesame.sailimpl.nativerdf.NativeRdfRepository:
    a non-inferencing driver for storage directly on disk.

以上六个base sail中,基于关系数据库的sail有六个参数要进行配置,分别是:

  • jdbcDriver
  • jdbcUrl
  • user
  • password
  • dependency-inferencing
  • commitInterval

基于内存的sail有四个参数要进行配置:

  • file
  • dataFormat
  • compressFile
  • syncDelay

基于native disk的sail有一个参数要进行配置:

  • dir

其中蓝色的参数时必须设置的,而紫红色的参数是可选的。

除了base sail以外,还有一个在base sail层之上构造的sail,org.openrdf.sesame.sailimpl.sync.SyncRdfSchemaRepository。
这一sail不是必要的,但是推荐使用这一sail。这一sail层处理了并发访问的问题,如果没有它的话,Sesame遇到多用户同时访问
repository时可能会以不可预测的方式进行工作。

以上主要参考Sesame 1.1用户手册第四章Advanced repository configuration