RDF 1.1 Primer Abstract This primer is designed to provide the reader with the basic knowledge required to effectively use RDF. It introduces the basic concepts of RDF and shows concrete examples of the use of RDF. Secs. 3-5 can be used as a minimalist introduction into the key elements of RDF. Changes between RDF 1.1 and RDF 1.0 (2004 version) are summarized in a separate document: "What's New in RDF 1.1" [RDF11-NEW]. Status of This Document This section describes the status of this document at the time of its publication. This document is part of the RDF 1.1 document suite. This document was published by the RDF Working Group as a Working Group Note. Publication as a Working Group Note does not imply endorsement by the W3C Membership. This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. Table of Contents 1. The Resource Description Framework (RDF) is a framework for expressing information about resources. 2. 3. 3.1 Triples Example 1: Sample triples (informal) Note
Semantic Annotations for WSDL and XML Schema Abstract This document defines a set of extension attributes for the Web Services Description Language and XML Schema definition language that allows description of additional semantics of WSDL components. The specification defines how semantic annotation is accomplished using references to semantic models, e.g. ontologies. Status of this Document This section describes the status of this document at the time of its publication. This is the W3C Recommendation of the Semantic Annotations for WSDL and XML Schema specification. Feedback on this document is welcome on the public mailing list public-ws-semann-comments@w3.org (public archive). The Working Group released an implementation report and a test suite. This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. Table of Contents
RDF 1.1 Concepts and Abstract Syntax Abstract The Resource Description Framework (RDF) is a framework for representing information in the Web. This document defines an abstract syntax (a data model) which serves to link all RDF-based languages and specifications. The abstract syntax has two key data structures: RDF graphs are sets of subject-predicate-object triples, where the elements may be IRIs, blank nodes, or datatyped literals. Status of This Document This section describes the status of this document at the time of its publication. This document is part of the RDF 1.1 document suite. This document was published by the RDF Working Group as a Recommendation. This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. Table of Contents 1. This section is non-normative. 1.1 Graph-based Data Model Any IRI or literal .
RDF 1.1 Concepts and Abstract Syntax Abstract The Resource Description Framework (RDF) is a framework for representing information in the Web. This document defines an abstract syntax (a data model) which serves to link all RDF-based languages and specifications. Status of This Document This section describes the status of this document at the time of its publication. This document is part of the RDF 1.1 document suite. This document was published by the RDF Working Group as a Recommendation. This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. Table of Contents 1. This section is non-normative. The Resource Description Framework (RDF) is a framework for representing information in the Web. 1.1 Graph-based Data Model There can be three kinds of nodes in an RDF graph: IRIs, literals, and blank nodes. denotes resources
RDF 1.1 Turtle Abstract The Resource Description Framework (RDF) is a general-purpose language for representing information in the Web. This document defines a textual syntax for RDF called Turtle that allows an RDF graph to be completely written in a compact and natural text form, with abbreviations for common usage patterns and datatypes. Turtle provides levels of compatibility with the N-Triples [N-TRIPLES] format as well as the triple pattern syntax of the SPARQL W3C Recommendation. Status of This Document This section describes the status of this document at the time of its publication. This document is a part of the RDF 1.1 document suite. This document was published by the RDF Working Group as a Recommendation. Please see the Working Group's implementation report. This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. Table of Contents 1. This section is non-normative. Example 1
iServe - Data Model The essence of the approach followed by iServe is the use of import mechanisms for a wide range of existing service description formalisms to automatically transform and expose service descriptions as Linked Data. Once transformed, the resulting service descriptions, which we refer to as Linked Services, are expressed in terms of a simple RDFS model, Minimal Service Model (MSM), which essentially captures the intersection of existing service description formalisms so as to smooth away the heterogeneity of services and SWS formalisms. Minimal Service Model In a nutshell, MSM is a simple RDF(S) integration ontology based on the principle of minimal ontological commitment; it captures the maximum common denominator between existing conceptual models for services. Minimal Service Model, denoted by the msm namespace in the Figure below, defines Services which have a number of Operations. Operations in turn have input, output and fault MessageContent descriptions.
RDF 1.1 XML Syntax Status of This Document This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at This document is an edited version of the 2004 RDF XML Syntax Specification Recommendation. This document was published by the RDF Working Group as a Recommendation. This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. 2. This section introduces the RDF/XML syntax, describes how it encodes RDF graphs and explains this with examples. 2.1 Introduction Several RDF/XML examples are given in the following sections building up to complete RDF/XML documents. Example 1 Example 2
RDF 1.1 N-Triples Abstract N-Triples is a line-based, plain text format for encoding an RDF graph. Status of This Document This section describes the status of this document at the time of its publication. Other documents may supersede this document. This document is part of the RDF 1.1 document suite. This document was published by the RDF Working Group as a Recommendation. Please see the Working Group's implementation report. This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. Table of Contents 1. This document defines N-Triples, a concrete syntax for RDF [RDF11-CONCEPTS]. The syntax is a revised version of N-Triples as originally defined in the RDF Test Cases [RDF-TESTCASES] document. An N-Triples document contains no parsing directives. 2. 2.1 Simple Triples 2.2 IRIs 2.3 RDF Literals 3. 4. 5.
RDF 1.1 TriG Abstract This document defines a textual syntax for RDF called TriG that allows an RDF dataset to be completely written in a compact and natural text form, with abbreviations for common usage patterns and datatypes. TriG is an extension of the Turtle [TURTLE] format. Status of This Document This section describes the status of this document at the time of its publication. This document is part of the RDF 1.1 document suite. This document was published by the RDF Working Group as a Recommendation. Please see the Working Group's implementation report. This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. Table of Contents 1. This document defines TriG, a concrete syntax for RDF as defined in the RDF Concepts and Abstract Syntax document [RDF11-CONCEPTS]. 2. 2.1 Triple Statements
RDF 1.1 N-Quads Abstract N-Quads is a line-based, plain text format for encoding an RDF dataset. Status of This Document This section describes the status of this document at the time of its publication. This document is part of the RDF 1.1 document suit. This document was published by the RDF Working Group as a Recommendation. Please see the Working Group's implementation report. This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. Table of Contents 1. This document defines N-Quads, an easy to parse, line-based, concrete syntax for RDF Datasets [RDF11-CONCEPTS]. N-quads statements are a sequence of RDF terms representing the subject, predicate, object and graph label of an RDF Triple and the graph it is part of in a dataset. 2. 2.1 Simple Statements 2.2 IRIs 2.3 RDF Literals 2.4 RDF Blank Nodes
SPARQL 1.1 Overview 1 Introduction SPARQL 1.1 is a set of specifications that provide languages and protocols to query and manipulate RDF graph content on the Web or in an RDF store. The standard comprises the following specifications: 2 SPARQL 1.1 Query Language Assuming the graph data from above is loaded into a SPARQL service (i.e., an HTTP service endpoint that can process SPARQL queries), the SPARQL 1.1 Query Language can be used to formulate queries ranging from simple graph pattern matching to complex queries. Just like in the earlier SPARQL1.0 specification [SPARQL-Query] from 2008, complex queries may include union, optional query parts, and filters; new features like value aggregation, path expressions, nested queries, etc. have been added in SPARQL 1.1. Compared to SPARQL1.0, SPARQL 1.1 adds a number of new features to the query language, including subqueries, value assignment, path expressions, or aggregates - such as COUNT, as used in the above example query - etc. <? ? 4 SPARQL 1.1 Federated Query
SPARQL 1.1 Query Language This section defines the correct behavior for evaluation of graph patterns and solution modifiers, given a query string and an RDF dataset. It does not imply a SPARQL implementation must use the process defined here. The outcome of executing a SPARQL query is defined by a series of steps, starting from the SPARQL query as a string, turning that string into an abstract syntax form, then turning the abstract syntax into a SPARQL abstract query comprising operators from the SPARQL algebra. This abstract query is then evaluated on an RDF dataset. 18.2 Translation to the SPARQL Algebra This section defines the process of converting graph patterns and solution modifiers in a SPARQL query string into a SPARQL algebra expression. The SPARQL query string is parsed and the abbreviations for IRIs and triple patterns given in section 4 are applied. The result of converting such an abstract syntax tree is a SPARQL query that uses the following symbols in the SPARQL algebra: 18.2.1 Variable Scope Notes: ?