Resource description framework technologies in chemistry
© Willighagen and Brändle; licensee Chemistry Central Ltd. 2011
Received: 19 April 2011
Accepted: 13 May 2011
Published: 13 May 2011
The Resource Description Framework (RDF) is providing the life sciences with new standards around data and knowledge management. The uptake in the life sciences is significantly higher than the uptake of the eXtensible Markup Language (XML) and even relational databases, as was recently shown by Splendiani et al.  Chemistry is adopting these methods too. For example, Murray-Rust and co-workers used RDF already in 2004 to distribute news items where chemical structures were embedded using RDF Site Summary 1.0 . Frey implemented a system which would now be referred to as an electronic lab notebook (ELN) . The use of the SPARQL query language goes back to 2007 where it was used in a system to annotate crystal structures .
The goal of the meeting was to make more chemists aware of what the RDF Open Standard has to offer to chemistry. We are delighted to continue this effort with this Thematic Series, for which the speakers (and others) were invited to present their work in more detail to a wider chemistry community. The choice of an Open Access journal follows this goal. At this place, we would like to thank Pfizer, Inc., who had partially funded the article processing charges for this Thematic Series. Pfizer, Inc. has had no input into the content of the publication or the articles themselves. All articles in the series were independently prepared by the authors and were subjected to the journal's standard peer review process.
In the remainder of this editorial, we will briefly outline the various RDF technologies and how they have been used in chemistry so far.
The core RDF specification was introduced by the World Wide Web Consortium (W3C) in 1999  and defines the foundation of the RDF technologies. It has evolved into a set of recommendations by the W3C published in 2004 (See Table 1). RDF specifies a very simple data structure linking a subject to an object or a value (literal) using a predicate. Cheminformaticians will recognize this data structure as an edge from graph theory. This structure allows us to represent facts like "vanillin dissolves in methyl alcohol" . RDF uses Uniform Resource Identifiers (URIs) to identify things. Therefore, the RDF equivalent of the solution statement could be like this so-called triple:
Key W3C Specifications
Resource Description Framework (RDF) Model and Syntax Specification 
RDF/XML Syntax Specification (Revised) 
Resource Description Framework (RDF): Concepts and Abstract Syntax 
OWL Web Ontology Language Overview 
OWL 2 Web Ontology Language Document Overview 
RDFa in XHTML: Syntax and Processing 
SPARQL Query Language for RDF 
Since URIs may be used to reference resources on any server worldwide, RDF triples allow to span a global graph data structure. This is not surprising, since RDF is the core technology behind the proposed Semantic Web . In fact, the Web nature is clear here, as one can follow both the URIs for vanillin and methanol to obtain further information on those two chemicals. These molecules' URIs are said to be dereferencable, allowing agents to spider the Web for information following the hyperlinks, quite like how you follow hyperlinks on websites. Hence, the term Semantic Web.
Recent projects such as Bio2RDF , Chem2Bio2RDF , and OpenTox  have brought genomic, chemical and pharmaceutical knowledge to the Semantic Web by expressing it in RDF. These three projects aim at making databases with chemical knowledge available from a central access point, interlinking the individual data sets. Smaller data sets are also becoming available as RDF, such as the Open Notebook Science Solubility data .
Using these serializations, RDF can be downloaded directly from pure RDF documents (RDF/XML, Notation3), or extracted from RDFa-based web pages using online RDF extraction web services, like http://www.w3.org/2007/08/pyRdfa/ These approaches make it simple to aggregate chemical data from web pages.
3 Querying the World Wide Web
The most promising technology in the RDF family is the SPARQL Protocol and RDF Query Language (SPARQL) , which has been applied by Chen et al. in three chemogenomics use cases . One of the use cases shows how SPARQL queries are used to find compounds that are active in bioassay for genes related to proteins to which the chemical dexamethasone binds, using information from PubChem, Uniprot, and DrugBank, all made available as RDF in the Chem2Bio2RDF database. The other use cases in this paper use the same approach by aggregating data sources before querying them. As such, it is similar to querying data stored in a relational database. However, an important difference between SPARQL and SQL query engines is the underlying data they act on: a graph of triples for RDF data, and rectangular tables in relational databases. This difference implies that RDF resources must have at least some common elements, whereas a relational DBMS assumes an identical data structure for all records of a table.
With RDF we have a data structure to link resources and provide details about those resources, and SPARQL provides us with the tools to query and aggregate that data. The next standard we will discuss now is the Web Ontology Language (OWL) which brought the RDF technology to the ontology community . Ontologies are most certainly not new to chemistry  nor biology or life sciences, but the OWL standard makes it much easier to use ontologies, partly because they are formulated in RDF themselves. Ontologies, like controlled vocabularies and thesauri, describe what things mean, by linking terms to a human-readable definition. As such, ontologies are used for sharing knowledge in a common language, as well as to organize that knowledge. While linking resources is not new either, expressing the content of resources in explicit terms allows humans and software to reason formally on the content and to find possible sources of error. For example, Konyk et al. have used OWL to link PubChem, DrugBank, and DBPedia, noting that it offers new ways to discover knowledge .
There are currently not many ontologies in chemistry, but many OBO Foundry-based ontologies can be reused using an OBO to OWL mapping . This makes available chemical ontologies like the CO ontology , the ontology of Chemical Entities of Biological Interest (ChEBI) [28, 29], and the Chemical Information Ontology http://code.google.com/p/semanticchemistry/, but also other ontologies in the life sciences, such as the Gene Ontology . This way, OWL provides a universal standard to link data sources in life sciences, transcending traditional boundaries between the various domains.
The current state is that different RDF resources are using different ontologies. This does not necessarily have to be a problem, because the ontologies can be explicitly mapped to each other. This way, equivalent terms from two ontologies can be formally defined as equivalent, using the OWL predicates owl:equivalentClass and owl:equivalentProperty for classes, and owl:sameAs for instance. Making the equivalence explicit this way helps to illustrate the provenance of data integration efforts.
This Thematic Series shows the current state of the use of RDF in chemistry, as presented at the ACS RDF 2010 meeting in Boston, and provides an insight into the progress of these methods. Much of the research is currently explorative, rather than formative, though standards are being proposed. It may very well turn out that some aspects of chemistry will never be expressed in RDF, and some computation will be done without ontology-based reasoning. It is important to realize here where RDF is positioned, namely for linking resources.
However, the use of RDF for already well-defined data structures in chemistry is not obvious. Data types like connection tables and various matrices are possible, but the use of URIs makes such structures needlessly verbose. Moreover, there is no need to format already well-formalized data structures into RDF, such as the various uses of matrices in computational chemistry as RDF triples. In fact, several papers in this series outline how to combine knowledge expressed with RDF with computational services. This shows that RDF is not an isolated framework, but one that can be integrated into existing cheminformatics workflows.
What RDF does not solve, are the following issues that remain in cheminformatics. RDF is about knowledge representation, and while ontologies take care of meaning and provide requirements to verify formal data consistency, it does not enforce any data quality, data structure, or data availability. This is, in fact, similar to other ways of providing data. For example, a data set with boiling points may or may not include information about experimental error. Metabolomics data may name the molecules for which concentration profiles have been measured, or the original accurate masses from which the identity was deduced.
It must be clear, therefore, that the RDF technologies are not the solution to everything. Their use does not guarantee an impressive scientific scenario. Instead, it can help simplify data analysis and particularly data integration, making it easier to handle large volumes of data accurately, or at least, with an explicitly defined accuracy.
As such, the use of explicit, semantic formats can be considered a gold standard of scientific practise. It is about adding as much detail to your lab notebook as you need. But, it does not inhibit you from writing nonsense in your notebook.
The future of the use of RDF technologies as open standards in chemistry looks bright, and fills the needs in chemistry for semantically linking chemical data to other data sources. RDF technologies provide a domain-independent way for representing knowledge and their open nature assures many alternative approaches for making data available as RDF. This Thematic Series shows a few novel and creative applications of these RDF technologies, and we hope they may serve as seminal work in cheminformatics for future years.
- Splendiani A, Burger A, Paschke A, Romano P, Marshall M: Biomedical semantics in the Semantic Web. J Biomed Semantics. 2011, 2 (Suppl 1): S1-10.1186/2041-1480-2-S1-S1.View Article
- Murray-Rust P, Rzepa HS, Williamson MJ, Willighagen EL: Chemical markup, XML, and the World Wide Web. 5. Applications of chemical metadata in RSS aggregators. J Chem Inf Comput Sci. 2004, 44 (2): 462-469.View Article
- Frey JG: Dark Lab or Smart Lab: The Challenges for 21st Century Laboratory Software. Org Process Res Dev. 2004, 8 (6): 1024-1035. 10.1021/op049895g.View Article
- Hunter J, Henderson M, Khan I: Collaborative Annotation of 3D Crystallographic Models. J Chem Inf Model. 2007, 47 (6): 2475-2484. 10.1021/ci700173y.View Article
- Wordle. [http://www.wordle.net/]
- Lassila O, Swick RR: Resource Description Framework(RDF) Model and Syntax Specification. 1999, [http://www.w3.org/TR/1999/REC-rdf-syntax-19990222]
- Bradley JC, Neylon C, Guha R, Williams A, Hooker B, Lang ASID, Friesen B, Bohinski T, Bulger D, Federici M, Hale J, Mancinelli J, Mirza KB, Moritz MJ, Rein D, Tchakounte C, Truong HT: Open Notebook Science Challenge: Solubilities of Organic Compounds in Organic Solvents. Nature Precedings. 2010, [http://dx.doi.org/10.1038/npre.2010.4243.2]
- Berners-Lee T, Hendler J, Lassila O: The Semantic Web. Sci Am. 2001, 284 (5): 34-43. 10.1038/scientificamerican0501-34.View Article
- Belleau F, Nolin M, Tourigny N, Rigault P, Morissette J: Bio2RDF: Towards a mashup to build bioinformatics knowledge systems. J Biomed Inf. 2008, 41 (5): 706-716. 10.1016/j.jbi.2008.03.004.View Article
- Chen B, Dong X, Jiao D, Wang H, Zhu Q, Ding Y, Wild D: Chem2Bio2RDF: a semantic framework for linking and data mining chemogenomic and systems chemical biology data. BMC Bioinf. 2010, 11: 255-10.1186/1471-2105-11-255.View Article
- Hardy B, Douglas N, Helma C, Rautenberg M, Jeliazkova N, Jeliazkov V, Nikolova I, Benigni R, Tcheremenskaia O, Kramer S, Girschick T, Buchwald F, Wicker J, Karwath A, Gutlein M, Maunz A, Sarimveis H, Melagraki G, Afantitis A, Sopasakis P, Gallagher D, Poroikov V, Filimonov D, Zakharov A, Lagunin A, Gloriozova T, Novikov S, Skvortsova N, Druzhilovsky D, Chawla S, Ghosh I, Ray S, Patel H, Escher S: Collaborative development of predictive toxicology applications. J Cheminf. 2010, 2: 7-10.1186/1758-2946-2-7.View Article
- Bradley JC, Guha R, Lang A, Lindenbaum P, Neylon C, Williams A, Willighagen EL: Beautifying Data in the Real World, Sebastopol, US: O'Reilly Media, Inc. 2009, chap 16:
- Beckett D: RDF/XML Syntax Specification (Revised). 2004, [http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/]
- Beckett D, Grant J: RDF Test Cases. 2004, [http://www.w3.org/TR/2004/REC-rdf-testcases-20040210/]
- Berners-Lee T: Notation 3 - An readable language for data on the Web. 2006, [http://www.w3.org/DesignIssues/Notation3.html]
- Adida B, Birbeck M, McCarron S, Pemberton S: RDFa in XHTML: Syntax and Processing. 2008, W3C, [http://www.w3.org/TR/2008/REC-rdfa-syntax-20081014/]
- Alexander K: RDF in JSON. Proceedings of the 4th Workshop on Scripting for the Semantic Web, Tenerife, Spain, June 02, 2008, Volume 368 of CEUR Workshop Proceedings. 2008
- Herman I: New RDF Working Group, RDF/JSON, RDF API... 2010, [http://www.w3.org/QA/2010/12/new_rdf_working_group_rdfjson.html]
- Prud'hommeaux E, Seaborne A: SPARQL Query Language for RDF. 2008, [http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/]
- Jankowski O: SPARQL to Chart. 2010, [http://www.pharmash.com/posts/2010-09-27-sparql-to-chart.html]
- Prud'hommeaux E: Federated SPARQL. 2007, [http://www.w3.org/2007/05/SPARQLfed/]
- Cheung KH, Frost HR, Marshall MS, Prud'hommeaux E, Samwald M, Zhao J, Paschke A: A journey to Semantic Web query federation in the life sciences. BMC Bioinf. 2009, 10 (Suppl 10): S10-10.1186/1471-2105-10-S10-S10.View Article
- McGuinness DL, Van Harmelen F: OWL Web Ontology Language Overview. 2004, [http://www.w3.org/TR/2004/REC-owl-features-20040210/]
- Gordon JE: Chemical inference. 3. Formalization of the language of relational chemistry: ontology and algebra. J Chem Inf Comput Sci. 1988, 28 (2): 100-115.View Article
- Konyk M, De Leon A, Dumontier M: Chemical Knowledge for the Semantic Web. J Chem Inf Comput Sci. 2008, 169-176.
- Moreira DA, Musen MA: OBO to OWL: a protege OWL tab to read/save OBO ontologies. Bioinformatics (Oxford, England). 2007, 23 (14): 1868-1870. 10.1093/bioinformatics/btm258.View Article
- Feldman HJ, Dumontier M, Ling S, Haider N, Hogue CWV: CO: A chemical ontology for identification of functional groups and semantic comparison of small molecules. FEBS Lett. 2005, 579 (21): 4685-4691. 10.1016/j.febslet.2005.07.039.View Article
- Degtyarenko K, de Matos P, Ennis M, Hastings J, Zbinden M, McNaught A, Alcántara R, Darsow M, Guedj M, Ashburner M: ChEBI: a database and ontology for chemical entities of biological interest. Nucleic Acids Res. 2008, 36 (suppl 1): D344-D350.
- Hull D: GO faster ChEBI with Reasonable Biochemistry. Nature Precedings. 2008, [http://dx.doi.org/10.1038/npre.2008.2435.1]
- Aranguren M, Bechhofer S, Lord P, Sattler U, Stevens R: Understanding and using the meaning of statements in a bio-ontology: recasting the Gene Ontology in OWL. BMC Bioinf. 2007, 8: 57-10.1186/1471-2105-8-57.View Article
- Wiener H: Structural Determination of Paraffin Boiling Points. J Am Chem Soc. 1947, 69: 17-20. 10.1021/ja01193a005.View Article
- Carroll JJ, Klyne G: Resource Description Framework (RDF): Concepts and Abstract Syntax. 2004, [http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/]
- W3C OWL Working Group: OWL 2 Web Ontology Language Document Overview. 2009, [http://www.w3.org/TR/2009/REC-owl2-overview-20091027/]
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.