Reprinted from http://www.cnblogs.com/yuyd902/archive/2008/10/08/1306647.html
This article is a translation of "An Introduction to RDF and the Jena rdf api", which is annotated in appropriate places. Some Code provides jruby implementation.
PrefaceThis article is a tutorial on W3C Resource Description Framework (RDF) and Jena (a Java
RDF defines a special type of resource to represent a collection of things. These resources are called containers. A container can be a resource or text member. There are three types of containers:
A bag is an unordered set.An ALT is an unordered set used to indicate the standby options.A seq is an ordered set.
A container is represented by a resource. The resource has
set. That is, three common set operations: Sum, intersection, and difference.
The merge operation of the two models is to represent and operate the statement set of the two models. This is one of the key operations supported by the RDF design. This operation allows you to merge separated data sources. Consider the following two models:
When they are merged, the two http://...JohnSmith will be merged into one, the duplicate vCard: FN arrow will be
Sesame: a generic architecture for storing and querying RDF and RDF Schema
the Semantic Web-iswc, Springer
J broekstra, A kampman, f Van Harmelen
of this article.
If you Have any Content, you can combine the Have Content, Will Syndicate)
From the very beginning -- what is RSS?
RSS (RDF Site Summary) is a format first designed by Netscape to distribute the description of content on its portal My. Netscape. Com. Since it was proposed in 1997, there have been ups and downs-you can click the link at the end of the article to learn about the long and complex history of RSS. The current stable v
echo "$item ["title"]. "}}?>Each time you reload the above script, the corresponding RDF file is taken from a specific location, and after analysis, it is displayed in the required format.If your site has a high volume of traffic, you may find our hard work meaningless, especially if the RDF data is not being updated as quickly. In this case, perhaps it would be wise to explore the local caching of
2.5 XP install
3.1 Firefox extension Structure
3.2 extended Installation Process
3.3 Analysis of the XP install Module
3.4 analysis of the rdf Module
3.5 extended Startup Process
4.1 difficulties in Analysis
4.2 analysis gains
I am too lazy to organize the following figure. Upload a PDF file directly. If you are interested, check it out. I
Both the Semantic Web (SemanticWeb) and the Semantic Grid (SemanticGrid) technologies depend on the flexible description language, ResourceDescriptionFramework (RDF. The RDF format is actually a member of a standard family. It is used to describe information and resources, making it easy for the system to connect and associate different resources. RDF is another
web| Insert | Site free lunch (A lunch)
The class I wrote above is also very basic, is to illustrate the problem, perhaps also can be used for low traffic site. If you're looking for something more professional, go online, there are many open source RDF parsers with a variety of additional features (including caching). So let's look at some examples of how to use these analyzers.
The first one to talk about is the
Login | FAQ
Storing RDF data into hbase?
What wocould be the best way for storing and quering RDF data (triples or quads) using hbase?Update:I 've just found this:
Unfortunately, the .tar.gz has been removed from the utdallas.edu website.RDF triplestore hbase que
Ontology comes from philosophical Vocabulary: Ontology (also translated into ontology ). RDF is a good way to describe Ontology. we can define the knowledge of a domain based on our understanding of the real world. However, RDF and RDF cannot define synonyms, antonyms, and relationships between descriptive words (relationships between classes and classes), such a
Java developers are fortunate because they can use a good RDF framework in Jena. Jena provides an API for writing and reading RDF that can be saved and persisted in a variety of ways.
Jena's design goal is to handle the RDF data model well, just as JDBC is suitable for dealing with relational models. A large amount of code written in a database application is us
A Semantic Web is a data network that allows data to be shared, not just bound by applications.
However, semantic networks not only put data on the Internet, but also try to connect the data and generate the connection between the data and the real thing, so that people and machines can read and understand the data.
The Semantic Web isn't just about putting data on the web. It is about making links, so that a person or machine can have e the web of data.
-- Linked Data Design Issue
The semantic web is a network of data that allows data to be shared, not just by application constraints.
But the semantic web is not just about putting data on the internet, but about trying to connect it and generating data that is connected to real things so that people and machines can read and understand the data.
The semantic web isn ' t just about putting data on the web. It is about making links, so this a person or machine can explore the web of data.
--linked Data Design
RDF is the abbreviation of Resource description framework, that is, the Resource Description Framework.
RDF is an XML application that processes metadata. The so-called metadata is "data describing data" or "information describing information ". It may be difficult to understand the metadata. For example, the content of a book is the data of a book, and the author's name, publisher's address, or copyright i
Download an rdf api for PHP and decompress it to the directory.
This instance outputs the existing RDF file ..
My directory contains example1.rdf
The content is as follows:
XML: base = "http://www.w3.org/Home/Lassila.rdf"Xmlns:
An RDF graph can be written in the following way:1 All blank nodes are assigned blank node identifiers.Blank node identifiers are specified for all blank nodes ).2 each node is listed in turn as the subject of an un-nested RDF: Description element, using an RDF: About attribute if the node has a uriref,
Or an RDF: nod
web| Insert | Site reputation and great wealth
Imagine a site that gets the latest news from the hottest portal site. Stock prices, weather information, news stories, thread discussion groups, software releases ... All of this will be dynamically updated once per hour without any manual intervention. We can imagine this attendant site traffic, a steady stream of advertising revenue and the "flattery" of the adult administrator.
But now, stop fantasizing and start reading, because as long as yo
The Resource Description Framework (RDF) is a basic ontology description language. It provides a common data model that allows you to describe web resources.
• Resources: All things named on the web and referenced by Uris
• Description: a declaration of the resource features, including the attributes of the resource and the relationship between the resources• Framework: a general model unrelated to the resources to be described and their fields. In fa
distinguish between different types of nodes (elements, attributes, character data, annotations, etc.), and make it possible to perform different actions depending on the node type and node depth of the document tree.
Sax and Dom parsers support almost every language, including your favorite--php. I'll use PHP's SAX parser to deal with RDF examples in this article. Of course, it's also easy to use a DOM parser.
Let's take a look at this simple exam
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.