Blank node

Blank node

In RDF, a blank node or anonymous resource or "bnode") is a resource, or node in an RDF graph, which is not identified by a URI. A blank node can be used as subject or object in an RDF triple.

Example

"John has a friend born the 21st of April" can be written with two triples linked by a blank node representing the anonymous friend of John.

ex:John foaf:knows _:p1 _:p1 foaf:birthDate 04-21

The first triple reads "John knows p1". The second triple reads "p1 is born on April 21st"

ex:John is a named resource, which means this resource is absolutely identified by the URI obtained by replacing the ex: prefix by the XML namespace it stands for, such as http://example.org/Person#John.

_:p1 represents John's anonymous friend, not identified by a URI. One can know by the semantics declared in the FOAF vocabulary that the class of _:p1 is foaf:Person.

RDF-XML Notation

In RDF-XML syntax a blank node can be represented by nested elements, such as the following.

If the same blank node is used more that once in the same RDF graph, it can be identified by a rdf:nodeID attribute. This identification is limited to the local graph. For example to express that John and Mary have a common friend, one can write.

Classical use cases

Representation of complex data

A blank node can be used to indirectly attach to a resource a consistent set of properties which together represent a complex data, such as a postal address. The different fields of the complex data are represented as properties attached to the blank node. For example in the RDF VCard vocabulary one will write.

... 111 Lake Drive WonderCity 5555 Australia ...


= Anonymous classes in OWL=

The ontology language OWL uses blank nodes to represent anonymous classes such as unions or intersections of classes, or classes called restrictions, defined by a constraint on a property.

For example to express that a person has at most one birth date, one will define the class "Person" as a subclass of an anonymous class of type "owl:Restriction". This anonymous class is defined by two attributes specifying the constrained property and the constraint itself (cardinality > 1)

1


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Hanne Blank — Infobox Writer name = Hanne Blank imagesize = 180x180px caption = Hanne Blank, by Hanne Blank pseudonym = birthdate = February 25, 1969 birthplace = Northampton, Massachusetts deathdate = deathplace = occupation = historian, writer, editor,… …   Wikipedia

  • Les Blank — (b. 27 November 1935, Tampa, Florida, United States) is an American documentary filmmaker best known for his portraits of American traditional musicians.Blank attended Tulane University in New Orleans, where he received a B.A. in English… …   Wikipedia

  • Tree Diagram — A diagram used in strategic decision making, valuation or probability calculations. The diagram starts at a single node, with branches emanating to additional nodes, which represent mutually exclusive decisions or events. In the diagram below,… …   Investment dictionary

  • RDFLib — Infobox Software name = RDFLib developer = Daniel Krech latest release version = 2.4.0 latest release date = April 4, 2007 operating system = Cross platform genre = Library license = BSD website = [http://rdflib.net/ http://rdflib.net/] RDFLib is …   Wikipedia

  • Resource Description Framework — Infobox file format name = Resource Description Framework icon = logo = extension = .rdf mime = application/rdf+xml type code = uniform type = magic = owner = [http://www.w3.org/ World Wide Web Consortium] genre = semantic web container for =… …   Wikipedia

  • Resource (Web) — The concept of Resource is primitive in the Web architecture, and is used in the definition of its fundamental elements. The term was first introduced to refer to targets of Uniform Resource Locators (URLs), but its definition has been further… …   Wikipedia

  • Nœud anonyme — Ressource anonyme Une ressource anonyme ou nœud anonyme (en anglais blank node ou bnode) est dans le langage RDF, une ressource, ou nœud d un graphe RDF, qui n est pas identifiée par une URI. Une ressource anonyme peut être sujet ou objet d un… …   Wikipédia en Français

  • Ressource anonyme — Une ressource anonyme ou nœud anonyme (en anglais blank node ou bnode) est dans le langage RDF, une ressource, ou nœud d un graphe RDF, qui n est pas identifiée par une URI. Une ressource anonyme peut être sujet ou objet d un triplet RDF.… …   Wikipédia en Français

  • number game — Introduction       any of various puzzles and games that involve aspects of mathematics.       Mathematical recreations comprise puzzles and games that vary from naive amusements to sophisticated problems, some of which have never been solved.… …   Universalium

  • Radix sort — In computer science, radix sort is a sorting algorithm that sorts integers by processing individual digits. Because integers can represent strings of characters (e.g., names or dates) and specially formatted floating point numbers, radix sort is… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”